Loading module/Application/src/Application/Controller/AgentController.php +4 Changes for module/Application/src/Application/Controller/AgentController.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ use Application\Form\AgentMissionSpecifique\AgentMissionSpecifiqueForm; use Application\Form\AgentMissionSpecifique\AgentMissionSpecifiqueFormAwareTrait; use Application\Service\Agent\AgentServiceAwareTrait; use Application\Service\Application\ApplicationServiceAwareTrait; use Application\Service\EntretienProfessionnel\EntretienProfessionnelServiceAwareTrait; use Application\Service\Structure\StructureServiceAwareTrait; use Doctrine\ORM\ORMException; use Fichier\Entity\Db\Fichier; Loading @@ -40,6 +41,7 @@ class AgentController extends AbstractActionController { use AgentServiceAwareTrait; use ApplicationServiceAwareTrait; use EntretienProfessionnelServiceAwareTrait; use ValidationInstanceServiceAwareTrait; use ValidationTypeServiceAwareTrait; use NatureServiceAwareTrait; Loading @@ -65,6 +67,7 @@ class AgentController extends AbstractActionController public function afficherAction() { $agent = $this->getAgentService()->getRequestedAgent($this); $entretiens = $this->getEntretienProfessionnelService()->getEntretiensProfessionnelsParAgent($agent); $user = $this->getUserService()->getConnectedUser(); $role = $this->getUserService()->getConnectedRole(); Loading @@ -73,6 +76,7 @@ class AgentController extends AbstractActionController 'agent' => $agent, 'role' => $role, 'user' => $user, 'entretiens' => $entretiens, ]); } Loading module/Application/src/Application/Controller/AgentControllerFactory.php +4 Changes for module/Application/src/Application/Controller/AgentControllerFactory.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ use Application\Form\AgentCompetence\AgentCompetenceForm; use Application\Form\AgentFormation\AgentFormationForm; use Application\Form\AgentMissionSpecifique\AgentMissionSpecifiqueForm; use Application\Service\Agent\AgentService; use Application\Service\EntretienProfessionnel\EntretienProfessionnelService; use Application\Service\Structure\StructureService; use Fichier\Form\Upload\UploadForm; use Fichier\Service\Fichier\FichierService; Loading @@ -23,6 +24,7 @@ class AgentControllerFactory { { /** * @var AgentService $agentService * @var EntretienProfessionnelService $entretienService * @var ValidationInstanceService $validationInstanceService * @var ValidationTypeService $validationTypeService * @var NatureService $natureService Loading @@ -31,6 +33,7 @@ class AgentControllerFactory { * @var UserService $userService */ $agentService = $container->get(AgentService::class); $entretienService = $container->get(EntretienProfessionnelService::class); $validationInstanceService = $container->get(ValidationInstanceService::class); $validationTypeService = $container->get(ValidationTypeService::class); $natureService = $container->get(NatureService::class); Loading @@ -57,6 +60,7 @@ class AgentControllerFactory { $controller = new AgentController(); $controller->setAgentService($agentService); $controller->setEntretienProfessionnelService($entretienService); $controller->setValidationInstanceService($validationInstanceService); $controller->setValidationTypeService($validationTypeService); $controller->setNatureService($natureService); Loading module/Application/view/application/agent/afficher.phtml +3 −1 Changes for module/Application/view/application/agent/afficher.phtml: 3 added lines, 1 removed line. Original line number Diff line number Diff line <?php use Application\Entity\Db\Agent; use Application\Entity\Db\EntretienProfessionnel; use Application\Provider\Privilege\AgentPrivileges; use UnicaenUtilisateur\Entity\Db\Role; use UnicaenUtilisateur\Entity\Db\User; Loading @@ -8,6 +9,7 @@ use UnicaenUtilisateur\Entity\Db\User; /** * @see AgentController::afficherAction() * @var Agent $agent * @var EntretienProfessionnel[] $entretiens * @var User $user * @var Role $role */ Loading Loading @@ -128,7 +130,7 @@ $this->headTitle("Affichage de l'agent : " . $agent->getDenomination()); <?php echo $this->partial('partial/fiche-poste', ['fichespostes' => $agent->getFiches()], []); ?> <?php echo $this->partial('partial/entretien-professionnel', ['entretiens' => $agent->getEntretiensProfessionnels(), 'agent' => $agent, "droits" => $droits] ['entretiens' => $entretiens, 'agent' => $agent, "droits" => $droits] , []); ?> <?php echo $this->partial('partial/mission-specifique', ['missions' => $agent->getMissionsSpecifiques(), 'agent' => $agent, "droits" => $droits], []); ?> Loading Loading
module/Application/src/Application/Controller/AgentController.php +4 Changes for module/Application/src/Application/Controller/AgentController.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ use Application\Form\AgentMissionSpecifique\AgentMissionSpecifiqueForm; use Application\Form\AgentMissionSpecifique\AgentMissionSpecifiqueFormAwareTrait; use Application\Service\Agent\AgentServiceAwareTrait; use Application\Service\Application\ApplicationServiceAwareTrait; use Application\Service\EntretienProfessionnel\EntretienProfessionnelServiceAwareTrait; use Application\Service\Structure\StructureServiceAwareTrait; use Doctrine\ORM\ORMException; use Fichier\Entity\Db\Fichier; Loading @@ -40,6 +41,7 @@ class AgentController extends AbstractActionController { use AgentServiceAwareTrait; use ApplicationServiceAwareTrait; use EntretienProfessionnelServiceAwareTrait; use ValidationInstanceServiceAwareTrait; use ValidationTypeServiceAwareTrait; use NatureServiceAwareTrait; Loading @@ -65,6 +67,7 @@ class AgentController extends AbstractActionController public function afficherAction() { $agent = $this->getAgentService()->getRequestedAgent($this); $entretiens = $this->getEntretienProfessionnelService()->getEntretiensProfessionnelsParAgent($agent); $user = $this->getUserService()->getConnectedUser(); $role = $this->getUserService()->getConnectedRole(); Loading @@ -73,6 +76,7 @@ class AgentController extends AbstractActionController 'agent' => $agent, 'role' => $role, 'user' => $user, 'entretiens' => $entretiens, ]); } Loading
module/Application/src/Application/Controller/AgentControllerFactory.php +4 Changes for module/Application/src/Application/Controller/AgentControllerFactory.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ use Application\Form\AgentCompetence\AgentCompetenceForm; use Application\Form\AgentFormation\AgentFormationForm; use Application\Form\AgentMissionSpecifique\AgentMissionSpecifiqueForm; use Application\Service\Agent\AgentService; use Application\Service\EntretienProfessionnel\EntretienProfessionnelService; use Application\Service\Structure\StructureService; use Fichier\Form\Upload\UploadForm; use Fichier\Service\Fichier\FichierService; Loading @@ -23,6 +24,7 @@ class AgentControllerFactory { { /** * @var AgentService $agentService * @var EntretienProfessionnelService $entretienService * @var ValidationInstanceService $validationInstanceService * @var ValidationTypeService $validationTypeService * @var NatureService $natureService Loading @@ -31,6 +33,7 @@ class AgentControllerFactory { * @var UserService $userService */ $agentService = $container->get(AgentService::class); $entretienService = $container->get(EntretienProfessionnelService::class); $validationInstanceService = $container->get(ValidationInstanceService::class); $validationTypeService = $container->get(ValidationTypeService::class); $natureService = $container->get(NatureService::class); Loading @@ -57,6 +60,7 @@ class AgentControllerFactory { $controller = new AgentController(); $controller->setAgentService($agentService); $controller->setEntretienProfessionnelService($entretienService); $controller->setValidationInstanceService($validationInstanceService); $controller->setValidationTypeService($validationTypeService); $controller->setNatureService($natureService); Loading
module/Application/view/application/agent/afficher.phtml +3 −1 Changes for module/Application/view/application/agent/afficher.phtml: 3 added lines, 1 removed line. Original line number Diff line number Diff line <?php use Application\Entity\Db\Agent; use Application\Entity\Db\EntretienProfessionnel; use Application\Provider\Privilege\AgentPrivileges; use UnicaenUtilisateur\Entity\Db\Role; use UnicaenUtilisateur\Entity\Db\User; Loading @@ -8,6 +9,7 @@ use UnicaenUtilisateur\Entity\Db\User; /** * @see AgentController::afficherAction() * @var Agent $agent * @var EntretienProfessionnel[] $entretiens * @var User $user * @var Role $role */ Loading Loading @@ -128,7 +130,7 @@ $this->headTitle("Affichage de l'agent : " . $agent->getDenomination()); <?php echo $this->partial('partial/fiche-poste', ['fichespostes' => $agent->getFiches()], []); ?> <?php echo $this->partial('partial/entretien-professionnel', ['entretiens' => $agent->getEntretiensProfessionnels(), 'agent' => $agent, "droits" => $droits] ['entretiens' => $entretiens, 'agent' => $agent, "droits" => $droits] , []); ?> <?php echo $this->partial('partial/mission-specifique', ['missions' => $agent->getMissionsSpecifiques(), 'agent' => $agent, "droits" => $droits], []); ?> Loading