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', 'flighttime' => 'Flight Time',
'flighttype' => 'Flight Type', 'flighttype' => 'Flight Type',
'flighthours' => 'Flight Hours', 'flighthours' => 'Flight Hours',
'code' => 'Code',
'callsign' => 'Callsign', 'callsign' => 'Callsign',
'route' => 'Route', 'route' => 'Route',
'mybid' => 'My Bids', 'mybid' => 'My Bids',

View File

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

View File

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

View File

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

View File

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