c707a34f16
[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.
2024-02-07 15:31:45 +01:00
e2e0b08210
Add HasTemporaryLocationFilter test and update filter parameters
...
A new test HasTemporaryLocationFilterTest has been added under ChillPersonBundle. This test mainly focuses on checking the filter functionalities related to temporary locations. In addition, the 'having_temporarily' parameter has been added to 'calc_date' field in HasTemporaryLocationFilter class.
2024-02-07 14:28:24 +01:00
950835c10b
Add filter for courses not linked to a reference address
...
This commit introduces a new filter to the Accompanying Course section. It allows users to filter for courses that are not associated with a reference address. The accompanying test and translation changes are also included in this update.
2024-02-07 13:38:15 +01:00
f02168950f
Export: group accompanying period by person participating
2024-02-07 13:16:07 +01:00
58c2235b88
Merge branch 'issue231_person_with_participation_filter' into 'master'
...
Add WithParticipationBetweenDatesFilter to ChillPersonBundle
See merge request Chill-Projet/chill-bundles!639
2024-02-07 10:54:30 +00:00
036fe8d6f8
upgrade php-cs 3.49
2024-02-07 10:43:53 +01:00
27ce322690
upgrade php-cs-fixer to 3.47.0
2024-01-22 12:14:39 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
825cd127d1
update php-cs-fixer and rector + fix rules
2024-01-09 13:50:45 +01:00
4d72933edb
Add condition to household export queries to exclude accompanying periods that are in draft.
2023-12-20 10:46:29 +00:00
469e379166
php cs fixes
2023-12-18 17:05:18 +01:00
f103b228e4
Create test for the participationBetweenDatesFilter
2023-12-18 17:04:42 +01:00
1098bafd3d
Replaced the deprecated 'self::$container->get' with 'self::getContainer()->get' using rector
...
This change is made to comply with the new Symfony standards and to avoid deprecation warnings for future versions. The update touches various functionalities, including retrieving EntityManagerInterface instance and various service classes within the test files.
2023-12-14 23:36:56 +01:00
2dd1b7c943
Fix some tests
2023-12-14 23:05:35 +01:00
912f7d3211
remove some deprecations
2023-12-14 14:09:57 +01:00
47c3be6217
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2023-12-13 16:04:48 +01:00
0da12cdc2e
Merge branch '245-rewrite-test-relationship-api' into 'master'
...
Refactor RelationshipApiControllerTest to avoid failures
Closes #245
See merge request Chill-Projet/chill-bundles!635
2023-12-13 15:02:42 +00:00
99b7b2ec88
upgrade rector rules and apply them
2023-12-12 17:17:15 +01:00
2adb6105eb
Merge branch '246-do-not-show-confidential-in-list' into 'master'
...
Filter confidential courses from list of accompanying periods and related
Closes #246
See merge request Chill-Projet/chill-bundles!633
2023-12-11 16:22:38 +00:00
f02873c6e0
Refactor RelationshipApiControllerTest
...
The codebase has been improved by refining and optimizing the test methods in the RelationshipApiControllerTest class. The check for relations was also added to exclude persons without any relationship, this may exclude duplicate relations. This change should avoid errors on this test.
2023-12-08 11:07:14 +01:00
f0605c6b08
Use dedicated FilterListAccompanyingPeriodHelper to filter confidential course in different lists
2023-12-07 16:18:37 +01:00
54606403b4
Refactor confidential filtering on list to let it usable by other lists
2023-12-07 15:13:54 +01:00
47d829d72d
Filter confidential courses from list of accompanying periods
2023-12-06 22:46:50 +01:00
00de657cae
Fix filter evaluation by evaluation type
2023-12-01 09:46:02 +01:00
98fd5cae78
Merge branch '204-export-action-creator' into 'master'
...
[export] add filters/aggregators for creator works action
Closes #204
See merge request Chill-Projet/chill-bundles!610
2023-11-15 12:49:08 +00:00
e9df26c2f7
Export: add clauses on the social work start date and end date within the filter "Filter accompanying period by accompanying period work"'
2023-11-15 13:25:08 +01:00
af585bada3
Export: add a export which count persons on accompanying period work
2023-11-15 13:24:59 +01:00
f9763b866d
add 6 new tests for filters/aggrs
2023-11-15 13:00:45 +01:00
3743b336a6
Export: create an export which add the average duration of accompanying period work
2023-11-15 11:42:34 +00:00
3332413fe0
Merge branch '199-missing-exports' into 'master'
...
Add missing filters and grouping
Closes #189 , #200 , and #199
See merge request Chill-Projet/chill-bundles!609
2023-11-14 20:24:21 +00:00
1663c6f7c7
DX: rename CountHousehold => CountHouseholdInPeriod.php + add test
2023-11-14 21:17:08 +01:00
2cc5fa06ae
Export: split export about person on accompanying period work: one with the
...
people associated with the work, another one with the people associated with the
accompanying period
2023-11-14 21:17:07 +01:00
0d741ab886
Export: add grouping "group peoples by postal code"
2023-11-14 21:17:07 +01:00
ac9897d9e7
DX: add a test to ensure that accompanyingPeriodWork::getReferrers is a list
2023-11-14 20:33:18 +01:00
6fd80f9f2e
[export] fix data type from form: either collection or array
2023-11-05 23:08:13 +01:00
617d09ab8a
Merge branch '179-remove-filter-by-center-in-exports' into 'master'
...
Resolve "Export: permettre de ne pas filtrer les résultats par centre"
Closes #179
See merge request Chill-Projet/chill-bundles!599
2023-10-24 13:18:03 +00:00
a6e930958b
[export] create a parameter that will force to skip the filtering by center (ACL) when generating an export
2023-10-19 17:19:28 +02:00
a4edb34668
[export] add a filter and aggregator on accompanying period work: group/filter by handling third party
2023-10-19 10:33:55 +02:00
f799fe0649
[export] add a grouping of accompanying period by opening and closing date
2023-10-19 10:33:54 +02:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
75e15c1389
Fix ClosingMotiveRender: rendering of label 'canceled' at the end of child, and remove trailing spaces
2023-10-17 10:43:12 +02:00
dd47ddc268
DX: Fix user repository test
2023-10-16 17:26:15 +02:00
0df93fb703
DX: Fix test for PersonMoveTest.php
2023-10-16 17:19:28 +02:00
93b189b091
DX: Fix HouseholdApiControllerTest.php
2023-10-16 16:20:25 +02:00
efcb903d10
Fix direct kernel deprecation in AccompanyingCourseApiControllerTest
2023-10-16 16:20:24 +02:00
b65f76262a
Refactor filters and aggregators of "acpwusers" for using the acpw referrer history instead
2023-10-16 16:20:24 +02:00
51a4ffca2e
Fix cs with new cs rules (php-cs-fixer version 3.35)
2023-10-16 11:59:49 +02:00
68d28f3e28
Fix filtres and scopes to take into account job and scope when the refferrer is add to the accompanying period work
2023-10-16 11:52:03 +02:00
978db5a5c5
update some queries in the interface to take into account history of user's scope and user's job
2023-10-16 11:52:02 +02:00
363785b779
Update schema to store accompanying period work referrer history
2023-10-11 15:37:44 +02:00