mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 03:34:36 -04:00
Stubs for supporting date ranges into charts
This commit is contained in:
parent
966f6b5ea9
commit
6424ed5a4b
@ -28,8 +28,9 @@ class ShowChartRequest extends Request
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'start_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',
|
||||||
'end_date' => 'date',
|
'start_date' => 'bail|sometimes|date',
|
||||||
|
'end_date' => 'bail|sometimes|date',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user