@foreach($flights as $flight)
@if(optional($flight->airline)->logo) @endif
{{ optional($flight->airline)->name }}
{{ optional($flight->airline)->code.' '.$flight->flight_number }} @if(filled($flight->callsign)) {{ ' | '.optional($flight->airline)->icao.' '.$flight->callsign }} @endif {{ ' | '.optional($flight->dpt_airport)->location.' > '.optional($flight->arr_airport)->location }}
@if(filled($flight->dpt_time)) {{ DT_FormatScheduleTime($flight->dpt_time) }} @endif
{{ DT_ConvertMinutes($flight->flight_time, '%2dh %2dm') }}
@if(filled($flight->arr_time)) {{ DT_FormatScheduleTime($flight->arr_time) }} @endif
{{-- This section is collapsed/hidden by default --}}
@if($flight->start_date) {{ $flight->start_date->format('l, d.M.Y') }} @endif @if($flight->end_date) {{ $flight->end_date->format('l, d.M.Y') }} @endif
{{ decode_days($flight->days) }}
@if($flight->route)
{{ $flight->route }} SkyVector
@endif @if($flight->subfleets->count() > 0) @endif @if($flight->notes) @endif
@widget('Weather', ['icao' => $flight->dpt_airport_id]) @if($DBasic) @widget('DBasic::Notams', ['icao' => $flight->dpt_airport_id]) @endif
@widget('Weather', ['icao' => $flight->arr_airport_id]) @if($DBasic) @widget('DBasic::Notams', ['icao' => $flight->arr_airport_id]) @endif
@if(filled($flight->alt_airport_id)) @widget('Weather', ['icao' => $flight->alt_airport_id]) @if($DBasic) @widget('DBasic::Notams', ['icao' => $flight->alt_airport_id]) @endif @endif
@endforeach