@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)
@endforeach
@endif
{{-- Reduced vertical padding --}}
{{-- Slightly smaller icon --}}
{{ $box['label'] }}:
{{ $box['value'] }}
| ID | Ordering By | Service | Brand | Product Item | Product Image | Price | Status | Action |
|---|
@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