A free open source IT asset/license management system
Caps asset warranty to 20 years
snipecef22c3158b8
diff --git a/app/Models/Asset.php b/app/Models/Asset.phpindex 0f076bb14e..be860e157e 100644--- a/app/Models/Asset.php+++ b/app/Models/Asset.php@@ -75,7 +75,7 @@ class Asset extends Depreciable'model_id' => 'required|integer|exists:models,id','status_id' => 'required|integer|exists:status_labels,id','company_id' => 'integer|nullable',- 'warranty_months' => 'numeric|nullable|max:3',+ 'warranty_months' => 'numeric|nullable|max:240','physical' => 'numeric|max:1|nullable','checkout_date' => 'date|max:10|min:10|nullable','checkin_date' => 'date|max:10|min:10|nullable',