@php $type = "ALL" @endphp
{!! Form::open(["method" => "GET", "url" => url("flight-staff"), "class" => "form-inline"]) !!}
{!! Form::select('airline[]', $airlines, \request("airline"), ['multiple'=>'multiple', 'class'=>'multiselect_search', 'id'=>'airline']) !!}
{!! Form::select('airport[]', $airports, \request("airport"), ['multiple'=>'multiple', 'class'=>'multiselect_search', 'id'=>'airport']) !!}
{{-- {!! Form::label('from', trans("content.from") ) !!}--}} {{-- {!! Form::text('from', \request("from") ? \request("from") : date("Y-m-d"), ['class' => 'form-control dateFrom inputDateSmall']) !!}--}} {{-- {!! Form::label('to', trans("content.to") ) !!}--}} {{-- {!! Form::text('to', \request("to") ? \request("to") : date("Y-m-d"), ['class' => 'form-control dateTo inputDateSmall']) !!}--}} {!! Form::submit("Submit", ["class" => "btn btn-primary btn-sm"]) !!} {!! Form::close() !!}
@if (!count($flights))
@if (\request("type") && \request("type") == $type) @lang("content.found") 0 @lang("content.records") @else @lang("content.please_select_period_and_press_submit") @endif
@else

@lang("content.list")

@if ($sprAdm) @endif {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @foreach($flights as $j => $each) @php $aircraft = $each->aircraft @endphp @php $flightNumber = $each->flightNumber @endphp @php $notes = $each->remark @endphp {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endforeach
No@lang("content.actions")@lang("content.flight") DEP ARR @lang("content.aircraft") @lang("content.departure_time") @lang("content.arrival_time")
STDPTDETDATDABNSTAPTAETATDNATA
{{ $j + 1 }} id}") }}">{{ getFlightNumberFull($flightNumber) }} {{ getFlightDepartureAirport($each, false, true) }} {{ getFlightArrivalAirport($each, false, true) }} {{ $aircraft ? $aircraft->name : "-" }}{!! $each->std && $each->std != EMPTY_DATETIME ? baseDateFormat($each->std, true, "/") : "" !!}{!! $each->ptd && $each->ptd != EMPTY_DATETIME ? baseDateFormat($each->ptd, true, "/") : "" !!}{!! $each->etd && $each->etd != EMPTY_DATETIME ? baseDateFormat($each->etd, true, "/") : "" !!}{!! $each->atd && $each->atd != EMPTY_DATETIME ? baseDateFormat($each->atd, true, "/") : "" !!}{!! $each->abn && $each->abn != EMPTY_DATETIME ? baseDateFormat($each->abn, true, "/") : "" !!}{!! $each->sta && $each->sta != EMPTY_DATETIME ? baseDateFormat($each->sta, true, "/") : "" !!}{!! $each->pta && $each->pta != EMPTY_DATETIME ? baseDateFormat($each->pta, true, "/") : "" !!}{!! $each->eta && $each->eta != EMPTY_DATETIME ? baseDateFormat($each->eta, true, "/") : "" !!}{!! $each->tdn && $each->tdn != EMPTY_DATETIME ? baseDateFormat($each->tdn, true, "/") : "" !!}{!! $each->ata && $each->ata != EMPTY_DATETIME ? baseDateFormat($each->ata, true, "/") : "" !!}
@endif