@extends('admin.layout.master') @section('pageTitle', (isset($pageTitle)) ? $pageTitle : config('app.APP_NAME') ) @section('pageDescription', (isset($pageDescription)) ? $pageDescription : config('app.APP_NAME') ) @section('content')

{!! __('admin/category.edit.list.title') !!}

{{--@include('admin.shared.table-header', ['model' => $products])--}}

{{__('shared.labels.showing-text', ['perPage' => count($products), 'total' => $products->total()])}}

@forelse($products as $key => $product) @empty @endforelse
{!!__('admin/category.edit.list.labels.id')!!} {!!__('admin/category.edit.list.labels.name')!!} {{__('admin/category.edit.list.labels.action')}}
{{$product->product->id}} {{$product->product->name}}
@csrf @method('DELETE')
{{__('admin/category.listing.messages.no-records')}}
@include('shared.pagination', ['paginator' => $products])
@endsection