[FIX] Custom report - date fields error

Custom report in v6.2.3 give Error if selected are fields:
Purchase Date, Checkout Date, Last Checkin Date, Expected Checkin Date
Reason is: date field format
This commit is contained in:
Robert-Azelis 2023-10-22 16:28:44 +02:00 committed by GitHub
parent 38066bf162
commit 47186b0abe
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',