Name | Cost {{ currency(config('phpvms.currency')) }} | Type | @endif @foreach($aircraft->expenses as $expense) |
---|---|---|---|
{{ Form::open(['url' => url('/admin/aircraft/'.$aircraft->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') }}