Allow min:0 for consumables

This commit is contained in:
snipe 2018-10-15 16:52:20 -07:00
parent b8f8d49927
commit 78b6e84774

View file

@ -33,7 +33,7 @@ class Consumable extends SnipeModel
'qty' => 'required|integer|min:0', 'qty' => 'required|integer|min:0',
'category_id' => 'required|integer', 'category_id' => 'required|integer',
'company_id' => 'integer|nullable', 'company_id' => 'integer|nullable',
'min_amt' => 'integer|min:1|nullable', 'min_amt' => 'integer|min:0|nullable',
'purchase_cost' => 'numeric|nullable', 'purchase_cost' => 'numeric|nullable',
); );