Add ability to search Flights by Code (#1205)

* Edit Search Form

Add ability to search via flight/route code (technically it was possible but the field was not present in the blade)

* Add Code (EN)

* Add Code (ES)

* Add Code (IT)

* Add Code (PT-BR)

* FlightCode => Code

* FlightCode => Code

* FlightCode => Code

* FlightCode => Code

* FlightCode => Code
This commit is contained in:
B.Fatih KOZ 2021-05-25 22:33:02 +03:00 committed by GitHub
parent 9abc892698
commit 96c17d33bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,7 @@ return [
'flighttime' => 'Flight Time',
'flighttype' => 'Flight Type',
'flighthours' => 'Flight Hours',
'code' => 'Code',
'callsign' => 'Callsign',
'route' => 'Route',
'mybid' => 'My Bids',

View File

@ -5,6 +5,7 @@ return [
'flighttime' => 'Tiempo de vuelo',
'flighttype' => 'Tipo de vuelo',
'flighthours' => 'Horas de vuelo',
'code' => 'Código',
'callsign' => 'Indicativo',
'route' => 'Ruta',
'mybid' => 'Mis reservas',

View File

@ -5,6 +5,7 @@ return [
'flighttime' => 'Tempo di Volo',
'flighttype' => 'Tipo di Volo',
'flighthours' => 'Ore di Volo',
'code' => 'Codice',
'callsign' => 'Nominativo',
'route' => 'Rotta',
'mybid' => 'Mie Prenotazioni',

View File

@ -5,6 +5,7 @@ return [
'flighttime' => 'Tempo do Voo',
'flighttype' => 'Tipo de Voo',
'flighthours' => 'Horas de Voo',
'code' => 'Código',
'callsign' => 'Indicativo',
'route' => 'Rota',
'mybid' => 'Minhas Reservas',

View File

@ -24,6 +24,11 @@
{{ Form::text('flight_number', null, ['class' => 'form-control']) }}
</div>
<div class="mt-1">
<p>@lang('flights.code')</p>
{{ Form::text('route_code', null, ['class' => 'form-control']) }}
</div>
<div class="mt-1">
<p>@lang('airports.departure')</p>
{{ Form::select('dep_icao', $airports, null , ['class' => 'form-control select2']) }}