@if (!count($airlineHours))

@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 @php $serviceType = $each->serviceType @endphp @foreach(/**@var App\Classes\Staff\Report\StaffHours $staffHours */ $each->staffList as $staffHours) @php $j = 0 @endphp @include("staff-report.layouts.daily-row", ["j" => ++$j, "each" => $staffHours]) @endforeach @endforeach @php $obj = $airlineHours["total"] @endphp @php $excessClass = actualTimeAccess($obj->pTotalTime, $obj->totalTime) @endphp {{-- --}} {{----}} {{-- --}} {{----}}
No@lang("content.picture")@lang("content.staff_number") @lang("content.first_name") @lang("content.last_name") @lang("content.position") @lang("content.base") @lang("content.service") @lang("content.start_time") @lang("content.release_time") @lang("content.planned_hours") @lang("content.actual_hours")@lang("content.duration")
HoursCost
{{ ++$i }} id") }}"> picture}") }}" height="30"/> {{ ($flightNumber ? getAirlineCode($airline)."-".$flightNumber->flight_number : "-") }} {{ ($route ? " (".$route.")" : "" ) }}
@if ($serviceType == ARRIVAL) {{ $serviceType }} @else {{ $serviceType }} @endif
@if ($serviceType == ARRIVAL)
@if ($arrInitDate) {!! $arrInitialSpan !!} {{ baseDateFormat($arrInitDate, true) }} @endif
{!! $arrSpan !!} {{ baseDateFormat($arrDate, true) }}
@else
@if ($depInitDate) {!! $depInitialSpan !!} {{ baseDateFormat($depInitDate, true) }} @endif
{!! $depSpan !!} {{ baseDateFormat($depDate, true) }}
@endif
@lang("content.total") PLN{{ $obj->pTotalTime ? $obj->pTotalTime : "-" }}{!! $obj->totalSalary ? " ".$obj->totalSalary : "-" !!}ACT {{ $obj->totalTime ? $obj->totalTime : "-" }}{!! $obj->totalSalary ? " ".$obj->totalSalary : "-" !!}
@endif