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:
Russell West
2021-04-13 12:03:03 -04:00
committed by GitHub
co-authored by Nabeel S
parent bfddb2c84d
commit f5e83461a3
2 changed files with 32 additions and 2 deletions
@@ -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