feat: implement import and export functionality for product categories and products

This commit is contained in:
pbao9
2026-02-21 11:28:03 +07:00
parent bfabd54176
commit 71e70b01da
11 changed files with 359 additions and 4 deletions
@@ -36,7 +36,7 @@
@if (auth()->guard('admins')->user()->can('manager product'))
<div class="card rounded-4 shadow-none">
<div class="card-header d-flex justify-content-end gap-2 rounded-top-4">
@include('administrator.pages.block.product.btn')
@include('administrator.pages.block.product.btn_categories')
</div>
<div class="card-body p-0">
<x-datatable id="productTable" ajax="{{ route('products.group.datatable') }}"
@@ -63,4 +63,6 @@
@foreach (config('assets.datatable.js') as $datatable)
<script src="{{ asset($datatable) }}"></script>
@endforeach
@endpush
@endpush
@stack('modals')