@extends('layouts.app') @push('datatable-styles') @include('sections.datatable_css') @endpush @section('filter-section')

@lang('modules.productCategory.productCategory')

@lang('modules.productCategory.productSubCategory')

@lang('app.clearFilters')
@endsection @php $addProductPermission = user()->permission('add_product'); $addOrderPermission = user()->permission('add_order'); @endphp @section('content')
@if ($addProductPermission == 'all' || $addProductPermission == 'added') @lang('app.add') @lang('app.product') @endif
@if (in_array('client', user_roles()) && $addOrderPermission == 'all')
@lang('app.cart') {{ sizeof($productDetails) }}
@endif @if (!in_array('client', user_roles()))
@endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection @push('scripts') @include('sections.datatable_js') @endpush