• {{ substr($fids->destination, 1) }}
    @isset($fids->gate_destination) {{ $fids->gate_destination ?? '-' }} @else @endif
    @isset($fids->departure->gate_origin) {{ $fids->departure->gate_origin ?? '-' }} @else @endif
    @if ($fids->progress_percent === 100 || $fids->arrival_in_seconds < 0) Arrived @else {{ $fids->arriving_in['time'] ?? 'NA' }} @endif
    @if ($fids->outgoing_duration === 99999999) Departed @else @isset ($fids->departure?->departing_in['time']) {{ $fids->departure?->departing_in['time'] }} @else {{ $fids->departure->departing_in['time'] ?? '' }} {{ $fids->departure->status ?? '-' }} @endisset @endif
    @if (! is_null($availableFleet ?? null)) {{ $availableFleet->tail_number }} {{ $fids->registration }} @else {{ $fids->registration }} @endif
    {{ $fids->operator }} {{ $fids->aircraft_type }}
    @if (isset($onSchedule[$fids->registration])) {{ $onSchedule[$fids->registration]['total'] }} @endif
    @if (is_null($availableFleet ?? null) && isset($fleetWithoutRegistration[$fids['operator']][0]['fleet']))
    @php $options = Arr::pluck($fleetWithoutRegistration[$fids['operator']][0]['fleet'], 'tail_number', 'id'); asort($options); @endphp @if (in_array(auth()->id(), [1, 20])) @endif
    @elseif (isset($onSchedule[$fids->registration])) @foreach($onSchedule[$fids->registration]['items'] as $serviceType => $services)
    {{ $serviceType }}
    @foreach($services as $group => $schedules)
    {{ $group }}
    @foreach($schedules as $schedule)

    {{ $schedule['scheduled']->date }} {{ $schedule['task'] }}

    @endforeach @endforeach @endforeach @else Unable to find fleet relation. @endif