Merge pull request #13777 from Robert-Azelis/Robert-Azelis-Cutom_Report_FIX

[FIX] Custom report - date fields error
This commit is contained in:
snipe 2023-10-24 10:27:58 +01:00 committed by GitHub
commit 29f438123e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,9 +22,6 @@ class CustomAssetReportRequest extends Request
public function rules()
{
return [
'purchase_date' => 'date|date_format:Y-m-d|nullable',
'checkout_date' => 'date|date_format:Y-m-d|nullable',
'checkin_date' => 'date|date_format:Y-m-d|nullable',
'purchase_start' => 'date|date_format:Y-m-d|nullable',
'purchase_end' => 'date|date_format:Y-m-d|nullable',
'created_start' => 'date|date_format:Y-m-d|nullable',