@can('fulfill', $order)
@unless ($order->isFulfilled())
@endunless
@endcan
@can('archive', $order)
{!! Form::open([
'route' => ['admin.order.order.archive', $order->id],
'method' => 'delete',
'class' => 'data-form',
]) !!}
{!! Form::button('', [
'type' => 'submit',
'class' => 'confirm ajax-silent',
'title' => trans('app.order_archive'),
'data-toggle' => 'tooltip',
'data-placement' => 'top',
]) !!}
{!! Form::close() !!}
@endcan
|