@foreach ($fdpPlannedFlights as $i => $fdp)
@php $fdpClass = $i % 2 == 0 ? "fdp-alter" : "" @endphp
@foreach($fdp->getFlights() as $flight)
@php $class = $flight->is_standby ? 'Standby' : ($flight->is_dhc ? 'DHC' : '') @endphp
| {{ ++$i}} |
{!! $class !!} |
aircraft_id}&period=period&period_field=last_28_days") }}">{{ $flight->aircraft_name }} |
id}") }}">{{ getCurrentIataCode().'-'.$flight->flight_number }} |
{{ $flight->departure_airport . "-" . $flight->arrival_airport }} |
{{ $flight->id == $fdp->getFirstFlight()->id ? dmy_format($fdp->getReportTime(), 'time') : "" }} |
@if ($flight->atd && $flight->atd != EMPTY_DATETIME && $flight->ata && $flight->ata != EMPTY_DATETIME)
ATD{{ dmy_format($flight->atd, 'time') }} |
ATA{{ dmy_format($flight->ata, 'time') }} |
@else
STD{{ dmy_format($flight->std, 'time') }} |
STA{{ dmy_format($flight->sta, 'time') }} |
@endif
{{ $flight->id == $fdp->getLastFlight()->id ? dmy_format($fdp->getReleaseTime(), 'time') : "" }} |
{{ $flight->other_time == 0 ? "-" : hoursToTime($flight->other_time, true) }} |
{{ $flight->flight_time == 0 ? "-" : hoursToTime($flight->flight_time, true) }} |
{{ $flight->flying_time == 0 ? "-" : hoursToTime($flight->flying_time, true) }} |
|
@endforeach
@php $limitCrossed = $fdp->getCurrentFdpTime() > $fdp->getMaxFdpTime() ? "fdp-crossed" : "color-green" @endphp
@php $limitCrossed = "color-green" @endphp
| FDP @lang("content.total") |
{{ hoursToTime($fdp->getOtherTime(), true) }} |
{{ hoursToTime($fdp->getFlightTime(), true) }} |
{{ hoursToTime($fdp->getFlyingTime(), true) }} |
{{ hoursToTime($fdp->getCurrentFdpTime(), true) }} |
{{--{{ hoursToTime($fdp->getMaxFdpTime(), true) }} | --}}
@endforeach