f8840d89bf
Add capability to store closing motive when closing accompanying period
...
The commit introduces new functionality in the bundle that allows storing the closing motive when a course is closed. This is achieved by modifying the model and database schema to include a new `closingMotive` field in AccompanyingPeriodStepHistory entity.
2024-02-07 15:35:44 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
c019fffbe7
fix cs
2023-06-29 17:53:15 +02:00
347eda05df
Fix: force the consistency of location in accompanying period
...
- internally, the entity remove the addressLocation when the
personLocation is set, and vice-versa;
- this commit add a migration which may solve the case when both case
happens (priority to personLocation + keep the history)
- add a constraint on the database to avoid such situation
2023-06-29 12:44:28 +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
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
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
dae383dbd9
fix some psalm errors
2022-04-30 01:34:23 +02:00
2d9af8f8c0
period: fix method hasPreviousUser and create method isChangedUser, and use it in Notification
2022-04-22 12:12:30 +02:00
3756631595
fix some psalm issues
2022-03-02 16:39:36 +01:00
b9dbb1916a
migration for history, and create history location on each change
2022-02-14 23:03:40 +01:00
9b4c350213
fix tests for accompanying period comments
2022-02-11 13:36:35 +01:00
264bd76461
Issue336 internal create action fixes
2021-12-14 18:48:31 +00:00
f8071d32c0
batch replace/rename initialComment by pinnedComment
2021-12-13 16:31:16 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers.
2021-11-30 13:54:58 +01:00
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places.
2021-11-30 13:33:18 +01:00
Pol Dellaiera
a9188355c5
cs: Enable more risky rules.
2021-11-30 11:37:57 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only).
2021-11-23 14:08:50 +01:00
ae8e5bc2e3
Merge branch 'master' into 'fix-accompanying-period-opening'
...
# Conflicts:
# src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseApiController.php
2021-05-26 13:11:23 +00:00
8e95166c24
fix replacing an initial comment in accompanying period
2021-05-18 19:19:22 +02:00
2610730219
add initial comment to accompanying period
2021-05-18 19:04:09 +02:00
4f3f16d9b0
Set requestor for accompanying period
2021-05-10 15:59:58 +02:00
f3a8552829
rewrite methods for participation
2021-05-10 13:21:28 +02:00
33457d3cbc
Merge branch 'fix-accompanying-period-opening' into bootstrap-api
2021-05-06 16:02:13 +02:00
e919b4322e
fix accompanying period/remove person
2021-05-06 15:49:38 +02:00
07e0692783
bootstrap api and apply on accompanying period
2021-05-06 00:14:36 +02:00
eaa0ad925f
fix folder name
2021-03-18 13:37:13 +01:00