From cef22c3158b805070b8ae055bd054f46af5421ee Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 18 Jul 2019 09:49:58 -0700 Subject: [PATCH] Caps asset warranty to 20 years --- app/Models/Asset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Asset.php b/app/Models/Asset.php index 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',