Auto commit for release 'develop' on 2024-10-07

This commit is contained in:
github-actions
2024-10-07 05:13:20 +02:00
parent d03960e379
commit da0b41e45c
8 changed files with 643 additions and 651 deletions

View File

@@ -80,14 +80,14 @@ class ChartRequest extends FormRequest
return [
'fields' => JsonApiRule::notSupported(),
'filter' => ['nullable', 'array',
new IsValidFilter(['start', 'end', 'preselected', 'accounts', 'period']),
new IsFilterValueIn('preselected', config('firefly.preselected_accounts')),
new IsValidFilter(['start', 'end', 'preselected', 'accounts', 'period']),
new IsFilterValueIn('preselected', config('firefly.preselected_accounts')),
],
'include' => JsonApiRule::notSupported(),
'page' => JsonApiRule::notSupported(),
'sort' => JsonApiRule::notSupported(),
//'start' => 'required|date|after:1900-01-01|before:2099-12-31',
//'end' => 'required|date|after_or_equal:start|before:2099-12-31|after:1900-01-01',
// 'start' => 'required|date|after:1900-01-01|before:2099-12-31',
// 'end' => 'required|date|after_or_equal:start|before:2099-12-31|after:1900-01-01',
];
// return [