@extends('layouts.app') @section('title', ' Product Categories') @section('content')
Product Categories
@can('Category create') @endcan @can('Category delete') @endcan

Clear
@forelse($products as $product) @empty @endforelse
ID Category Name Description Status Actions
@can('Category show') {{ $product->id }} @else {{ $product->id }} @endcan {{ $product->name }} {{ \Illuminate\Support\Str::limit($product->description, 50) }} @if ($product->status == 'enabled') Enabled @else Disabled @endif
@can('Category update') @endcan @can('Category delete') @endcan
No data to display
Showing {{ $paginationDetails['firstItem'] }} to {{ $paginationDetails['lastItem'] }} of {{ $paginationDetails['total'] }} entries
{{ $products->appends(request()->query())->links() }}
@endsection @push('js') @endpush