{!! Form::select("period", $periods, \request("period"), ["class"=>"form-control marginRight"]) !!}
{!! 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::hidden("id", \request("id")) !!} {!! Form::hidden("tab", "roster") !!}
@if (!count($staffFlights))

@lang("content.found") 0 @lang("content.records")

@else

@lang("content.roster")

@foreach($staffFlights as $i => $each) @if ($each->serviceType == DEPARTURE_SERVICE) @else @endif @endforeach
No @lang("content.flight_number") @lang("content.sector") @lang("content.service_type") @lang("content.date_time") @lang("content.service") @lang("content.start_date_time") @lang("content.release_date_time") @lang("content.duration") (@lang("content.hours"))
{{ $i + 1 }} flight->id}") }}">{{ $each->flightInfo }} {{ /* @var App\Classes\Staff\Flight\StaffFlight $each */ $each->route }} {!! displayServiceWithLabel($each->serviceType) !!}{{ /* @var App\Classes\Staff\Flight\StaffFlight $each */ baseDateFormat($each->departure, true, "-") }}{{ /* @var App\Classes\Staff\Flight\StaffFlight $each */ baseDateFormat($each->arrival, true, "-") }}{{ $each->service->abbr }} {!! ($each->pReportTime ? baseDateFormat($each->pReportTime, true, "-")." PLN" : "-")."
".($each->reportTime ? baseDateFormat($each->reportTime, true, "-")." ACT" : "-") !!}
{!! ($each->pReleaseTime ? baseDateFormat($each->pReleaseTime, true, "-")." PLN" : "-")."
".($each->releaseTime ? baseDateFormat($each->releaseTime, true, "-")." ACT" : "-") !!}
{!! ($each->pDurationTime && $each->pDurationTime != EMPTY_TIME_HM ? $each->pDurationTime." PLN" : "-")."
".($each->durationTime && $each->durationTime != EMPTY_TIME_HM ? $each->durationTime." ACT" : "-") !!}
@endif