A free open source IT asset/license management system
doesn't allow months to be zero
Godfrey Me5deb4b41386
diff --git a/app/Models/Depreciation.php b/app/Models/Depreciation.phpindex 39fb935494..9faa1b86e2 100755--- a/app/Models/Depreciation.php+++ b/app/Models/Depreciation.php@@ -16,7 +16,7 @@ class Depreciation extends SnipeModel// Declare the rules for the form validationprotected $rules = ['name' => 'required|min:3|max:255|unique:depreciations,name',- 'months' => 'required|max:3600|integer',+ 'months' => 'required|max:3600|integer|gt:0',];/**