@foreach($fares as $fare) @endforeach
Code Name Price Cost Notes Active Action
{!! $fare->code !!} {!! $fare->name !!} {!! $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() !!}