mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added validation and fillable attributes for min_amt
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
767cf96010
commit
4ab7112988
|
@ -53,6 +53,7 @@ class License extends Depreciable
|
|||
'purchase_date' => 'date_format:Y-m-d|nullable|max:10',
|
||||
'expiration_date' => 'date_format:Y-m-d|nullable|max:10',
|
||||
'termination_date' => 'date_format:Y-m-d|nullable|max:10',
|
||||
'min_amt' => 'numeric|nullable|gte:0',
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -81,6 +82,7 @@ class License extends Depreciable
|
|||
'supplier_id',
|
||||
'termination_date',
|
||||
'user_id',
|
||||
'min_amt',
|
||||
];
|
||||
|
||||
use Searchable;
|
||||
|
|
Loading…
Reference in a new issue