Caps asset warranty to 20 years

This commit is contained in:
snipe 2019-07-18 09:49:58 -07:00
parent 61fb38087e
commit cef22c3158

View file

@ -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',