mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Fixes #2833 - changed minimum qty to 0
This commit is contained in:
parent
9b714a5af5
commit
2fe71f3ebc
|
@ -28,7 +28,7 @@ class Accessory extends Model
|
||||||
'qty' => 'required|integer|min:1',
|
'qty' => 'required|integer|min:1',
|
||||||
'category_id' => 'required|integer',
|
'category_id' => 'required|integer',
|
||||||
'company_id' => 'integer',
|
'company_id' => 'integer',
|
||||||
'min_amt' => 'integer|min:1',
|
'min_amt' => 'integer|min:0',
|
||||||
'purchase_cost' => 'numeric',
|
'purchase_cost' => 'numeric',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue