Allow 0 as a consumable min amt

This commit is contained in:
snipe 2018-10-15 17:04:51 -07:00
parent 835b461d7d
commit 8579c5a68a

View file

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