[export] Add referrer on accompanying course filter between dates feature and relevant tests

Implemented a new filter to the software for social workers. This filter, ReferrerFilterBetweenDates, enables filtering of query results based on a range of dates and accepted referrers. Tests for this new functionality have also been added to ensure the feature works as expected.
This commit is contained in:
2024-01-23 14:20:27 +01:00
parent 3871299346
commit c707a34f16
5 changed files with 227 additions and 2 deletions

View File

@@ -96,11 +96,14 @@ services:
tags:
- { name: chill.export_filter, alias: accompanyingcourse_activeonedaybetweendates_filter }
chill.person.export.filter_referrer:
class: Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\ReferrerFilter
Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\ReferrerFilter:
tags:
- { name: chill.export_filter, alias: accompanyingcourse_referrer_filter }
Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\ReferrerFilterBetweenDates:
tags:
- { name: chill.export_filter, alias: accompanyingcourse_referrer_filter_between_dates }
chill.person.export.filter_openbetweendates:
class: Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\OpenBetweenDatesFilter
tags: