@foreach($fares as $fare) @endforeach
Code Name Type Price Cost Notes Active Action
{{ $fare->code }} {{ $fare->name }} {{ \App\Models\Enums\FareType::label($fare->type) }} {{ $fare->price }} {{ $fare->cost }} {{ $fare->notes }} @if($fare->active == 1) Active @else Inactive @endif {{ Form::open(['route' => ['admin.fares.destroy', $fare->id], 'method' => 'delete']) }} {{ Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) }} {{ Form::close() }}