@php $airlineID = isset($airlineID) && $airlineID ? $airlineID : null @endphp @php $currentAirlineId = isset($currentAirlineId) ? $currentAirlineId : '' @endphp @php $urlAirlineID = $currentAirlineId ? $currentAirlineId : ($airlineID ? $airlineID : \request("airline_id")) @endphp @php $addURL = "aircraft/add?s=".rand(100, 999) . ($airlineID ? "&airline_id={$airlineID}" : "") @endphp @php $sprAdm = isSprAdm() @endphp
@lang("content.add_new_aircraft")
@if (count($aircraft))

@lang("content.list")

@php $ghaModule = ghaModule() @endphp @if ($isAdmin) @endif @if ($ghaModule) @endif @if ($ghaModule) @endif @foreach ($aircraft as $i => $each) @if ($each->deleted_at) @continue @endif @if ($each->type) @else @endif @if ($isAdmin) @endif @if ($ghaModule) @if ($each->airline) @else @endif @endif @endforeach
No @lang("content.ac_reg") MVT HEX @lang("content.code") @lang("content.type")Type ID STS@lang("content.airline")@lang("content.fleet_type") @lang("content.configuration") @lang("content.flexi_config") @lang("content.engine") @lang("content.delivered") MSN @lang("content.line_number") @lang("content.first_flight") @lang("content.status") @lang("content.email_forwarding") @lang("content.actions")
IATA ICAO@lang("content.name") IATA ICAOF C W Y
{{ $i + 1 }} {{ $each->name }} {{ $each->mvt_name }} @if ($sprAdm) {{ $each->hex_code ? $each->hex_code : 'Empty' }} @else {{ $each->hex_code }} @endif {{ $each->type->iata_name }} {{ $each->type->icao }} {{ $each->aircraft_type_id }} {{ $each->type && $each->type->deleted_at ? "DELETED" : "" }}{{ $each->airline->airline }} {{ $each->airline->iata }} {{ $each->airline->icao }} {{ $each->type && $each->type->wide_board ? "W B" : "N B" }} @if ($sprAdm) {{ $each->config_a || $each->config_a === 0 ? $each->config_a : 'Empty' }} @else {{ $each->config_a }} @endif @if ($sprAdm) {{ $each->config_c || $each->config_c === 0 ? $each->config_c : 'Empty' }} @else {{ $each->config_c }} @endif @if ($sprAdm) {{ $each->config_w || $each->config_w === 0 ? $each->config_w : 'Empty' }} @else {{ $each->config_w }} @endif @if ($sprAdm) {{ $each->config_y || $each->config_y === 0 ? $each->config_y : 'Empty' }} @else {{ $each->config_y }} @endif {!! $each->type && $each->type->flexi_config ? '' : '' !!} {{ $each->engine ? $each->engine->name : "" }} @if ($sprAdm) {{ $each->delivery_date ? $each->delivery_date : 'Empty' }} @else {{ $each->delivery_date }} @endif {{ $each->msn }} {{ $each->line_number }} {{ $each->first_flight && $each->first_flight != EMPTY_DATE ? $each->first_flight : ""}} {!! ($each->maintenance_id) ? "" : "" !!} {!! $each->email_recipients && trim($each->email_recipients) && !$each->stop_emails ? "" : "" !!}
{{-- {!! $aircraft->withPath(route("homepage")."#aircraft?airline_id={$urlAirlineID}")->links() !!}--}}
@endif