Commit 4fe66c55 authored by Theo Lecolley's avatar Theo Lecolley
Browse files

Merge remote-tracking branch 'origin/b24' into b24

parents f0e3d26f d70591cc
Loading
Loading
Loading
Loading
Loading
+4
Changes for module/Intervenant/src/Service/StatutService.php: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -163,6 +163,10 @@ class StatutService extends AbstractEntityService
        if (!$entity->getAnnee()) {
            $entity->setAnnee($this->getServiceContext()->getAnnee());
        }
        // Sans mission, pas de candidature possible aux offres d'emploi
        if (!$entity->getMission()) {
            $entity->setOffreEmploiPostuler(false);
        }
        $this->getSessionContainer()->offsetUnset('privileges' . $entity->getAnnee()->getId());

        return parent::save($entity); // TODO: Change the autogenerated stub