Skip to content

A free open source IT asset/license management system

Increase max depreciation months

snipef520eaa6ce0b
diff --git a/app/Models/Depreciation.php b/app/Models/Depreciation.php
index 7754e1cc39..8caf747757 100755
--- a/app/Models/Depreciation.php
+++ b/app/Models/Depreciation.php
@@ -11,7 +11,7 @@ class Depreciation extends SnipeModel
// Declare the rules for the form validation
protected $rules = array(
'name' => 'required|min:3|max:255|unique:depreciations,name',
- 'months' => 'required|max:240|integer',
+ 'months' => 'required|max:3600|integer',
);
/**