{{--@include("flight-view.layouts.form")--}}
@if (!count($flights))SEL | No | {{-- @if ($sprAdm || $adm)--}}@lang("content.actions") | {{-- @endif--}}@lang("content.flight") | SVC TYPE | DEP | ARR | AC TYPE | @lang("content.aircraft") | @lang("content.staff_assigned") | @lang("content.departure_time") | @lang("content.arrival_time") | PAX BKD | PAX ACT | @lang("content.messages") | @if ($type == CANCELLED)@lang("content.cancelled") | @elseif ($type == REMOVED)@lang("content.removed") | @else@lang("content.notes") | @endif@lang("content.last_update") | @lang("content.created") | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STD | PTD | ETD | ATD | ABN | STA | PTA | ETA | TDN | ATA | C | R | Y | INF | C | R | Y | INF | @if ($type == CANCELLED || $type == REMOVED)@lang("content.date") | @lang("content.reason") | @endif {{--@lang("content.user") | --}} {{--@lang("content.date") | --}}@lang("content.user") | @lang("content.schedule") | @lang("content.data") | ||||||||||||||||
{!! Form::checkbox("selected", "1", false, ['class' => 'form-control flight', "data-flight_id" => $each->id ]) !!} | {{ $j + 1 }} | {{-- @if ($sprAdm || $adm)--}}
@if ($type == REMOVED)
{{-- id}") }}">@lang("content.restore")--}}
{{-- id}") }}">@lang("content.cancel")--}}
@elseif ($type == CANCELLED)
{{-- id}") }}">@lang("content.restore")--}}
{{-- id}") }}">@lang("content.remove")--}}
@else
@if ($each->deleted_at)
{{-- id}") }}">@lang("content.restore")--}}
{{-- id}") }}">@lang("content.cancel")--}}
@elseif ($each->cancelled_at)
{{-- id}") }}">@lang("content.restore")--}}
{{-- id}") }}">@lang("content.remove")--}}
@else
id/edit") }}" class="btn btn-success">@lang("content.edit")
{{-- id}") }}">@lang("content.cancel")--}}
{{-- id}") }}">@lang("content.remove")--}}
@endif
@endif
|
{{-- @endif--}}
id}") }}">{{ getFlightNumberFull($flightNumber) }} | {{ getFlightNumberType($each->flightNumber) }} | {{ getFlightDepartureAirport($each, false, true) }} | {{ getFlightArrivalAirport($each, false, true) }} | {{ $acType }} | {{ $aircraft ? $aircraft->name : "-" }} | {!! $each->staff_exists ? "" : "" !!} | {!! $each->std && $each->std != EMPTY_DATETIME ? baseUSDateFormat($each->std, true, "-") : "" !!} | {!! $each->ptd && $each->ptd != EMPTY_DATETIME ? baseUSDateFormat($each->ptd, true, "-") : "" !!} | {!! $each->etd && $each->etd != EMPTY_DATETIME ? baseUSDateFormat($each->etd, true, "-") : "" !!} | {!! $each->atd && $each->atd != EMPTY_DATETIME ? baseUSDateFormat($each->atd, true, "-") : "" !!} | {!! $each->abn && $each->abn != EMPTY_DATETIME ? baseUSDateFormat($each->abn, true, "-") : "" !!} | {!! $each->sta && $each->sta != EMPTY_DATETIME ? baseUSDateFormat($each->sta, true, "-") : "" !!} | {!! $each->pta && $each->pta != EMPTY_DATETIME ? baseUSDateFormat($each->pta, true, "-") : "" !!} | {!! $each->eta && $each->eta != EMPTY_DATETIME ? baseUSDateFormat($each->eta, true, "-") : "" !!} | {!! $each->tdn && $each->tdn != EMPTY_DATETIME ? baseUSDateFormat($each->tdn, true, "-") : "" !!} | {!! $each->ata && $each->ata != EMPTY_DATETIME ? baseUSDateFormat($each->ata, true, "-") : "" !!} | {{ $each->pax_c_booked }} | {{ $each->pax_w_booked }} | {{ $each->pax_y_booked }} | {{ $each->pax_inf_booked }} | {{ $each->pax_c_actual }} | {{ $each->pax_w_actual }} | {{ $each->pax_y_actual }} | {{ $each->pax_inf_actual }} | {!! getFlightMessages($each, 2, "") !!} | @if ($type == CANCELLED){{ baseUSDateFormat($each->cancelled_at, true, "-") }} | {{ $each->remark }} | @elseif ($type == REMOVED){{ baseUSDateFormat($each->deleted_at, true, "-") }} | {{ $each->remark }} | @else{{ $notes }} | @endif {{--{{ $each->user ? $each->user->first_name." ".$each->user->last_name : "-" }} | --}}{{ $each->updated_at ? baseUSDateFormat($each->updated_at, true, "-") : "-" }} | {{ getUserName($each->createdBy) }} | @if ($each->flightSchedule){{ $each->flightSchedule->name }} | {{ baseUSDateFormat($each->flightSchedule->created_at, true, "-") }} | @else- | {{ baseUSDateFormat($each->created_at, true, "-") }} | @endif