@if (!count($airlineHours))

@lang("content.found") 0 @lang("content.records")

@else

@lang("content.list")

{{-- --}} {{-- --}} {{----}} {{----}} {{----}} {{----}} @php $prevAirline = null @endphp @php $colspan = (count($periodUnique) + 2) * 2 + 1 @endphp @php $i = 0 @endphp @foreach($flightHours["data"] as $flightNumberId => $flights) @foreach($flights as $id => $each) @php $flightNumber = $each->staffFlight->flightNumber @endphp @php $airline = $each->staffFlight->airline @endphp @php $differentAirline = $airline != $prevAirline @endphp @php $prevAirline = $airline @endphp @php $flight = $each->staffFlight->flight @endphp @php $route = $each->staffFlight->route @endphp @php $dep = getFlightDepartureDate($flight) @endphp @php $depDate = $each->staffFlight->departureDate @endphp {{-- @include("staff-report.layouts.flight-row", ["i" => ++$i, "each" => $each, 'colspan' => $colspan, 'differentAirline' => $differentAirline, 'flightNumber' => $flightNumber, 'airline' => $airline])--}} @php $excessClass = actualTimeAccess($each->pTotalTime, $each->totalTime) @endphp @endforeach @endforeach {{-- @include("staff-report.layouts.flight-row", ["each" => $flightHours["total"], "total" => true])--}} @php $excessClass = actualTimeAccess($flightHours["total"]->pTotalTime, $flightHours["total"]->totalTime) @endphp
No @lang("content.flight_number") STD ATD@lang("content.departure")@lang("content.type")@lang("content.planned_hours") @lang("content.actual_hours")
HoursCost
{{ ++$i }} id}") }}"> {{ $flightNumber ? getAirlineCode($airline)."-".$flightNumber->flight_number.($route ? " (".$route.")" : "" ) : "-" }} {{ baseDateFormat($flight->std, true) }} {{ $flight->atd ? baseDateFormat($flight->atd, true) : "-" }}{{ $each->pTotalTime ? $each->pTotalTime : "-" }} {{ $each->totalTime ? $each->totalTime : "-" }}
@lang("content.total"){{ $flightHours["total"]->pTotalTime ? $flightHours["total"]->pTotalTime : "-" }} {{ $flightHours["total"]->totalTime ? $flightHours["total"]->totalTime : "-" }}
@endif