A free open source IT asset/license management system
Added validation and fillable attributes for min_amt
snipe4ab711298863
diff --git a/app/Models/License.php b/app/Models/License.phpindex 2ea10939fa..7fb4f9e4cb 100755--- a/app/Models/License.php+++ b/app/Models/License.php@@ -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;