Add a ground_handling_multiplier to the subfleet table #134

This commit is contained in:
Nabeel Shahzad
2018-02-23 16:00:14 -06:00
parent 4142d5d28a
commit db94f5b405
4 changed files with 37 additions and 12 deletions

View File

@@ -11,19 +11,35 @@
{!! Form::text('type', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('type') }}</p>
</div>
</div>
<div class="row">
<div class="form-group col-sm-6">
<div class="form-group col-sm-4">
{!! Form::label('airline_id', 'Airline:') !!}
{!! Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) !!}
<p class="text-danger">{{ $errors->first('airline_id') }}</p>
</div>
<div class="form-group col-sm-6">
<div class="form-group col-sm-4">
{!! Form::label('fuel_type', 'Fuel Type:') !!}
{!! Form::select('fuel_type', $fuel_types, null , ['class' => 'form-control select2']) !!}
<p class="text-danger">{{ $errors->first('fuel_type') }}</p>
</div>
<div class="form-group col-sm-4">
{!! Form::label('ground_handling_multiplier', 'Ground Handling Multiplier:') !!}
@component('admin.components.info')
This is the multiplier of the airport ground-handling cost to charge for
aircraft in this subfleet, as a percentage. Defaults to 100.
@endcomponent
{!! Form::text('ground_handling_multiplier', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('ground_handling_multiplier') }}</p>
</div>
</div>
<div class="row">
<div class="form-group col-sm-12">
<div class="pull-right">
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}