diff --git a/app/Livewire/Datatable/Studio/Catalog/BottlesTable.php b/app/Livewire/Datatable/Studio/Catalog/BottlesTable.php index 63f20d3..50643bb 100644 --- a/app/Livewire/Datatable/Studio/Catalog/BottlesTable.php +++ b/app/Livewire/Datatable/Studio/Catalog/BottlesTable.php @@ -116,14 +116,14 @@ class='flex items-center space-x-2 bg-gray-50 border border-gray-200 rounded-lg $actions = ''; if (auth()->user()->can('update bottle')) { - $actions .= view('components.datatables.edit', [ + $actions .= view('components.actions.table.edit', [ 'id' => $row->hash, 'editRoute' => route('studio.catalog.bottle.edit', $row->hash), ])->render(); } if (auth()->user()->can('delete bottle')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.catalog.bottle.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Catalog/BrandsTable.php b/app/Livewire/Datatable/Studio/Catalog/BrandsTable.php index 6d3566e..3232fc4 100644 --- a/app/Livewire/Datatable/Studio/Catalog/BrandsTable.php +++ b/app/Livewire/Datatable/Studio/Catalog/BrandsTable.php @@ -36,7 +36,7 @@ public function columns(): array if (auth()->user()->can('update brand')) { if ($row->sort_order > 1) { - $actions .= view('components.datatables.sort-button', [ + $actions .= view('components.actions.table.sort-button', [ 'id' => $row->hash, 'module' => 'brand', 'direction' => 'up', @@ -45,7 +45,7 @@ public function columns(): array 'icon' => 'arrow-up', ])->render(); - $actions .= view('components.datatables.sort-button', [ + $actions .= view('components.actions.table.sort-button', [ 'id' => $row->hash, 'module' => 'brand', 'direction' => 'first', @@ -56,7 +56,7 @@ public function columns(): array } if ($row->sort_order < $maxSortOrder) { - $actions .= view('components.datatables.sort-button', [ + $actions .= view('components.actions.table.sort-button', [ 'id' => $row->hash, 'module' => 'brand', 'direction' => 'down', @@ -65,7 +65,7 @@ public function columns(): array 'icon' => 'arrow-down', ])->render(); - $actions .= view('components.datatables.sort-button', [ + $actions .= view('components.actions.table.sort-button', [ 'id' => $row->hash, 'module' => 'brand', 'direction' => 'last', @@ -77,7 +77,7 @@ public function columns(): array } if (auth()->user()->can('update brand')) { - $actions .= view('components.datatables.edit-modal', [ + $actions .= view('components.actions.table.edit-modal', [ 'id' => $row->hash, 'method' => 'update', 'modalTitle' => 'Ubah Kategori', @@ -85,7 +85,7 @@ public function columns(): array } if (auth()->user()->can('delete brand')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.catalog.brand.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Catalog/CategoriesTable.php b/app/Livewire/Datatable/Studio/Catalog/CategoriesTable.php index 3bc92fa..59cd46d 100644 --- a/app/Livewire/Datatable/Studio/Catalog/CategoriesTable.php +++ b/app/Livewire/Datatable/Studio/Catalog/CategoriesTable.php @@ -27,7 +27,7 @@ public function columns(): array if (auth()->user()->can('update category')) { if ($row->sort_order > 1) { - $actions .= view('components.datatables.sort-button', [ + $actions .= view('components.actions.table.sort-button', [ 'id' => $row->hash, 'module' => 'category', 'direction' => 'up', @@ -36,7 +36,7 @@ public function columns(): array 'icon' => 'arrow-up', ])->render(); - $actions .= view('components.datatables.sort-button', [ + $actions .= view('components.actions.table.sort-button', [ 'id' => $row->hash, 'module' => 'category', 'direction' => 'first', @@ -47,7 +47,7 @@ public function columns(): array } if ($row->sort_order < $maxSortOrder) { - $actions .= view('components.datatables.sort-button', [ + $actions .= view('components.actions.table.sort-button', [ 'id' => $row->hash, 'module' => 'category', 'direction' => 'down', @@ -56,7 +56,7 @@ public function columns(): array 'icon' => 'arrow-down', ])->render(); - $actions .= view('components.datatables.sort-button', [ + $actions .= view('components.actions.table.sort-button', [ 'id' => $row->hash, 'module' => 'category', 'direction' => 'last', @@ -68,7 +68,7 @@ public function columns(): array } if (auth()->user()->can('update category')) { - $actions .= view('components.datatables.edit-modal', [ + $actions .= view('components.actions.table.edit-modal', [ 'id' => $row->hash, 'method' => 'update', 'modalTitle' => 'Ubah Kategori', @@ -76,7 +76,7 @@ public function columns(): array } if (auth()->user()->can('delete category')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.catalog.category.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Catalog/PerfumesTable.php b/app/Livewire/Datatable/Studio/Catalog/PerfumesTable.php index 9e11234..f76c832 100644 --- a/app/Livewire/Datatable/Studio/Catalog/PerfumesTable.php +++ b/app/Livewire/Datatable/Studio/Catalog/PerfumesTable.php @@ -119,14 +119,14 @@ class='flex items-center space-x-2 bg-gray-50 border border-gray-200 rounded-lg $actions = ''; if (auth()->user()->can('update perfume')) { - $actions .= view('components.datatables.edit', [ + $actions .= view('components.actions.table.edit', [ 'id' => $row->hash, 'editRoute' => route('studio.catalog.perfume.edit', $row->hash), ])->render(); } if (auth()->user()->can('delete perfume')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.catalog.perfume.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Catalog/ProductsTable.php b/app/Livewire/Datatable/Studio/Catalog/ProductsTable.php index 36b8674..339444d 100644 --- a/app/Livewire/Datatable/Studio/Catalog/ProductsTable.php +++ b/app/Livewire/Datatable/Studio/Catalog/ProductsTable.php @@ -108,14 +108,14 @@ class='flex items-center space-x-2 bg-gray-50 border border-gray-200 rounded-lg $actions = ''; if (auth()->user()->can('update product')) { - $actions .= view('components.datatables.edit', [ + $actions .= view('components.actions.table.edit', [ 'id' => $row->hash, 'editRoute' => route('studio.catalog.product.edit', $row->hash), ])->render(); } if (auth()->user()->can('delete product')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.catalog.product.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Finance/ExpensesTable.php b/app/Livewire/Datatable/Studio/Finance/ExpensesTable.php index e92b26a..fe184f2 100644 --- a/app/Livewire/Datatable/Studio/Finance/ExpensesTable.php +++ b/app/Livewire/Datatable/Studio/Finance/ExpensesTable.php @@ -41,7 +41,7 @@ public function columns(): array if ($row->user_id == auth()->id() || auth()->user()->hasAnyRole(['Developer', 'Owner'])) { if (auth()->user()->can('update expense')) { - $actions .= view('components.datatables.edit-modal', [ + $actions .= view('components.actions.table.edit-modal', [ 'id' => $row->hash, 'method' => 'update', 'modalTitle' => 'Ubah Kategori', @@ -49,7 +49,7 @@ public function columns(): array } if (auth()->user()->can('delete expense')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.finance.expense.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Information/PriceRequestsTable.php b/app/Livewire/Datatable/Studio/Information/PriceRequestsTable.php index c2fc2da..6cb7d00 100644 --- a/app/Livewire/Datatable/Studio/Information/PriceRequestsTable.php +++ b/app/Livewire/Datatable/Studio/Information/PriceRequestsTable.php @@ -61,7 +61,7 @@ public function columns(): array $actions = ''; if (auth()->user()->can('approve price request') && $row->status === PriceRequestStatus::PENDING) { - $actions .= view('components.datatables.confirm', [ + $actions .= view('components.actions.table.confirm', [ 'id' => $row->hash, 'message' => 'Pemohon yang diterima bisa melihat data harga beli.', 'confirmButtonText' => 'Ya, Terima', @@ -73,7 +73,7 @@ public function columns(): array } if (auth()->user()->can('reject price request') && $row->status === PriceRequestStatus::PENDING) { - $actions .= view('components.datatables.confirm', [ + $actions .= view('components.actions.table.confirm', [ 'id' => $row->hash, 'message' => 'Jika ditolak, pomohon tidak dapat melihat data harga beli.', 'confirmButtonText' => 'Ya, Tolak', diff --git a/app/Livewire/Datatable/Studio/Loyalty/CustomersTable.php b/app/Livewire/Datatable/Studio/Loyalty/CustomersTable.php index d7b3c9c..aa51117 100644 --- a/app/Livewire/Datatable/Studio/Loyalty/CustomersTable.php +++ b/app/Livewire/Datatable/Studio/Loyalty/CustomersTable.php @@ -74,7 +74,7 @@ public function columns(): array $actions = ''; if (auth()->user()->can('update customer')) { - $actions .= view('components.datatables.edit-modal', [ + $actions .= view('components.actions.table.edit-modal', [ 'id' => $row->hash, 'method' => 'update', 'modalTitle' => 'Ubah Customer', @@ -82,7 +82,7 @@ public function columns(): array } if (auth()->user()->can('delete customer')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.loyalty.customer.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Loyalty/VouchersTable.php b/app/Livewire/Datatable/Studio/Loyalty/VouchersTable.php index 80b173f..fea06c2 100644 --- a/app/Livewire/Datatable/Studio/Loyalty/VouchersTable.php +++ b/app/Livewire/Datatable/Studio/Loyalty/VouchersTable.php @@ -113,14 +113,14 @@ public function columns(): array $actions = ''; if (auth()->user()->can('update voucher')) { - $actions .= view('components.datatables.edit', [ + $actions .= view('components.actions.table.edit', [ 'id' => $row->hash, 'editRoute' => route('studio.loyalty.voucher.edit', $row->hash), ])->render(); } if (auth()->user()->can('delete voucher')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.loyalty.voucher.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Manage/ArticlesTable.php b/app/Livewire/Datatable/Studio/Manage/ArticlesTable.php index 4e162ac..2ee68a4 100644 --- a/app/Livewire/Datatable/Studio/Manage/ArticlesTable.php +++ b/app/Livewire/Datatable/Studio/Manage/ArticlesTable.php @@ -40,14 +40,14 @@ public function columns(): array $actions = ''; if (auth()->user()->can('update article')) { - $actions .= view('components.datatables.edit', [ + $actions .= view('components.actions.table.edit', [ 'id' => $row->hash, 'editRoute' => route('studio.manage.article.edit', $row->hash), ])->render(); } if (auth()->user()->can('delete article')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.manage.article.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Manage/OrdersTable.php b/app/Livewire/Datatable/Studio/Manage/OrdersTable.php index 9c1cb49..36695ef 100644 --- a/app/Livewire/Datatable/Studio/Manage/OrdersTable.php +++ b/app/Livewire/Datatable/Studio/Manage/OrdersTable.php @@ -115,20 +115,20 @@ public function columns(): array $actions = ''; if (auth()->user()->can('create order') && auth()->user()->can('show order')) { - $actions .= view('components.datatables.print', [ + $actions .= view('components.actions.table.print', [ 'id' => $row->hash, ])->render(); } if (auth()->user()->can('show order')) { - $actions .= view('components.datatables.show', [ + $actions .= view('components.actions.table.show', [ 'id' => $row->hash, 'showRoute' => route('studio.manage.order.show', $row->hash), ])->render(); } if (auth()->user()->can('delete order')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.manage.order.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Manage/PurchasesTable.php b/app/Livewire/Datatable/Studio/Manage/PurchasesTable.php index 33831c5..7f94c7c 100644 --- a/app/Livewire/Datatable/Studio/Manage/PurchasesTable.php +++ b/app/Livewire/Datatable/Studio/Manage/PurchasesTable.php @@ -63,7 +63,7 @@ public function columns(): array $actions = ''; if (auth()->user()->can('delete purchase')) { - $actions .= view('components.datatables.delete', [ + $actions .= view('components.actions.table.delete', [ 'id' => $row->hash, 'deleteRoute' => route('studio.manage.purchase.delete', $row->hash), ])->render(); diff --git a/app/Livewire/Datatable/Studio/Manage/StockOpnameTable.php b/app/Livewire/Datatable/Studio/Manage/StockOpnameTable.php index f4049f7..d80f567 100644 --- a/app/Livewire/Datatable/Studio/Manage/StockOpnameTable.php +++ b/app/Livewire/Datatable/Studio/Manage/StockOpnameTable.php @@ -32,7 +32,7 @@ public function columns(): array $actions = ''; if (auth()->user()->can('show stock opname')) { - $actions .= view('components.datatables.new-page-action', [ + $actions .= view('components.actions.table.new-page-action', [ 'label' => 'Lihat', 'route' => route('studio.manage.stock_opname.show', ['stockOpname', $row->hash]), 'buttonColor' => 'blue', diff --git a/resources/views/components/actions/table/confirm.blade.php b/resources/views/components/actions/table/confirm.blade.php index 95f57fe..2f4dbb3 100644 --- a/resources/views/components/actions/table/confirm.blade.php +++ b/resources/views/components/actions/table/confirm.blade.php @@ -1,4 +1,4 @@ - + @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/catalog/brands.blade.php b/resources/views/livewire/studio/catalog/brands.blade.php index 51f2811..bcee7d5 100644 --- a/resources/views/livewire/studio/catalog/brands.blade.php +++ b/resources/views/livewire/studio/catalog/brands.blade.php @@ -19,7 +19,7 @@ @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/catalog/categories.blade.php b/resources/views/livewire/studio/catalog/categories.blade.php index 0a2b14f..60f2b23 100644 --- a/resources/views/livewire/studio/catalog/categories.blade.php +++ b/resources/views/livewire/studio/catalog/categories.blade.php @@ -19,7 +19,7 @@ @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/catalog/perfume/index.blade.php b/resources/views/livewire/studio/catalog/perfume/index.blade.php index 0e0e7db..63bc75f 100644 --- a/resources/views/livewire/studio/catalog/perfume/index.blade.php +++ b/resources/views/livewire/studio/catalog/perfume/index.blade.php @@ -26,7 +26,7 @@ class="text-sm"> @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/catalog/product/index.blade.php b/resources/views/livewire/studio/catalog/product/index.blade.php index 3d60824..7783220 100644 --- a/resources/views/livewire/studio/catalog/product/index.blade.php +++ b/resources/views/livewire/studio/catalog/product/index.blade.php @@ -26,7 +26,7 @@ class="text-sm"> @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/finance/expenses.blade.php b/resources/views/livewire/studio/finance/expenses.blade.php index 7a41c32..b4313ce 100644 --- a/resources/views/livewire/studio/finance/expenses.blade.php +++ b/resources/views/livewire/studio/finance/expenses.blade.php @@ -20,7 +20,7 @@ @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/finance/payrolls.blade.php b/resources/views/livewire/studio/finance/payrolls.blade.php index 13a1be7..d0f8a4e 100644 --- a/resources/views/livewire/studio/finance/payrolls.blade.php +++ b/resources/views/livewire/studio/finance/payrolls.blade.php @@ -88,7 +88,7 @@ class="font-bold {{ $item->type->value == \App\Enums\SalaryAdjustmentType::DEDUC @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/information/price-requests.blade.php b/resources/views/livewire/studio/information/price-requests.blade.php index efa4760..f7ca4b8 100644 --- a/resources/views/livewire/studio/information/price-requests.blade.php +++ b/resources/views/livewire/studio/information/price-requests.blade.php @@ -10,7 +10,7 @@ @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/loyalty/customers.blade.php b/resources/views/livewire/studio/loyalty/customers.blade.php index 1801756..1f93cc5 100644 --- a/resources/views/livewire/studio/loyalty/customers.blade.php +++ b/resources/views/livewire/studio/loyalty/customers.blade.php @@ -30,7 +30,7 @@ @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/loyalty/tier/reward.blade.php b/resources/views/livewire/studio/loyalty/tier/reward.blade.php index db25fba..eb425b4 100644 --- a/resources/views/livewire/studio/loyalty/tier/reward.blade.php +++ b/resources/views/livewire/studio/loyalty/tier/reward.blade.php @@ -83,7 +83,7 @@ @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/loyalty/voucher/index.blade.php b/resources/views/livewire/studio/loyalty/voucher/index.blade.php index 03cced2..5b29f1b 100644 --- a/resources/views/livewire/studio/loyalty/voucher/index.blade.php +++ b/resources/views/livewire/studio/loyalty/voucher/index.blade.php @@ -29,7 +29,7 @@ class="text-sm"> @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/manage/article/index.blade.php b/resources/views/livewire/studio/manage/article/index.blade.php index 1e57370..b3d67e1 100644 --- a/resources/views/livewire/studio/manage/article/index.blade.php +++ b/resources/views/livewire/studio/manage/article/index.blade.php @@ -18,7 +18,7 @@ class="text-sm"> @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/manage/order/index.blade.php b/resources/views/livewire/studio/manage/order/index.blade.php index 94a3157..e9b62a9 100644 --- a/resources/views/livewire/studio/manage/order/index.blade.php +++ b/resources/views/livewire/studio/manage/order/index.blade.php @@ -21,7 +21,7 @@ class="text-sm"> @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/manage/purchase/index.blade.php b/resources/views/livewire/studio/manage/purchase/index.blade.php index 2027e57..a485ef0 100644 --- a/resources/views/livewire/studio/manage/purchase/index.blade.php +++ b/resources/views/livewire/studio/manage/purchase/index.blade.php @@ -25,7 +25,7 @@ class="text-sm"> @include('components.modals.confirmation', [ - 'modalName' => 'confirmation-modal', + 'modalName' => 'delete-confirmation', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', diff --git a/resources/views/livewire/studio/manage/stock-opname/index.blade.php b/resources/views/livewire/studio/manage/stock-opname/index.blade.php index 2d38749..e43a3dc 100644 --- a/resources/views/livewire/studio/manage/stock-opname/index.blade.php +++ b/resources/views/livewire/studio/manage/stock-opname/index.blade.php @@ -62,7 +62,7 @@ @if ($item->progress_percent == 100) - + status === \App\Enums\StockOpnameStatus::PENDING_APPROVAL && auth()->user()->can('approve stock opname')) - +