@if (!count($dailyReport))

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

@else

@lang("content.list")

@php $i = 0 @endphp @foreach(/**@var App\Classes\Staff\Report\FlightStaffHours $dailyReport */ $dailyReport["data"] as $flightId => $each) @php $depDate = getFlightDepartureDate($each->flight) @endphp @php $depType = getFlightDepartureTimeType($each->flight, true) @endphp @php $depInitDate = getFlightDepartureInitialDate($each->flight) @endphp @php $depInitialType = getFlightDepartureInitialTimeType($each->flight) @endphp @php $arrDate = getFlightArrivalDate($each->flight) @endphp @php $arrType = getFlightArrivalTimeType($each->flight, true) @endphp @php $arrInitDate = getFlightArrivalInitialDate($each->flight) @endphp @php $arrInitialType = getFlightArrivalInitialTimeType($each->flight) @endphp @php $depSpan = departureArrivalTypeSpan($depType, null) @endphp @php $depInitialSpan = departureArrivalTypeSpan($depInitialType, null) @endphp @php $arrSpan = departureArrivalTypeSpan($arrType, null) @endphp @php $arrInitialSpan = departureArrivalTypeSpan($arrInitialType, null) @endphp @php $flightNumber = $each->flight->flightNumber @endphp @php $airline = $flightNumber ? $flightNumber->airline : null @endphp @php $route = $flightNumber ? getSector($flightNumber) : null @endphp @foreach(/**@var App\Classes\Staff\Report\StaffHours $staffHours */ $each->staffList as $staffHours) @php $user = $staffHours->user @endphp @php $service = $staffHours->service @endphp @php $serviceType = $staffHours->serviceType @endphp @if ($serviceType == ARRIVAL_SERVICE) @elseif ($serviceType == DEPARTURE_SERVICE) @elseif ($serviceType == TURNAROUND_SERVICE) @endif @php $excessClass = actualTimeAccess($staffHours->pTotalTime, $staffHours->totalTime) @endphp @endforeach @endforeach @php $obj = $airlineHours["total"] @endphp @php $excessClass = actualTimeAccess($obj->pTotalTime, $obj->totalTime) @endphp {{-- --}} {{----}} {{-- --}} {{----}}
No @lang("content.airline") @lang("content.flight_number") @lang("content.sector") @lang("content.service_type") @lang("content.type") @lang("content.date_time") @lang("content.type") @lang("content.date_time") @lang("content.staff_number") @lang("content.first_name") @lang("content.last_name") @lang("content.position") @lang("content.base") @lang("content.service") @lang("content.start_date_time") @lang("content.release_date_time") @lang("content.duration") RMKS
PLN ACT PLN ACT PLN ACT
{{ ++$i }} id") }}"> picture}") }}" height="30"/> {{ ($flightNumber ? getAirlineCode($airline)."-".$flightNumber->flight_number : "-") }} {{ ($route ? " (".$route.")" : "" ) }} {{ ARRIVAL }} {!! $arrInitialSpan !!} {{ $arrInitDate ? baseDateFormat($arrInitDate, true) : "" }} {!! $arrSpan !!} {{ baseDateFormat($arrDate, true) }}{{ DEPARTURE }} {!! $depInitialSpan !!} {{ $depInitDate ? baseDateFormat($depInitDate, true) : ""}} {!! $depSpan !!} {{ baseDateFormat($depDate, true) }}{{ TURNAROUND }} {!! $depInitialSpan !!} {{ $depInitDate ? baseDateFormat($depInitDate, true) : ""}} {!! $depSpan !!} {{ baseDateFormat($depDate, true) }}{{ $user->staff_number }} id}/edit?s=".rand(100, 999)) }}">{{ $user->first_name }} id}/edit?s=".rand(100, 999)) }}">{{ $user->last_name }} {{ getUserPositionName($user) }} {{ \App\Models\User::getStation($user) }} {{ $service->abbr }} {{ baseDateFormat($staffHours->pReportTime, true) }} {{ $staffHours->reportTime ? baseDateFormat($staffHours->reportTime, true) : "-" }} {{ baseDateFormat($staffHours->pReleaseTime, true) }} {{ $staffHours->releaseTime ? baseDateFormat($staffHours->releaseTime, true) : "-" }} {{ $staffHours->pTotalTime ? $staffHours->pTotalTime : "-" }} {{ $staffHours->totalTime ? $staffHours->totalTime : "-" }} {{ $staffHours->reason }}
@lang("content.total") PLN{{ $obj->pTotalTime ? $obj->pTotalTime : "-" }}{!! $obj->totalSalary ? " ".$obj->totalSalary : "-" !!}ACT {{ $obj->totalTime ? $obj->totalTime : "-" }}{!! $obj->totalSalary ? " ".$obj->totalSalary : "-" !!}
@endif