@php $excludeLogo = isset($excludeLogo) && $excludeLogo ? $excludeLogo : false @endphp @php $airline = $flight->flightNumber->airline @endphp @if (!$excludeLogo) @endif @php $capacity = getFlightCapacity4Cab($flight) @endphp @php $booked = getFlightBookedPax4Cab($flight) @endphp @php $loadFactor = getFlightLoadFactor($flight) @endphp @php $gateAgents = $flightCom ? ($flightCom->gate_staff ? explode("/", $flightCom->gate_staff) : []) : [] @endphp @php $ckinStaff = getStaffListBySLA($flight->staffList, "CKIN") @endphp @php $gateStaff = getStaffListBySLA($flight->staffList, "GATE") @endphp @php $trcStaff = getStaffListBySLA($flight->staffList, "TRC") @endphp @php $totalOnBoard = getFlightActualPaxTotal($flight); @endphp @if ($pts) @for($i = 1; $i <= 6; $i++) @if ($item = $pts->{"denied_boarding".$i}) @endif @endfor @endif
@if ($airline) @endif
FLIGHT HANDLING REPORT
FLIGHT INFORMATION
DATE FLT No A/C Type A/C REG ROUTE
{{ baseDateFormat(getFlightDepartureDate($flight, true), false, ".") }} {{ getFlightNumber($flight, "") }} {{ getFlightAircraftType($flight) }} {{ getFlightAircraft($flight) }} {{ getFlightSector($flight) }}
CONFIG L/F BOOKED BOARDING GATE ARRIVAL ATA STD
@if ($capacity["a"])F{{ $capacity["a"] }}@endif @if ($capacity["c"])C{{ $capacity["c"] }}@endif @if ($capacity["w"])R{{ $capacity["w"] }}@endif Y{{ $capacity["y"] ? $capacity["y"] : "" }} {{ $loadFactor ? $loadFactor : "" }}% @if ($booked["a"])F{{ $booked["a"] }}@endif @if ($booked["c"])C{{ $booked["c"] }}@endif @if ($booked["w"])R{{ $booked["w"] }}@endif Y{{ $booked["y"] ? $booked["y"] : "" }} {{ $flight->gate_boarding }} @if ($flight->flightParent && $flight->flightParent->ata && $flight->flightParent->ata != EMPTY_DATETIME) {{ baseDateFormat($flight->flightParent->ata, true, ".") }} @endif {{ baseDateFormat($flight->std, true, ".") }}
CHECK-IN AGENTS GATE AGENT-1 GATE AGENT-2 TRC
@if (count($ckinStaff)) {{ implode(", ", $ckinStaff) }} @else {{ $flightCom ? $flightCom->ckin_staff : "" }} @endif {{ isset($gateStaff[0]) ? $gateStaff[0] : (isset($gateAgents[0]) ? $gateAgents[0] : "") }} {{ isset($gateStaff[1]) ? $gateStaff[1] : (isset($gateAgents[1]) ? $gateAgents[1] : "") }} @if (count($trcStaff)) {{ implode(", ", $trcStaff) }} @else {{ $flightCom ? $flightCom->trc : "" }} @endif
BOARDING
GATE OPEN CREW AT GATE BOARDING START TIME
{{ $pts ? baseTimeFormat($pts->gate_open) : "" }} {{ $pts ? baseTimeFormat($pts->crew_at_gate) : "" }} {{ $pts ? baseTimeFormat($pts->boarding_start_time) : "" }}
1ST PAX BOARDED AT GATE LAST PAX BOARDED AT GATE 1ST PAX ON-BOARD LAST PAX ON-BOARD GATE SPVR
{{ $pts ? baseTimeFormat($pts->first_pax_boarded) : "" }} {{ $pts ? baseTimeFormat($pts->last_pax_boarded) : "" }} {{ $pts ? baseTimeFormat($pts->board_pax) : "" }} {{ $pts ? baseTimeFormat($pts->all_pax_onboard) : "" }} {{ $flightCom ? $flightCom->gate_spvr : "" }}
RAMP
1ST BAG LOADED LAST BAG LOADED BAG SEARCH STARTED BAG SEARCH FINISHED
{{ $pts ? baseTimeFormat($pts->first_bag_loaded) : "" }} {{ $pts ? baseTimeFormat($pts->last_bag_loaded) : "" }} {{ $pts ? baseTimeFormat($pts->bag_search_started) : "" }} {{ $pts ? baseTimeFormat($pts->bag_search_finished) : "" }}
CLEANING STARTED CLEANING FINISHED FUELLING STARTED FUELLING FINISHED
{{ $pts ? baseTimeFormat($pts->cleaners_onboard) : "" }} {{ $pts ? baseTimeFormat($pts->cleaners_off) : "" }} {{ $pts ? baseTimeFormat($pts->fuelling_started) : "" }} {{ $pts ? baseTimeFormat($pts->fuelling_finished) : "" }}
FINALS
ACCEPTED PAX TTL ON-BOARD TTL BAGS ON-BOARD SPECIALS (PRM/WEAP/CBBG) ETC
{{ $pts ? $pts->accepted_pax : "" }} {{ $totalOnBoard ? $totalOnBoard : "" }} {{ $flight->baggage_pcs }} {{ $flightCom ? $flightCom->specials : "" }}
DCT ATD RTG Delay code and time
{{ $pts ? baseTimeFormat($pts->all_doors_closed) : "" }} @if ($flight->atd && $flight->atd != EMPTY_DATETIME) {{ baseDateFormat($flight->atd, true, ".") }} @endif {{ $pts ? baseTimeFormat($pts->rtg) : "" }} @if ($flight->delaysString && count($flight->delaysString)) @foreach($flight->delaysString as $each) {{ $each }} | @endforeach @endif
FEEDBACK - CHECK-IN / GATE / RAMP
MISSED ARTG -5 EXPLAINATION {{ $pts ? $pts->missed_artg : "" }}
DELAY EXPLAINATION {{ $pts ? $pts->delay : "" }}
CHECK-IN / TKTG ISSUES {{ $pts ? $pts->ckn : "" }}
RAMP/ CREW / DISRUPTIVE PAX ETC {{ $pts ? $pts->ramp : "" }}
SAFETY / SECURITY / SYSTEM ISSUES {{ $pts ? $pts->safety : "" }}
OTHER {{ $pts ? $pts->other : "" }}
INVOL DENIED BOARDING
{{ $pts ? $pts->{"denied_boarding".$i} : "" }}