Switch to older style rules for consistency

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-09-03 15:06:27 +01:00
parent f5c8b3eb04
commit b06c58fe7b
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class License extends Depreciable
'notes' => 'string|nullable',
'category_id' => 'required|exists:categories,id',
'company_id' => 'integer|nullable',
'purchase_cost' => ['nullable', 'numeric', 'gte:0', 'max:99999999999999999.99'],
'purchase_cost' => 'numeric|nullable|gte:0|max:99999999999999999.99',
'purchase_date' => 'date_format:Y-m-d|nullable|max:10|required_with:depreciation_id',
'expiration_date' => 'date_format:Y-m-d|nullable|max:10',
'termination_date' => 'date_format:Y-m-d|nullable|max:10',