Export: fix typo in filter "filter accompanying period work on end date

This commit is contained in:
Julien Fastré 2023-11-13 12:09:18 +01:00
parent 2cc5fa06ae
commit 847c8238e8
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
kind: Fixed
body: 'Export: fix typo in filter "filter accompanying period work on end date"'
time: 2023-11-13T12:08:55.509927824+01:00
custom:
Issue: ""

View File

@ -54,7 +54,7 @@ final readonly class AccompanyingPeriodWorkEndDateBetweenDateFilter implements F
public function describeAction($data, $format = 'string'): array
{
return [
'export.filter.work.end_between_dates.Only where end date is between %endDate% and %endDate%',
'export.filter.work.end_between_dates.Only where start date is between %startDate% and %endDate%',
[
'%startDate%' => null !== $data['start_date'] ? $this->rollingDateConverter->convert($data['start_date'])->format('d-m-Y') : '',
'%endDate%' => null !== $data['end_date'] ? $this->rollingDateConverter->convert($data['end_date'])->format('d-m-Y') : '',