Merge pull request #12533 from snipe/fixes/expected_checkin_wtf

FML - this is a hotfix and I don’t know why this is causing problems
This commit is contained in:
snipe 2023-02-16 17:01:54 -08:00 committed by GitHub
commit 248eb0885c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ class Asset extends Depreciable
'warranty_months' => 'numeric|nullable|digits_between:0,240',
'physical' => 'numeric|max:1|nullable',
'last_checkout' => 'date_format:Y-m-d H:i:s|nullable',
'expected_checkin' => 'date_format:Y-m-d|nullable',
'expected_checkin' => 'date|nullable',
'location_id' => 'exists:locations,id|nullable',
'rtd_location_id' => 'exists:locations,id|nullable',
'asset_tag' => 'required|min:1|max:255|unique_undeleted',