@lang("content.list")

@if (isset($data) && count($data)) @php $j = 0 @endphp @foreach($data as $each) @php $info = $each->info @endphp @php $flight = $info ? $info->flight : null @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 @php $container = $each->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
No @lang("content.flight_details") @lang("content.container_details") CPT @lang("content.position") @lang("content.weight"), KGs @lang("content.content") VR
@lang("content.status") @lang("content.flight_number") @lang("content.sector") @lang("content.date") ID @lang("content.type") @lang("content.owner") @lang("content.status")
{{ ++$j }} {!! $status == ARRIVAL ? ' IN' : 'OUT ' !!} {{ $fltNo }} {{ $sector }} {{ $flight ? baseDateFormat(getFlightDepartureDate($flight)) : "-" }} {{ $containerID }} {{ $type ? $type->name : "-" }} {{ $container ? $container->owner : "-" }} {!! $each->container_matched ? 'Matched' : "" !!} {{ $each->row_number ? substr($each->row_number, 0, 1) : "-" }} {{ $each->row_number.$each->position }} {{ $each->weight }} {{ $each->loaded_type }} {{ $each->vr }}
@endif