Loading module/Application/config/merged/menu.config.php +1 −3 Changes for module/Application/config/merged/menu.config.php: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ return [ 'order' => 400, 'label' => 'Mes données', 'icon' => 'fas fa-angle-right', 'route' => 'ressource-rh', 'route' => 'index-personnel', 'roles' => [ 'Personnel', ], Loading Loading @@ -242,8 +242,6 @@ return [ 'dropdown-header' => true, 'icon' => 'fas fa-angle-right' ], ], ], ], Loading module/Application/src/Application/Controller/RessourceRh/RessourceRhController.php −1 Changes for module/Application/src/Application/Controller/RessourceRh/RessourceRhController.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -609,7 +609,6 @@ class RessourceRhController extends AbstractActionController { $result ); return $jm; } } No newline at end of file module/Application/src/Application/Form/Agent/AgentFormFactory.php +8 −2 Changes for module/Application/src/Application/Form/Agent/AgentFormFactory.php: 8 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,18 +2,24 @@ namespace Application\Form\Agent; use Doctrine\ORM\EntityManager; use Zend\Form\FormElementManager; class AgentFormFactory { public function __invoke(FormElementManager $manager) { /** @var AgentHydrator $hydrator */ /** * @var EntityManager $entityManager * @var AgentHydrator $hydrator */ $hydrator = $manager->getServiceLocator()->get('HydratorManager')->get(AgentHydrator::class); $entityManager = $manager->getServiceLocator()->get('doctrine.entitymanager.orm_default'); $form = new AgentForm(); $form->init(); $form->setEntityManager($entityManager); $form->setHydrator($hydrator); $form->init(); return $form; } Loading module/Application/view/application/agent/modifier.phtml −1 Changes for module/Application/view/application/agent/modifier.phtml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ url: requestUrl, }).done(function(data) { let corps = $('select#corps').find(":selected").val(); // console.log("Le corps selectionné est " + corps); let selected = $('select#grade').find(":selected").val(); $('select#grade').find('option:not(:first)').remove(); $.each(data, function(index, value) { Loading Loading
module/Application/config/merged/menu.config.php +1 −3 Changes for module/Application/config/merged/menu.config.php: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ return [ 'order' => 400, 'label' => 'Mes données', 'icon' => 'fas fa-angle-right', 'route' => 'ressource-rh', 'route' => 'index-personnel', 'roles' => [ 'Personnel', ], Loading Loading @@ -242,8 +242,6 @@ return [ 'dropdown-header' => true, 'icon' => 'fas fa-angle-right' ], ], ], ], Loading
module/Application/src/Application/Controller/RessourceRh/RessourceRhController.php −1 Changes for module/Application/src/Application/Controller/RessourceRh/RessourceRhController.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -609,7 +609,6 @@ class RessourceRhController extends AbstractActionController { $result ); return $jm; } } No newline at end of file
module/Application/src/Application/Form/Agent/AgentFormFactory.php +8 −2 Changes for module/Application/src/Application/Form/Agent/AgentFormFactory.php: 8 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,18 +2,24 @@ namespace Application\Form\Agent; use Doctrine\ORM\EntityManager; use Zend\Form\FormElementManager; class AgentFormFactory { public function __invoke(FormElementManager $manager) { /** @var AgentHydrator $hydrator */ /** * @var EntityManager $entityManager * @var AgentHydrator $hydrator */ $hydrator = $manager->getServiceLocator()->get('HydratorManager')->get(AgentHydrator::class); $entityManager = $manager->getServiceLocator()->get('doctrine.entitymanager.orm_default'); $form = new AgentForm(); $form->init(); $form->setEntityManager($entityManager); $form->setHydrator($hydrator); $form->init(); return $form; } Loading
module/Application/view/application/agent/modifier.phtml −1 Changes for module/Application/view/application/agent/modifier.phtml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ url: requestUrl, }).done(function(data) { let corps = $('select#corps').find(":selected").val(); // console.log("Le corps selectionné est " + corps); let selected = $('select#grade').find(":selected").val(); $('select#grade').find('option:not(:first)').remove(); $.each(data, function(index, value) { Loading