{{ $expense->name }}
|
{{ \App\Models\Enums\ExpenseType::label($expense->type) }} |
{{ $expense->amount }} |
@if(filled($expense->airline))
{{ $expense->airline->name }}
@else
-
@endif
|
{{ \App\Models\Enums\ActiveState::label($expense->active) }}
|
{{ Form::open(['route' => ['admin.expenses.destroy', $expense->id], 'method' => 'delete']) }}
{{ Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) }}
{{ Form::close() }}
|
@endforeach