Removed date validation rule

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-02-15 12:53:55 -08:00
parent 9c79fc19cb
commit 25461caa2c

View file

@ -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',