1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Stubs for supporting date ranges into charts

This commit is contained in:
David Bomba 2023-06-26 12:56:57 +10:00
parent 966f6b5ea9
commit 6424ed5a4b

View File

@ -28,8 +28,9 @@ class ShowChartRequest extends Request
public function rules()
{
return [
'start_date' => 'date',
'end_date' => 'date',
'date_range' => 'bail|sometimes|string|in:last7_days,last30_days,last365_days,this_month,last_month,this_quarter,last_quarter,this_year,last_year,all_time,custom',
'start_date' => 'bail|sometimes|date',
'end_date' => 'bail|sometimes|date',
];
}