mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixes #4220 - allow nullable for completion date
This commit is contained in:
parent
6517a95d45
commit
37df934e97
|
@ -29,7 +29,7 @@ class AssetMaintenance extends Model implements ICompanyableChild
|
|||
'title' => 'required|max:100',
|
||||
'is_warranty' => 'boolean',
|
||||
'start_date' => 'required|date_format:"Y-m-d"',
|
||||
'completion_date' => 'date_format:"Y-m-d"',
|
||||
'completion_date' => 'nullable|date_format:"Y-m-d"',
|
||||
'notes' => 'string|nullable',
|
||||
'cost' => 'numeric|nullable'
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue