Loading module/Application/src/Application/Controller/IntervenantController.php −1 Changes for module/Application/src/Application/Controller/IntervenantController.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -310,7 +310,6 @@ class IntervenantController extends AbstractController if ($actionDetail == 'dupliquer') { $intervenant = $intervenant->dupliquer(); $intervenant->setSource($this->getServiceSource()->getOse()); $intervenant->setSourceCode(null); $intervenant->setStatut($this->getServiceStatutIntervenant()->getAutres()); } Loading module/Application/src/Application/Service/IntervenantService.php +1 Changes for module/Application/src/Application/Service/IntervenantService.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -385,6 +385,7 @@ class IntervenantService extends AbstractEntityService $intervenant->setAnnee($this->getServiceContext()->getAnnee()); $intervenant->setSource($this->getServiceSource()->getOse()); $intervenant->setCode(uniqid('OSE')); $intervenant->setSourceCode($intervenant->getCode()); return $intervenant; } Loading module/Application/src/Application/View/Helper/Intervenant/IntervenantViewHelper.php +1 −1 Changes for module/Application/src/Application/View/Helper/Intervenant/IntervenantViewHelper.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -157,7 +157,7 @@ class IntervenantViewHelper extends AbstractHtmlElement </a> </li> <?php endforeach; ?> <?php if ($canAddIntervenant): ?> <?php if ($canAddIntervenant && $intervenant->getId()): ?> <li class="ajout-intervenant"> <a href="<?= $this->getView()->url('intervenant/dupliquer', ['intervenant' => $intervenant->getId()]); ?>" title="Ajout d'un nouveau statut à l'intervenant"><span Loading Loading
module/Application/src/Application/Controller/IntervenantController.php −1 Changes for module/Application/src/Application/Controller/IntervenantController.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -310,7 +310,6 @@ class IntervenantController extends AbstractController if ($actionDetail == 'dupliquer') { $intervenant = $intervenant->dupliquer(); $intervenant->setSource($this->getServiceSource()->getOse()); $intervenant->setSourceCode(null); $intervenant->setStatut($this->getServiceStatutIntervenant()->getAutres()); } Loading
module/Application/src/Application/Service/IntervenantService.php +1 Changes for module/Application/src/Application/Service/IntervenantService.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -385,6 +385,7 @@ class IntervenantService extends AbstractEntityService $intervenant->setAnnee($this->getServiceContext()->getAnnee()); $intervenant->setSource($this->getServiceSource()->getOse()); $intervenant->setCode(uniqid('OSE')); $intervenant->setSourceCode($intervenant->getCode()); return $intervenant; } Loading
module/Application/src/Application/View/Helper/Intervenant/IntervenantViewHelper.php +1 −1 Changes for module/Application/src/Application/View/Helper/Intervenant/IntervenantViewHelper.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -157,7 +157,7 @@ class IntervenantViewHelper extends AbstractHtmlElement </a> </li> <?php endforeach; ?> <?php if ($canAddIntervenant): ?> <?php if ($canAddIntervenant && $intervenant->getId()): ?> <li class="ajout-intervenant"> <a href="<?= $this->getView()->url('intervenant/dupliquer', ['intervenant' => $intervenant->getId()]); ?>" title="Ajout d'un nouveau statut à l'intervenant"><span Loading