Add table/models and admin for expenses #136

This commit is contained in:
Nabeel Shahzad
2018-02-26 15:16:12 -06:00
parent 286ed78436
commit 4a73a5a6b3
27 changed files with 556 additions and 41 deletions
@@ -62,14 +62,13 @@
<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']) !!}
<p class="text-danger">{{ $errors->first('ground_handling_cost') }}</p>
@component('admin.components.info')
This is the base rate per-flight. A multiplier for this rate can be
set in the subfleet, so you can modulate those costs from there.
@endcomponent
{!! Form::number('ground_handling_cost', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('ground_handling_cost') }}</p>
</div>
<div class="form-group col-md-6">