@foreach($trashed as $fare) @endforeach
Code Name Type Price Cost Notes Active Deleted 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 {{ $fare->deleted_at->diffForHumans() }} {{ Form::open(['route' => ['admin.fares.trashbin'], 'method' => 'post']) }} {{ Form::hidden('object_id', $fare->id) }} {{ Form::button(' RESTORE', ['type' => 'submit', 'name' => 'action', 'value' => 'restore', 'class' => 'btn btn-sm btn-success btn-icon']) }} {{ Form::button(' DELETE', ['type' => 'submit', 'name' => 'action', 'value' => 'delete', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you REALLY sure?')"]) }} {{ Form::close() }}