mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Allow min:0 for consumables
This commit is contained in:
parent
b8f8d49927
commit
78b6e84774
|
@ -33,7 +33,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',
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue