* Add step fields to enable decimal points on fields #342 * Update js-yaml version due to vulnerability scan * Don't seed dev files when env == local * Fix * Fix to be static * Add visibilty keyword
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
{{ Form::open(['url' => url('/admin/airports/'.$airport->id.'/expenses'),
|
||||
'method' => 'post', 'class' => 'modify_expense form-inline']) }}
|
||||
{{ Form::input('text', 'name', null, ['class' => 'form-control input-sm', 'placeholder' => 'Name']) }}
|
||||
{{ Form::number('amount', null, ['class' => 'form-control input-sm', 'placeholder' => 'Amount']) }}
|
||||
{{ Form::number('amount', null, ['class' => 'form-control input-sm', 'placeholder' => 'Amount', 'step' => '0.01']) }}
|
||||
{{ Form::select('type', \App\Models\Enums\ExpenseType::select(), null, ['class' => 'select2']) }}
|
||||
{{ Form::button('<i class="fa fa-plus"></i> Add', ['type' => 'submit',
|
||||
'class' => 'btn btn-success btn-small']) }}
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6">
|
||||
{{ Form::label('ground_handling_cost', 'Ground Handling Cost:') }}
|
||||
{{ Form::number('ground_handling_cost', null, ['class' => 'form-control']) }}
|
||||
{{ Form::number('ground_handling_cost', null, ['class' => 'form-control', 'step' => '0.01']) }}
|
||||
<p class="text-danger">{{ $errors->first('ground_handling_cost') }}</p>
|
||||
|
||||
@component('admin.components.info')
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
{{ Form::label('fuel_jeta_cost', 'Jet A Fuel Cost:') }}
|
||||
{{ Form::number('fuel_jeta_cost', null, ['class' => 'form-control']) }}
|
||||
{{ Form::number('fuel_jeta_cost', null, ['class' => 'form-control', 'step' => '0.01']) }}
|
||||
<p class="text-danger">{{ $errors->first('fuel_jeta_cost') }}</p>
|
||||
|
||||
@component('admin.components.info')
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
<th>Location</th>
|
||||
<th>Hub</th>
|
||||
<th style="text-align: center;">GH Cost</th>
|
||||
{{--<th style="text-align: center;">100LL</th>--}}
|
||||
<th style="text-align: center;">JetA</th>
|
||||
{{--<th style="text-align: center;">MOGAS</th>--}}
|
||||
<th></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -25,15 +23,9 @@
|
||||
<td style="text-align: center;">
|
||||
{{ $airport->ground_handling_cost }}
|
||||
</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_jeta_cost">{{ $airport->fuel_jeta_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 class="fas fa-pencil-alt"></i></a>
|
||||
|
||||
Reference in New Issue
Block a user