@extends('admin.layouts.master') @section('content')

{{ trans('app.products') }}

@can('create', App\Product::class) {{ trans('app.bulk_import') }} {{ trans('app.add_product') }} @endcan
{{ trans('app.name') }} {{ trans('app.gtin') }} {{ trans('app.model_number') }} {{ trans('app.category') }} {{ trans('app.listing') }} {{ trans('app.option') }}
@if(Auth::user()->isFromPlatform())

{{ trans('app.trash') }}

@foreach($trashes as $trash ) @endforeach
{{ trans('app.image') }} {{ trans('app.name') }} {{ trans('app.model_number') }} {{ trans('app.category') }} {{ trans('app.option') }}
{{ trans('app.image') }} {{ $trash->name }} {{ $trash->model_number }} @foreach($trash->categories as $category) {{ $category->name }} @endforeach @can('delete', $trash)   {!! Form::open(['route' => ['admin.catalog.product.destroy', $trash->id], 'method' => 'delete', 'class' => 'data-form']) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.delete_permanently'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!} {!! Form::close() !!} @endcan
@endif @endsection