@can('foodOrders.show') @endcan @can('foodOrders.edit') @endcan @can('orders.edit') @endcan @can('foodOrders.destroy') {!! Form::open(['route' => ['foodOrders.destroy', $id], 'method' => 'delete']) !!} {!! Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-link text-danger', 'onclick' => "return confirm('Are you sure?')" ]) !!} {!! Form::close() !!} @endcan