A free open source IT asset/license management system
Added checkbox
snipe01c0e9d7329c
diff --git a/resources/views/components/edit.blade.php b/resources/views/components/edit.blade.phpindex 802ecbe885..d3ed745f89 100644--- a/resources/views/components/edit.blade.php+++ b/resources/views/components/edit.blade.php@@ -136,6 +136,12 @@<x-input.image-upload :item="$item" :imagePath="app('components_upload_path')" />+ <x-form.checkbox-row+ name="requestable"+ :label="trans('admin/hardware/general.requestable')"+ :item="$item"+ />+<x-slot:customfooter><x-redirect_submit_optionsindex_route="components.index"diff --git a/resources/views/consumables/edit.blade.php b/resources/views/consumables/edit.blade.phpindex dd081f70e2..1a83f0159b 100644--- a/resources/views/consumables/edit.blade.php+++ b/resources/views/consumables/edit.blade.php@@ -136,6 +136,12 @@<x-input.image-upload :item="$item" :imagePath="app('consumables_upload_path')" :clonedModel="$cloned_model ?? null" />+ <x-form.checkbox-row+ name="requestable"+ :label="trans('admin/hardware/general.requestable')"+ :item="$item"+ />+<x-slot:customfooter><x-redirect_submit_optionsindex_route="consumables.index"diff --git a/resources/views/licenses/edit.blade.php b/resources/views/licenses/edit.blade.phpindex 5886ee2054..9b1eca6d62 100755--- a/resources/views/licenses/edit.blade.php+++ b/resources/views/licenses/edit.blade.php@@ -171,6 +171,12 @@:item="$item"/>+ <x-form.checkbox-row+ name="requestable"+ :label="trans('admin/hardware/general.requestable')"+ :item="$item"+ />+<x-form.row:label="trans('general.notes')":$item