@if(Theme::getSetting('flights_codeleg')) @endif @foreach($flights as $flight) @if(Theme::getSetting('flights_codeleg')) @endif @if(filled($flight->dpt_time) && filled($flight->arr_time)) @if(Theme::getSetting('flights_localtimes') && filled($flight->dpt_airport) && filled($flight->arr_airport)) @else @endif @else @endif @endforeach
@sortablelink('flight_number', __('flights.flightnumber'))@sortablelink('route_code', 'Code') @sortablelink('route_leg', 'Leg')@sortablelink('dpt_airport_id', __('airports.departure')) @sortablelink('dpt_time', 'STD') @sortablelink('arr_time', 'STA') @sortablelink('arr_airport_id', __('airports.arrival')) @lang('disposable.actions')
{{ optional($flight->airline)->code.' '.$flight->flight_number }} @if(filled($flight->route_code) && in_array($flight->route_code, $tour_codes)) Tour Flight @endif {{ $flight->route_code }} {{ $flight->route_leg }} @if(Theme::getSetting('flights_flags')) @endif {{ $flight->dpt_airport->full_name ?? $flight->dpt_airport_id }} {{ Carbon::parse(DT_FormatScheduleTime($flight->dpt_time), 'UTC')->setTimezone($flight->dpt_airport->timezone)->format('H:i') }} {{ Carbon::parse(DT_FormatScheduleTime($flight->arr_time), 'UTC')->setTimezone($flight->arr_airport->timezone)->format('H:i') }}{{ DT_FormatScheduleTime($flight->dpt_time) }} {{ DT_FormatScheduleTime($flight->arr_time) }}{{ DT_ConvertMinutes($flight->flight_time, '%2dh %2dm') }} @if(Theme::getSetting('flights_flags')) @endif {{ $flight->arr_airport->full_name ?? $flight->arr_airport_id }} @if((!setting('pilots.only_flights_from_current') || $flight->dpt_airport_id == optional($user->current_airport)->icao) && DT_CheckDays($flight->days)) {{-- Bid --}} @if(setting('bids.allow_multiple_bids') === true || setting('bids.allow_multiple_bids') === false && count($saved) === 0) @endif {{-- Simbrief --}} @if($simbrief !== false && $flight->simbrief && $flight->simbrief->user_id === $user->id) @elseif($simbrief !== false && ($simbrief_bids === false || $simbrief_bids === true && isset($saved[$flight->id]))) @php $aircraft_id = isset($saved[$flight->id]) ? App\Models\Bid::find($saved[$flight->id])->aircraft_id : null; @endphp @endif {{-- vmsAcars Load --}} @if($acars_plugin && isset($saved[$flight->id])) @elseif($acars_plugin) @endif @if(Theme::getSetting('pireps_manual')) @endif @endif