98f47ac512
fixes for normalising accompanying periods in docgen context
2024-06-12 16:35:53 +02:00
31b541d12f
Update AccompanyingPeriodWorkNormalizer and related classes
...
Updated the AccompanyingPeriodWorkNormalizer, its test, and the related entity class. Now, the normalizer includes additional checks for different formats and conditions, and cleans the context accordingly before processing. AccompanyingPeriodWorkDocGenNormalizerTest now extends from a new abstract base class. Changes are made in AccompanyingPeriodWork entity for datetime handling and serialization.
2024-06-12 11:47:13 +02:00
0bfb3de465
fix cs
2024-06-11 16:58:33 +02:00
350d991a85
Update AccompanyingPeriod normalization with UserHistory
...
The AccompanyingPeriod normalization now includes 'createdBy' and 'ref' fields from the UserHistory. AccompanyingPeriodDocGenNormalizer has been modified adding UserHistory retrieval and subsequently normalization. A new method was also added to the AccompanyingPeriod entity to retrieve the current UserHistory.
2024-06-11 16:33:37 +02:00
29d57934a1
Update workflow rendering with date context
...
Code updates have been made in multiple files to ensure that when entities are rendered, it includes the appropriate context relating to the date. This adjustment has been primarily made in template files where the `chill_entity_render_box` function is used. These changes help to provide users with more accurate information regarding the state of an entity at a specific time.
2024-06-10 17:19:34 +02:00
c9e13be736
pipeline fixes for phpstan, cs-fixer, rector
2024-04-16 20:16:45 +02:00
1ecc825945
Correct 2 phpstan errors, condition is always true and wrong typing
2024-04-16 12:01:40 +02:00
addc623add
php style fixer
2024-04-16 12:01:37 +02:00
bc683b28d6
update normalizers to take into account referrerHistory logic for accompanying period work
2024-04-16 11:55:50 +02:00
036fe8d6f8
upgrade php-cs 3.49
2024-02-07 10:43:53 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
89e19502d3
Export: in filter "Filter accompanying period work (social action) by type, goal and result", order the items alphabetically or with the defined order
2023-11-16 11:53:57 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
6b8d6b76ba
Upgrade code from 146 to new standards
2023-10-16 18:04:40 +02:00
d2323e91ca
new cs rule: single_line_empty_body
...
Rule is added to the last version of php-cs-fixer
2023-09-12 15:58:59 +02:00
6d63177ff4
apply rules rector up to php82
2023-05-01 21:39:45 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
746ed4f5e5
DX: fix cs
2023-04-15 00:43:55 +02:00
858ade467c
DX: rector rules upt to PHP 74
2023-04-15 00:20:19 +02:00
950ca42f68
Merge branch 'master' into upgrade-php82
2023-02-09 18:43:02 +01:00
9029426d03
Feature: [docgen] add center when normalizing person
2023-02-08 15:22:08 +00:00
584ac05b53
DX: fix phpstan errors
2023-02-04 01:19:34 +01:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +02:00
5f6c11bde9
Feature: show comment in #docgen generation for accompanying periods
2022-07-11 19:56:59 +02:00
0cfad13720
fix normalization for null accompanying period docgen
2022-06-16 21:30:46 +02:00
f92cef02cf
fix creating a new AccompanyingPeriodWorkEvaluationDocument when replacing the document (the workflow was lost)
2022-05-30 22:43:50 +02:00
0849b2d5f4
docgen: fix title of origin
2022-05-30 21:16:40 +02:00
6c246a0d38
allow to edit civility in onTheFly
2022-05-06 12:54:01 +02:00
64432bb08a
Merge remote-tracking branch 'origin/master' into issue557_address_civility_in_form_person
2022-05-06 10:21:13 +02:00
472bc3f35d
add missing keys to blank docgen person normalization
2022-04-30 00:55:40 +02:00
99413cf328
fix cs
2022-04-29 17:04:55 +02:00
nobohan
671950708c
[person] prevent circular references in PersonDocGenNormalizer
2022-04-29 10:54:56 +02:00
nobohan
4675525225
[person] add maritalStatusComment to PersonDocGenNormalizer
2022-04-28 17:34:53 +02:00
e5209ca6d9
do not make a loop to normalizer for a native php object
2022-04-25 22:14:23 +02:00
b85e6aae3f
csfixes
2022-04-21 21:22:18 +02:00
0a05dcd753
add ordering to serialization
2022-04-21 20:49:54 +02:00
nobohan
f2c60cfd20
php code style fix
2022-04-20 08:52:15 +02:00
nobohan
bad5506b98
person: create a person with address (and household without position (remove required position for household member)
2022-04-19 18:01:25 +02:00
nobohan
4009f3ffda
php code fix
2022-04-14 21:47:38 +02:00
nobohan
7d3239d6d6
person: fix adding civility to a person with OnTheFly form
2022-04-14 21:37:16 +02:00
ccf7c885bb
fix normalization for phonenumber on person when phonenumber is null
2022-04-13 09:44:21 +02:00
eb2bad0f47
docgen normalization budget: fix budget when person is null
2022-03-30 21:35:02 +02:00
1b567327b7
fix normalisation for phonenumber in person entity
2022-03-30 12:37:18 +02:00
84f9fdba28
add budget to docgen
2022-03-24 18:22:49 +01:00
3067da5d24
fix tests for removing temporarily resources on person
2022-03-23 22:56:45 +01:00
d7b5944c5f
temporarily desactivate resources for docgen
2022-03-23 22:51:45 +01:00
c5ffca22ff
ease docgen normlisation for resources
2022-03-22 22:37:19 +01:00
169d4dc41c
finalize normalization on ressources
2022-03-21 17:33:01 +01:00
37a8928e41
remove dump
2022-03-21 16:19:27 +01:00