@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)) @if(Theme::getSetting('flights_localtime') && filled($flight->dpt_airport)) {{ Carbon::parse(DT_FormatScheduleTime($flight->dpt_time), 'UTC')->setTimezone($flight->dpt_airport->timezone)->format('H:i') }} @else {{ DT_FormatScheduleTime($flight->dpt_time) }} @endif @endif
{{ DT_ConvertMinutes($flight->flight_time, '%2dh %2dm') }}
@if(filled($flight->arr_time)) @if(Theme::getSetting('flights_localtime') && filled($flight->arr_airport)) {{ Carbon::parse(DT_FormatScheduleTime($flight->arr_time), 'UTC')->setTimezone($flight->arr_airport->timezone)->format('H:i') }} @else {{ DT_FormatScheduleTime($flight->arr_time) }} @endif @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
@endforeach