@extends('app') @section('title', trans_choice('common.flight', 2)) @include('theme_helpers') @php $units = isset($units) ? $units : DT_GetUnits(); $DBasic = isset($DBasic) ? $DBasic : check_module('DisposableBasic'); $DSpecial = isset($DSpecial) ? $DSpecial : check_module('DisposableSpecial'); $tour_codes = ($DSpecial) ? DS_GetTourCodes() : []; @endphp @section('content') @if(!$flights->count())
No flights found !
@else
@if(Theme::getSetting('flights_table'))
{{ trans_choice('common.flight', 2) }}
@include('flights.table')
@if($flights->count()) @endif
@else @include('flights.card') @endif {{ $flights->withQueryString()->links('pagination.auto') }}
@include('flights.search') @include('flights.nav') @if($DBasic && Theme::getSetting('gen_map_flight'))
@widget('DBasic::Map')
@endif @if($DBasic && Theme::getSetting('gen_map_fleet'))
@widget('DBasic::Map', ['source' => 'fleet'])
@endif
@if(setting('bids.block_aircraft', false)) @include('flights.bids_aircraft') @endif @endif @endsection @include('flights.scripts')