@extends('admin.layouts.master') @section('content') @php $translation_language = app()->getLocale(); @endphp
@can('massDelete', \App\Models\Attribute::class)
|
{{ trans('app.#') }} | {{ trans('app.position') }} | {{ trans('app.name') }} | {{ trans('app.type') }} | {{ trans('app.categories') }} | {{ trans('app.entities') }} | {{ trans('app.option') }} |
---|---|---|---|---|---|---|---|
@can('massDelete', $attribute) @else @endcan | {{ $attribute->order }} | @can('view', $attribute) {{ $attribute->name }} @else {{ $attribute->name }} @endcan | {{ $attribute->attributeType->type }} | {{ $attribute->categories_count }} | {{ $attribute->attribute_values_count }} | @can('view', $attribute) @endcan @can('update', $attribute) @endcan @can('delete', $attribute) {!! Form::open(['route' => ['admin.catalog.attribute.trash', $attribute->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 |