phpvms/resources/views/layouts/default/flights/search.blade.php

65 lines
2.8 KiB
PHP
Raw Normal View History

2018-05-19 03:50:20 +08:00
<h3 class="description">@lang('flights.search')</h3>
2020-02-20 23:49:15 +08:00
<div class="card border-blue-bottom">
<div class="card-body ml-1 mr-1" style="min-height: 0px; display: flex; justify-content: center; align-items: center;">
<div class="form-group search-form">
{{ Form::open([
'route' => 'frontend.flights.search',
'method' => 'GET',
'class'=>'form-inline'
]) }}
<div class="mt-1">
<p>@lang('common.airline')</p>
{{ Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) }}
</div>
<div class="form-group">
<label>@lang('flights.flighttype')</label>
<select id="flight_type" name="flight_type" class="custom-select select2">
<option value=""></option>
<option value="J">@lang('flights.type.pass_scheduled')</option>
<option value="G">@lang('flights.type.pass_addtl')</option>
<option value="C">@lang('flights.type.charter_pass_only')</option>
<option value="O">@lang('flights.type.charter_special')</option>
<option value="E">@lang('flights.type.special_vip')</option>
<option value="F">@lang('flights.type.cargo_scheduled')</option>
<option value="A">@lang('flights.type.addtl_cargo_mail')</option>
<option value="H">@lang('flights.type.charter_cargo')</option>
<option value="M">@lang('flights.type.mail_service')</option>
<option value="I">@lang('flights.type.ambulance')</option>
<option value="K">@lang('flights.type.training_flight')</option>
<option value="P">@lang('flights.type.positioning')</option>
<option value="T">@lang('flights.type.technical_test')</option>
<option value="X">@lang('flights.type.technical_stop')</option>
<option value="W">@lang('flights.type.military')</option>
</select>
</div>
2020-02-20 23:49:15 +08:00
<div>
<p>@lang('flights.flightnumber')</p>
{{ Form::text('flight_number', null, ['class' => 'form-control']) }}
</div>
2017-12-05 04:21:46 +08:00
2020-02-20 23:49:15 +08:00
<div class="mt-1">
<p>@lang('airports.departure')</p>
2019-10-30 01:09:23 +08:00
{{ Form::select('dep_icao', $airports, null , ['class' => 'form-control select2']) }}
</div>
2017-12-05 04:21:46 +08:00
2020-02-20 23:49:15 +08:00
<div class="mt-1">
<p>@lang('airports.arrival')</p>
2019-10-30 01:09:23 +08:00
{{ Form::select('arr_icao', $airports, null , ['class' => 'form-control select2']) }}
</div>
2017-12-05 04:21:46 +08:00
2020-02-20 23:49:15 +08:00
<div class="mt-1">
<p>@lang('common.subfleet')</p>
{{ Form::select('subfleet_id', $subfleets, null , ['class' => 'form-control select2']) }}
</div>
2020-02-20 23:49:15 +08:00
<div class="clear mt-1" style="margin-top: 10px;">
{{ Form::submit(__('common.find'), ['class' => 'btn btn-outline-primary']) }}&nbsp;
<a href="{{ route('frontend.flights.index') }}">@lang('common.reset')</a>
</div>
{{ Form::close() }}
2017-12-05 04:21:46 +08:00
</div>
</div>
</div>