adds validation for all purchase costs variables

This commit is contained in:
Godfrey M
2022-05-10 16:26:06 -07:00
parent 33b1ab3658
commit 2c1f368828
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -48,6 +48,7 @@ class License extends Depreciable
'notes' => 'string|nullable',
'category_id' => 'required|exists:categories,id',
'company_id' => 'integer|nullable',
'purchase_cost'=> 'numeric|nullable|gte:0',
];
/**