mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 11:20:39 -06:00
Rename export date range in other forms. Makes the rule group runner by @roberthorlings more consistent.
This commit is contained in:
parent
ce0ca23d79
commit
bd9f1d5398
@ -119,8 +119,8 @@ class ExportController extends Controller
|
||||
$job = $jobs->findByKey($request->get('job'));
|
||||
$settings = [
|
||||
'accounts' => $repository->get($request->get('accounts')),
|
||||
'startDate' => new Carbon($request->get('start_date')),
|
||||
'endDate' => new Carbon($request->get('end_date')),
|
||||
'startDate' => new Carbon($request->get('export_start_range')),
|
||||
'endDate' => new Carbon($request->get('export_end_range')),
|
||||
'exportFormat' => $request->get('exportFormat'),
|
||||
'includeAttachments' => intval($request->get('include_attachments')) === 1,
|
||||
'includeConfig' => intval($request->get('include_config')) === 1,
|
||||
|
@ -42,8 +42,8 @@ class ExportFormRequest extends Request
|
||||
$formats = join(',', array_keys(config('firefly.export_formats')));
|
||||
|
||||
return [
|
||||
'start_date' => 'required|date|after:' . $first,
|
||||
'end_date' => 'required|date|before:' . $today,
|
||||
'export_start_range' => 'required|date|after:' . $first,
|
||||
'export_end_range' => 'required|date|before:' . $today,
|
||||
'accounts' => 'required',
|
||||
'job' => 'required|belongsToUser:export_jobs,key',
|
||||
'accounts.*' => 'required|exists:accounts,id|belongsToUser:accounts',
|
||||
|
@ -71,8 +71,10 @@ return [
|
||||
'size' => 'Size',
|
||||
'trigger' => 'Trigger',
|
||||
'stop_processing' => 'Stop processing',
|
||||
'start_date' => 'Start of export range',
|
||||
'end_date' => 'End of export range',
|
||||
'start_date' => 'Start of range',
|
||||
'end_date' => 'End of range',
|
||||
'export_start_range' => 'Start of export range',
|
||||
'export_end_range' => 'End of export range',
|
||||
'export_format' => 'File format',
|
||||
'include_attachments' => 'Include uploaded attachments',
|
||||
'include_config' => 'Include configuration file',
|
||||
|
Loading…
Reference in New Issue
Block a user