Name | Cost {!! currency(config('phpvms.currency')) !!} | Type | @endif @foreach($subfleet->expenses as $expense) |
---|---|---|---|
{!! \App\Models\Enums\ExpenseType::label($expense->type) !!} |
{!! Form::open(['url' => url('/admin/subfleets/'.$subfleet->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') }}