This commit is contained in:
Julie Lenaerts 2022-02-01 13:52:42 +01:00
parent 05fc5a1829
commit c5cbdd97ff

View File

@ -134,9 +134,9 @@ class AccompanyingPeriod implements
* @Groups({"read", "write", "docgen:read"})
* @Assert\NotBlank(groups={AccompanyingPeriod::STEP_CLOSED})
* @Assert\GreaterThanOrEqual(
* propertyPath="openingDate",
* groups={AccompanyingPeriod::STEP_CLOSED},
* message="The closing date must be later than the date of creation"
* propertyPath="openingDate",
* groups={AccompanyingPeriod::STEP_CLOSED},
* message="The closing date must be later than the date of creation"
* )
*/
private ?DateTime $closingDate = null;