Loading module/Application/src/Application/Controller/IntervenantController.php +7 −2 Original line number Diff line number Diff line Loading @@ -381,7 +381,12 @@ class IntervenantController extends AbstractController { $intervenant = $this->getEvent()->getParam('intervenant'); try { $isImportable = $this->getServiceIntervenant()->isImportable($intervenant); } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); $isImportable = false; } $data = []; if ($isImportable) { Loading module/Application/src/Application/Form/Intervenant/EditionForm.php +1 −0 Original line number Diff line number Diff line Loading @@ -578,6 +578,7 @@ class EditionFormHydrator extends GenericHydrator } $object->setUtilisateurCode($code); $object->setSyncUtilisateurCode(false); } } Loading module/Application/view/application/intervenant/synchronisation.phtml +1 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ use Application\Provider\Privilege\Privileges; if (!$isImportable) { echo $this->messenger()->addCurrentMessagesFromFlashMessenger(); echo $this->tag('div', ['class' => 'alert alert-warning'])->html('Cet intervenant n\'est pas synchronisable'); return; Loading Loading
module/Application/src/Application/Controller/IntervenantController.php +7 −2 Original line number Diff line number Diff line Loading @@ -381,7 +381,12 @@ class IntervenantController extends AbstractController { $intervenant = $this->getEvent()->getParam('intervenant'); try { $isImportable = $this->getServiceIntervenant()->isImportable($intervenant); } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); $isImportable = false; } $data = []; if ($isImportable) { Loading
module/Application/src/Application/Form/Intervenant/EditionForm.php +1 −0 Original line number Diff line number Diff line Loading @@ -578,6 +578,7 @@ class EditionFormHydrator extends GenericHydrator } $object->setUtilisateurCode($code); $object->setSyncUtilisateurCode(false); } } Loading
module/Application/view/application/intervenant/synchronisation.phtml +1 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ use Application\Provider\Privilege\Privileges; if (!$isImportable) { echo $this->messenger()->addCurrentMessagesFromFlashMessenger(); echo $this->tag('div', ['class' => 'alert alert-warning'])->html('Cet intervenant n\'est pas synchronisable'); return; Loading