@can('massDelete', \App\Models\Manufacturer::class)
|
@endcan
|
{{ $manufacturer->name }}
@unless ($manufacturer->active)
{{ trans('app.inactive') }}
@endunless
|
{{ $manufacturer->phone }} |
{{ $manufacturer->email }} |
{{ optional($manufacturer->country)->name }} |
{{ $manufacturer->products_count }}
|
@can('view', $manufacturer)
@endcan
@can('update', $manufacturer)
@endcan
@can('delete', $manufacturer)
{!! Form::open(['route' => ['admin.catalog.manufacturer.trash', $manufacturer->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