A free open source IT asset/license management system
rm unused import, new prop
spencerrlonggc39d48461146
diff --git a/resources/views/categories/index.blade.php b/resources/views/categories/index.blade.phpindex 27a7d036d2..6c95800c7c 100755--- a/resources/views/categories/index.blade.php+++ b/resources/views/categories/index.blade.php@@ -19,6 +19,7 @@action_route="{{route('categories.bulk.delete')}}"id_formname="categoriesBulkForm"id_button="bulkCategoryEditButton"+ model_name="category">@can('delete', App\Models\Category::class)<option>Delete</option>diff --git a/resources/views/components/tables/bulk-actions.blade.php b/resources/views/components/tables/bulk-actions.blade.phpindex 6963ba73c0..b5938727bb 100644--- a/resources/views/components/tables/bulk-actions.blade.php+++ b/resources/views/components/tables/bulk-actions.blade.php@@ -1,10 +1,10 @@-@use (App\Models\Manufacturer)@props(['id_divname','id_formname','id_button','action_route','action_method',+ 'model_name' => 'asset',])<div id="{{ $id_divname }}" style="min-width:400px">@@ -18,7 +18,7 @@@csrf{{-- The sort and order will only be used if the cookie is actually empty (like on first-use)--}}- <input name="sort" type="hidden" value="assets.id">+ <input name="sort" type="hidden" value="{{`$model_name.id`}}"><input name="order" type="hidden" value="asc"><label for="bulk_actions"><span class="sr-only">diff --git a/resources/views/manufacturers/index.blade.php b/resources/views/manufacturers/index.blade.phpindex 6e31cd8420..83b8aca6eb 100755--- a/resources/views/manufacturers/index.blade.php+++ b/resources/views/manufacturers/index.blade.php@@ -35,6 +35,7 @@action_route="{{route('manufacturers.bulk.delete')}}"id_formname="manufacturersBulkForm"id_button="bulkManufacturerEditButton"+ model_name="manufacturer">@can('delete', App\Models\Manufacturer::class)<option>Delete</option>diff --git a/resources/views/suppliers/index.blade.php b/resources/views/suppliers/index.blade.phpindex 022203937e..e7e4dce49d 100755--- a/resources/views/suppliers/index.blade.php+++ b/resources/views/suppliers/index.blade.php@@ -23,6 +23,7 @@action_route="{{route('suppliers.bulk.delete')}}"id_formname="suppliersBulkForm"id_button="bulkSupplierEditButton"+ model_name="supplier">@can('delete', App\Models\Supplier::class)<option>Delete</option>