Name | Cost {!! currency(config('phpvms.currency')) !!} | Type | @endif @foreach($airport->expenses as $expense) |
---|---|---|---|
{!! \App\Models\Enums\ExpenseType::label($expense->type) !!} |
{!! Form::open(['url' => url('/admin/airports/'.$airport->id.'/expenses'), 'method' => 'delete', 'class' => 'modify_expense form-inline']) !!} {!! Form::hidden('expense_id', $expense->id) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')", ]) !!} {!! Form::close() !!} |
{{ $errors->first('name') }}
{{ $errors->first('amount') }}