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"}) * @Groups({"read", "write", "docgen:read"})
* @Assert\NotBlank(groups={AccompanyingPeriod::STEP_CLOSED}) * @Assert\NotBlank(groups={AccompanyingPeriod::STEP_CLOSED})
* @Assert\GreaterThanOrEqual( * @Assert\GreaterThanOrEqual(
* propertyPath="openingDate", * propertyPath="openingDate",
* groups={AccompanyingPeriod::STEP_CLOSED}, * groups={AccompanyingPeriod::STEP_CLOSED},
* message="The closing date must be later than the date of creation" * message="The closing date must be later than the date of creation"
* ) * )
*/ */
private ?DateTime $closingDate = null; private ?DateTime $closingDate = null;