Loading module/Structure/src/Structure/Controller/StructureController.php +4 Changes for module/Structure/src/Structure/Controller/StructureController.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -325,9 +325,13 @@ class StructureController extends AbstractActionController { $structureAgentForce->setStructure($structure); $form = $this->getSelectionAgentForm(); $form->get('agent')->setAutocompleteSource($this->url()->fromRoute('agent/rechercher-large', [], [], true)); $form->setAttribute('action',$this->url()->fromRoute('structure/ajouter-manuellement-agent', ['structure' => $structure->getId()], [], true)); $form->bind($structureAgentForce); $request = $this->getRequest(); if ($request->isPost()) { $data = $request->getPost(); Loading Loading
module/Structure/src/Structure/Controller/StructureController.php +4 Changes for module/Structure/src/Structure/Controller/StructureController.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -325,9 +325,13 @@ class StructureController extends AbstractActionController { $structureAgentForce->setStructure($structure); $form = $this->getSelectionAgentForm(); $form->get('agent')->setAutocompleteSource($this->url()->fromRoute('agent/rechercher-large', [], [], true)); $form->setAttribute('action',$this->url()->fromRoute('structure/ajouter-manuellement-agent', ['structure' => $structure->getId()], [], true)); $form->bind($structureAgentForce); $request = $this->getRequest(); if ($request->isPost()) { $data = $request->getPost(); Loading