Loading module/Intervenant/src/Service/StatutService.php +4 Changes for module/Intervenant/src/Service/StatutService.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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 Loading Loading
module/Intervenant/src/Service/StatutService.php +4 Changes for module/Intervenant/src/Service/StatutService.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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 Loading