mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Removed date
validation rule
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
9c79fc19cb
commit
25461caa2c
|
@ -105,8 +105,8 @@ class Asset extends Depreciable
|
||||||
'company_id' => 'integer|nullable',
|
'company_id' => 'integer|nullable',
|
||||||
'warranty_months' => 'numeric|nullable|digits_between:0,240',
|
'warranty_months' => 'numeric|nullable|digits_between:0,240',
|
||||||
'physical' => 'numeric|max:1|nullable',
|
'physical' => 'numeric|max:1|nullable',
|
||||||
'last_checkout' => 'date|date_format:Y-m-d H:i:s|nullable',
|
'last_checkout' => 'date_format:Y-m-d H:i:s|nullable',
|
||||||
'expected_checkin' => 'date|date_format:Y-m-d|nullable',
|
'expected_checkin' => 'date_format:Y-m-d|nullable',
|
||||||
'location_id' => 'exists:locations,id|nullable',
|
'location_id' => 'exists:locations,id|nullable',
|
||||||
'rtd_location_id' => 'exists:locations,id|nullable',
|
'rtd_location_id' => 'exists:locations,id|nullable',
|
||||||
'asset_tag' => 'required|min:1|max:255|unique_undeleted',
|
'asset_tag' => 'required|min:1|max:255|unique_undeleted',
|
||||||
|
|
Loading…
Reference in a new issue