@can('massDelete', \App\Models\Carrier::class)
|
@endcan
|
{{ $carrier->name }}
|
{{ $carrier->active ? trans('app.active') : trans('app.inactive') }}
|
{{ $carrier->source ? ucwords($carrier->source) : trans('app.vendor') }}
|
@foreach ($carrier->shippingZones->unique('name') as $zone)
@endforeach
|
@can('view', $carrier)
@endcan
@can('update', $carrier)
@endcan
@can('delete', $carrier)
{!! Form::open(['route' => ['admin.shipping.carrier.trash', $carrier->id], 'method' => 'delete', 'class' => 'data-form']) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.trash'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!}
{!! Form::close() !!}
@endcan
|
@endforeach