feat: Implement product and product category management with dedicated CRUD operations, services, and repositories.

This commit is contained in:
pbao9
2026-02-06 11:05:18 +07:00
parent eef04846a8
commit 92151261b3
61 changed files with 2331 additions and 656 deletions
@@ -7,44 +7,44 @@
@section('breadcrumb')
@php
$breadcrumbItems = [
['label' => 'Modules'],
['label' => 'IP Pools', 'active' => true],
];
$breadcrumbItems = [
['label' => 'Modules'],
['label' => 'IP Pools', 'active' => true],
];
@endphp
<x-admin-breadcrumb :items="$breadcrumbItems" />
@endsection
@section('tab')
@php
$tabs = [
[
'label' => 'DNS',
'route' => 'module.dns.index',
'icon' => 'server',
],
[
'label' => 'Hosting',
'route' => 'module.hosting.index',
'icon' => 'server',
],
[
'label' => 'vCenter',
'route' => 'module.vcenter.index',
'icon' => 'server',
],
[
'label' => 'IpPool',
'route' => 'module.ippool.index',
'icon' => 'server',
],
];
$tabs = [
[
'label' => 'DNS',
'route' => 'module.dns.index',
'icon' => 'server',
],
[
'label' => 'Hosting',
'route' => 'module.hosting.index',
'icon' => 'server',
],
[
'label' => 'vCenter',
'route' => 'module.vcenter.index',
'icon' => 'server',
],
[
'label' => 'IpPool',
'route' => 'module.ippool.index',
'icon' => 'server',
],
];
@endphp
<x-admin-tab :items="$tabs" />
@endsection
@section('content')
@if (auth()->guard('admins')->user()->can('manager module ippool'))
<div class="card card-primary card-outline">
<div class="card-header">
<div class="card-header d-flex justify-content-end gap-2">
@include('administrator.pages.block.ModuleIPPool')
</div>
<div class="card-body">