@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
@if (count($aircraft))| No | @lang("content.ac_reg") | MVT | HEX @lang("content.code") | @lang("content.type") | @if ($isAdmin)Type ID | STS | @endif @if ($ghaModule)@lang("content.airline") | @endif@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 | @if ($ghaModule)@lang("content.name") | IATA | ICAO | @endifF | C | W | Y | |||||||||||||||||||||
| {{ $i + 1 }} | {{ $each->name }} | {{ $each->mvt_name }} | @if ($sprAdm) {{ $each->hex_code ? $each->hex_code : 'Empty' }} @else {{ $each->hex_code }} @endif | @if ($each->type){{ $each->type->iata_name }} | {{ $each->type->icao }} | @else@endif @if ($isAdmin) | {{ $each->aircraft_type_id }} | {{ $each->type && $each->type->deleted_at ? "DELETED" : "" }} | @endif @if ($ghaModule) @if ($each->airline){{ $each->airline->airline }} | {{ $each->airline->iata }} | {{ $each->airline->icao }} | @else@endif @endif | {{ $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 ? "" : "" !!} |
id}") }}"
class="btn btn-primary btn-sm">@lang("content.show_flights")
id}?current_airline_id={$currentAirlineId}") }}"
class="btn btn-success btn-sm">@lang("content.view")
id}/edit?s=".rand(100, 999)."¤t_airline_id={$currentAirlineId}") }}"
class="btn btn-warning btn-sm">@lang("content.edit")
id}?current_airline_id={$currentAirlineId}") }}"
data-confirm-text="Are you sure?" class="btn btn-danger confirm btn-sm">@lang("content.remove")
|
|||