@include('backend/include/custom') @include('backend/include/head') @include('backend/include/datatableajax/tablelink') Product
@include('backend/include/sidebar') @include('backend/include/header')
@if(permission(session('SUPERADMIN_ID'), '16', 'action_add')) @php $boxes = [ ['color' => 'success', 'label' => 'Total Product', 'value' => $productcount, 'icon' => 'bx bx-box'], ['color' => 'warning', 'label' => 'Active Product', 'value' => $activeproduct, 'icon' => 'bx bx-cart'], ['color' => 'danger', 'label' => 'Inactive Product', 'value' => $inactiveproduct, 'icon' => 'bx bx-block'], ]; @endphp @foreach($boxes as $box)
{{-- Reduced vertical padding --}}
{{-- Slightly smaller icon --}} {{ $box['label'] }}: {{ $box['value'] }}
@endforeach @endif
@if(permission(session('SUPERADMIN_ID'), '16', 'action_view'))
@endif

Filter

@php if(!empty($_GET['service_id'])){ $filterservice_id = $_GET['service_id']; } else { $filterservice_id = ""; } if(!empty($_GET['subservice_id'])){ $filtersubservice_id = $_GET['subservice_id']; } else { $filtersubservice_id = ""; } if(!empty($_GET['brand_id'])){ $filterbrand_id = $_GET['brand_id']; } else { $filterbrand_id = ""; } if (isset($_GET['status']) && $_GET['status'] !== '') { $status = $_GET['status']; } else { $status = ""; } @endphp
@include('backend/include/footer') @include('backend/include/datatableajax/tablescript') @include('backend/include/subservicebychildservice/subservicebychildservice') @include('backend/include/dynamicvalidation/slugvalidation')