{{ trans('cruds.product.fields.id') }} @include('components.table.sort', ['field' => 'id']) | {{ trans('cruds.product.fields.name') }} @include('components.table.sort', ['field' => 'name']) | {{ trans('cruds.product.fields.description') }} @include('components.table.sort', ['field' => 'description']) | {{ trans('cruds.product.fields.price') }} @include('components.table.sort', ['field' => 'price']) | {{ trans('cruds.product.fields.category') }} | {{ trans('cruds.product.fields.tag') }} | {{ trans('cruds.product.fields.photo') }} | {{ trans('cruds.product.fields.bisiness') }} @include('components.table.sort', ['field' => 'bisiness.name']) | {{ trans('cruds.business.fields.registration_number') }} @include('components.table.sort', ['field' => 'bisiness.registration_number']) | {{ trans('cruds.business.fields.address') }} @include('components.table.sort', ['field' => 'bisiness.address']) | {{ trans('cruds.business.fields.phone') }} @include('components.table.sort', ['field' => 'bisiness.phone']) | {{ trans('cruds.business.fields.email') }} @include('components.table.sort', ['field' => 'bisiness.email']) | {{ trans('cruds.business.fields.website') }} @include('components.table.sort', ['field' => 'bisiness.website']) | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $product->id }} | {{ $product->name }} | {{ $product->description }} | {{ $product->price }} | @foreach($product->category as $key => $entry) {{ $entry->name }} @endforeach | @foreach($product->tag as $key => $entry) {{ $entry->name }} @endforeach |
@foreach($product->photo as $key => $entry)
|
@if($product->bisiness) {{ $product->bisiness->name ?? '' }} @endif | @if($product->bisiness) {{ $product->bisiness->registration_number ?? '' }} @endif | @if($product->bisiness) {{ $product->bisiness->address ?? '' }} @endif | @if($product->bisiness) {{ $product->bisiness->phone ?? '' }} @endif | @if($product->bisiness) {{ $product->bisiness->email ?? '' }} @endif | @if($product->bisiness) {{ $product->bisiness->website ?? '' }} @endif |
@can('product_show')
{{ trans('global.view') }}
@endcan
@can('product_edit')
{{ trans('global.edit') }}
@endcan
@can('product_delete')
@endcan
|
|
No entries found. |
{{ $this->selectedCount }} {{ __('Entries selected') }}
@endif {{ $products->links() }}