@lang("content.list")

@if (isset($data) && count($data)) @php $j = 0 @endphp @foreach($data as $each) @php $flight = $each->flight @endphp @php $flightNumber = $flight ? $flight->flightNumber : null @endphp @php $depAirport = $flightNumber ? $flightNumber->departureAirport : null @endphp @php $arrAirport = $flightNumber ? $flightNumber->arrivalAirport : null @endphp @php $airline = $flightNumber ? $flightNumber->airline : null @endphp @php $fltNo = ($airline ? getAirlineCode($airline) : "").($flightNumber ? $flightNumber->flight_number : "-") @endphp @php $sector = ($depAirport ? $depAirport->iata : "")."-".($arrAirport ? $arrAirport->iata : "") @endphp @foreach($each->flightContainer as $flightContainer) @php $container = $flightContainer->container @endphp @php $type = $container ? $container->type : null @endphp @php $containerID = $container ? ($type ? $type->name : "").$container->num.$container->owner : "-" @endphp @php $status = getFlightsDepArrType($flight, $handlingStations) @endphp @endforeach @endforeach
No @lang("content.flight_details") @lang("content.container_details")
@lang("content.status") @lang("content.flight_number") @lang("content.sector") @lang("content.date") ID @lang("content.type") @lang("content.owner")
{{ ++$j }} {!! $status == ARRIVAL ? ' IN' : 'OUT ' !!} {{ $fltNo }} {{ $sector }} {{ $flight ? baseDateFormat(getFlightDepartureDate($flight)) : "-" }} @if ($container) id}?dateSearch=all" }}">{{ $containerID }} @else {{ $containerID }} @endif {{ $type ? $type->name : "-" }} {{ $container ? $container->owner : "-" }}
@endif