Loading module/Application/src/Application/Controller/EntretienProfessionnelController.php +4 −0 Changes for module/Application/src/Application/Controller/EntretienProfessionnelController.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -92,7 +92,11 @@ class EntretienProfessionnelController extends AbstractActionController /** @var EntretienProfessionnelForm $form */ $form = $this->getEntretienProfessionnelForm(); if ($campagne !== null) { $form->setAttribute('action', $this->url()->fromRoute('entretien-professionnel/creer', ["campagne" => $campagne->getId()], ["query" => ["agent" => $agentId, "structure" => $structureId]], true)); } else { $form->setAttribute('action', $this->url()->fromRoute('entretien-professionnel/creer', [], ["query" => ["agent" => $agentId, "structure" => $structureId]], true)); } $form->bind($entretien); if ($structure !== null) { Loading Loading
module/Application/src/Application/Controller/EntretienProfessionnelController.php +4 −0 Changes for module/Application/src/Application/Controller/EntretienProfessionnelController.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -92,7 +92,11 @@ class EntretienProfessionnelController extends AbstractActionController /** @var EntretienProfessionnelForm $form */ $form = $this->getEntretienProfessionnelForm(); if ($campagne !== null) { $form->setAttribute('action', $this->url()->fromRoute('entretien-professionnel/creer', ["campagne" => $campagne->getId()], ["query" => ["agent" => $agentId, "structure" => $structureId]], true)); } else { $form->setAttribute('action', $this->url()->fromRoute('entretien-professionnel/creer', [], ["query" => ["agent" => $agentId, "structure" => $structureId]], true)); } $form->bind($entretien); if ($structure !== null) { Loading