132 Commits

Author SHA1 Message Date
e54c2ca712 Feature: Add a list export for evaluation, actions and household 2023-01-26 14:22:30 +00:00
59e21b6819 Feature: [acp] record the step history of each accompanying period
Each time a step is changed on an history, a record is stored in a
dedicated table.

When the acp's opening date is moved, the first row is adapted to match the new opening's date. This
mechanisme does not work if the opening date is move beyon the first end
date (if any), nor on the closing date.
2022-10-14 14:36:40 +02:00
5a94ce49f1 [Feature] add active property to evaluation 2022-10-13 15:25:09 +02:00
36590e7810 fix cs: mismatch header and strict type declaration 2022-10-06 22:25:45 +02: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
a967e1ed17 fix cs 2022-10-05 15:23:28 +02:00
49d2e98a1a [person] Feature: add a person's center history
The association between Person and Center is now stored in a dedicated
Entity: `PersonCenterHistory`, which have a date interval (start date
and endDate). The SQL counterpart is a table, with a constraint which
ensure that no person might be associated with two center at the same time.

For ease, a view is created to get the current center associated with
the person.

The dedicated migration creates also:

* indexes for a rapid search for person at current date;
* and populate the table from current data, setting the startdate to the
  person's creation date and time if any, `NOW()` unless.

The `Person` entity is also updated to use the information from the
PersonCenterHistory classes, but this commit does not yet delete the
`Center` column.
2022-09-26 21:11:01 +02:00
5e5a855578 fix cs 2022-05-27 15:48:50 +02:00
014c460eef improvements on private comments 2022-05-27 15:40:08 +02:00
fcbf62f613 fix cs 2022-04-29 16:41:13 +02:00
cc139782b1 Merge remote-tracking branch 'origin/master' into issue569_display_time 2022-04-29 16:28:29 +02:00
770010ceb8 Add command to remove old draft accompanying periods 2022-04-29 15:51:54 +02:00
09aa7ff631 change date to datetime for evaluation document 2022-04-27 17:13:38 +02:00
nobohan
3ad8223949 person: add unique index on table relationship to avoid duplicate fromperson_id/toperson_id pairs - typo cs fixer 2022-04-25 11:24:29 +02:00
nobohan
111906c2b9 person: add unique index on table relationship to avoid duplicate fromperson_id/toperson_id pairs 2022-04-25 11:23:28 +02:00
73c17febd9 remove inter database reference 2022-03-23 00:05:36 +01:00
3aaecc8630 set creator as referrer for works 2022-03-21 12:32:40 +01:00
2fda5b751b Merge remote-tracking branch 'origin/master' into issue502_user_in_actions 2022-03-21 11:53:21 +01:00
90948e5513 Merge remote-tracking branch 'origin/master' into issue477_autosave_comment_parcours 2022-03-14 13:11:53 +01:00
nobohan
fc1fe7c277 php cs fix 2022-03-10 18:14:57 +01:00
nobohan
690a443bdb fix code style for AccompanyingPeriodWork - referrers 2022-03-10 16:25:05 +01:00
nobohan
f2edc1ef0c set constrint ondelete for comment in AccompanyingPeriod 2022-03-10 14:23:00 +01:00
nobohan
492c22d1b7 AccompanyingPeriodWork: add referrers field 2022-03-10 08:40:11 +01:00
nobohan
c5eac09478 php cs fix on migration 2022-03-03 15:17:05 +01:00
nobohan
349db2142d person: add url field to SocialWork Evaluation entity + populate with http title values 2022-03-03 14:39:00 +01:00
fa23bfd7d5 fix upgrade formula for phonenumber 2022-03-02 16:02:23 +01:00
7bd93e53c2 fix formatting upgrade clause 2022-03-02 14:23:50 +01:00
e9ffdb1f03 fix cs 2022-03-02 14:11:47 +01:00
54ad7a4b8f restore showing phonenumber 2022-03-02 13:48:48 +01:00
ed4cf67e79 set carrier code parameter and lint existing phonenmubers 2022-03-02 13:01:01 +01:00
9f90cc8fe1 Merge remote-tracking branch 'origin/master' into 20-update-telephone-type-new-approach 2022-03-01 16:55:33 +01:00
Pol Dellaiera
b814e812b6
Update migrations. 2022-02-28 15:01:26 +01:00
Pol Dellaiera
d780d95157
work in progress 2022-02-28 15:00:55 +01:00
af0d7765ff fixes for adding evaluation document 2022-02-25 16:13:31 +01:00
nobohan
4bd50d0148 fix code style for AccompanyingPeriodWorkEvaluation 2022-02-25 15:31:24 +01:00
nobohan
24b11f609d AccompanyingPeriodWork: add title on AccPeriodWorkEvaluationDocument 2022-02-24 16:11:29 +01:00
104af6d9b5 allow null value in end date in location history 2022-02-19 09:43:20 +01:00
b9dbb1916a migration for history, and create history location on each change 2022-02-14 23:03:40 +01:00
292c9380ad endpoint for recent accompanying period attributions 2022-01-28 15:39:37 +01:00
fcd5fba13e add history for user in accompanying period (+ counter) 2022-01-28 14:42:18 +01:00
88d1fe24b4 Creation of PersonResource 2022-01-26 12:52:15 +00:00
8e2d3616b5 Merge remote-tracking branch 'origin/master' into issue383_referent_in_acc_course 2022-01-24 15:04:55 +01:00
53b3f98bba Household/composition add + fixes household composition editor 2022-01-24 10:59:00 +00:00
nobohan
175fa7bf2f php code fix 2022-01-19 15:40:38 +01:00
nobohan
3471bdec0d accompanyingPeriod: add job 2022-01-19 15:40:38 +01:00
2c4d06371c AccompanyingPeriodResource: fix deserialization + code style 2022-01-10 23:08:23 +01:00
098c2fbaa0 Merge remote-tracking branch 'origin/master' into 232_resources_comment 2022-01-10 21:50:00 +01:00
juminet
921dd639bf accompanying period: add location to accompanying period + add delete button 2022-01-10 11:03:14 +00:00
af2eca0d03 Change accompanyingCourse Resources comment by a string 2022-01-04 15:56:00 +01:00