adds 100ll option to airport admin (#1138)
* adds 100ll option to airport admin * Adds mogas field too Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
This commit is contained in:
parent
bfddb2c84d
commit
f5e83461a3
@ -60,7 +60,7 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6">
|
||||
<div class="form-group col-sm-3">
|
||||
{{ Form::label('ground_handling_cost', 'Ground Handling Cost:') }}
|
||||
{{ Form::number('ground_handling_cost', null, ['class' => 'form-control', 'step' => '0.01']) }}
|
||||
<p class="text-danger">{{ $errors->first('ground_handling_cost') }}</p>
|
||||
@ -71,7 +71,7 @@
|
||||
@endcomponent
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<div class="form-group col-md-3">
|
||||
{{ Form::label('fuel_jeta_cost', 'Jet A Fuel Cost:') }}
|
||||
{{ Form::number('fuel_jeta_cost', null, ['class' => 'form-control', 'step' => '0.01']) }}
|
||||
<p class="text-danger">{{ $errors->first('fuel_jeta_cost') }}</p>
|
||||
@ -81,6 +81,26 @@
|
||||
@endcomponent
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
{{ Form::label('fuel_100ll_cost', '100LL Fuel Cost:') }}
|
||||
{{ Form::number('fuel_100ll_cost', null, ['class' => 'form-control', 'step' => '0.01']) }}
|
||||
<p class="text-danger">{{ $errors->first('fuel_100ll_cost') }}</p>
|
||||
|
||||
@component('admin.components.info')
|
||||
This is the cost per {{ config('phpvms.internal_units.fuel') }}
|
||||
@endcomponent
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
{{ Form::label('fuel_mogas_cost', 'MOGAS Fuel Cost:') }}
|
||||
{{ Form::number('fuel_mogas_cost', null, ['class' => 'form-control', 'step' => '0.01']) }}
|
||||
<p class="text-danger">{{ $errors->first('fuel_mogas_cost') }}</p>
|
||||
|
||||
@component('admin.components.info')
|
||||
This is the cost per {{ config('phpvms.internal_units.fuel') }}
|
||||
@endcomponent
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
@ -7,6 +7,8 @@
|
||||
<th>Hub</th>
|
||||
<th style="text-align: center;">GH Cost</th>
|
||||
<th style="text-align: center;">JetA</th>
|
||||
<th style="text-align: center;">100LL</th>
|
||||
<th style="text-align: center;">MOGAS</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -27,6 +29,14 @@
|
||||
<a class="inline" href="#" data-pk="{{ $airport->id }}"
|
||||
data-name="fuel_jeta_cost">{{ $airport->fuel_jeta_cost }}</a>
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<a class="inline" href="#" data-pk="{{ $airport->id }}"
|
||||
data-name="fuel_100ll_cost">{{ $airport->fuel_100ll_cost }}</a>
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<a class="inline" href="#" data-pk="{{ $airport->id }}"
|
||||
data-name="fuel_mogas_cost">{{ $airport->fuel_mogas_cost }}</a>
|
||||
</td>
|
||||
<td style="text-align: right;">
|
||||
{{ Form::open(['route' => ['admin.airports.destroy', $airport->id], 'method' => 'delete']) }}
|
||||
<a href="{{ route('admin.airports.edit', [$airport->id]) }}" class='btn btn-sm btn-success btn-icon'><i
|
||||
|
Loading…
Reference in New Issue
Block a user