A free open source IT asset/license management system
Removed `date` validation rule
snipe25461caa2c7b
diff --git a/app/Models/Asset.php b/app/Models/Asset.phpindex 3c1bc9beca..c3052d455c 100644--- a/app/Models/Asset.php+++ b/app/Models/Asset.php@@ -105,8 +105,8 @@ class Asset extends Depreciable'company_id' => 'integer|nullable','warranty_months' => 'numeric|nullable|digits_between:0,240','physical' => 'numeric|max:1|nullable',- 'last_checkout' => 'date|date_format:Y-m-d H:i:s|nullable',- 'expected_checkin' => 'date|date_format:Y-m-d|nullable',+ 'last_checkout' => 'date_format:Y-m-d H:i:s|nullable',+ 'expected_checkin' => 'date_format:Y-m-d|nullable','location_id' => 'exists:locations,id|nullable','rtd_location_id' => 'exists:locations,id|nullable','asset_tag' => 'required|min:1|max:255|unique_undeleted',