Loading CHANGELOG.md +4 −1 Original line number Diff line number Diff line Version 1.3.0 *Module de mouvement* Version 1.3.0 *Module de bourse emploi* ------------- - TODO creation module Version 1.2.0 *Module de formation* ------------- Loading @@ -9,7 +10,9 @@ Version 1.1.3 + [Correction bug] Ajout d'une garde pour les entretiens professionnels d'agent sans fiche de poste + [Correction bug] Ajout d'un message d'alerte lorsque un mail lié à une campagne d'entretien professionnel n'a pu être envoyé + [Interface] filtre pour les mails envoyés + [Interface] filtre pour les fiches métiers + [Qualité de vie] Adresse électronique de diffusion lié à la création de campagne d'entretien professionnel devenu un paramètre. + Suppression du rôle de responsable d'entretien professionnaire au profit des rôles de gestionnaire/responsable de structures + Ajout du mailtype dans les mails pour savoir si un mail est issue d'un mail type + Ajout d'une source et d'un id source dans les formations et les actions de formations Loading module/Application/src/Application/Assertion/FichePosteAssertion.php +0 −2 Original line number Diff line number Diff line Loading @@ -41,8 +41,6 @@ class FichePosteAssertion extends AbstractAssertion { case RoleConstant::GESTIONNAIRE: case RoleConstant::RESPONSABLE: return $isGestionnaire; case RoleConstant::RESPONSABLE_EPRO: //TODO return false; case RoleConstant::PERSONNEL: $isAgent = ($entity->getAgent()->getUtilisateur() === $user); return $isAgent; Loading module/Application/src/Application/Constant/RoleConstant.php +0 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,5 @@ class RoleConstant { const PERSONNEL = 'Agent'; const VALIDATEUR = 'Validateur'; const OBSERVATEUR = 'Observateur'; const RESPONSABLE_EPRO = "Responsable d'entretien pro."; const DRH = "Direction des ressources humaines"; } No newline at end of file module/Application/src/Application/Controller/AgentController.php +0 −10 Original line number Diff line number Diff line Loading @@ -328,16 +328,6 @@ class AgentController extends AbstractActionController exit; } public function rechercherResponsableAction() { if (($term = $this->params()->fromQuery('term'))) { $responsables = $this->getUserService()->findByTermAndRole($term, RoleConstant::RESPONSABLE_EPRO); $result = $result = $this->getUserService()->formatUserJSON($responsables); return new JsonModel($result); } exit; } public function rechercherGestionnaireAction() { if (($term = $this->params()->fromQuery('term'))) { Loading module/Application/src/Application/Controller/FicheMetierController.php +10 −11 Original line number Diff line number Diff line Loading @@ -69,25 +69,24 @@ class FicheMetierController extends AbstractActionController public function indexAction() { $domaineId = $this->params()->fromQuery('domaine'); $domaines = $this->getDomaineService()->getDomaines(); $fromQueries = $this->params()->fromQuery(); $etatId = $fromQueries['etat']; $domaineId = $fromQueries['domaine']; $expertise = $fromQueries['expertise']; if ($domaineId === null) { $domaine = null; $fichesMetiers = $this->getFicheMetierService()->getFichesMetiers(); } else { $domaine = $this->getDomaineService()->getDomaine($domaineId); $fichesMetiers = $this->getFicheMetierService()->getFicheByDomaine($domaine); } $params = ['etat' => $etatId, 'domaine' => $domaineId, 'expertise' => $expertise]; $type = $this->getEtatTypeService()->getEtatTypeByCode(FicheMetier::TYPE_FICHEMETIER); $etats = $this->getEtatService()->getEtatsByType($type); $domaines = $this->getDomaineService()->getDomaines(); $fichesMetiers = $this->getFicheMetierService()->getFichesMetiersWithFiltre($params); return new ViewModel([ 'domaineSelect' => $domaine, 'params' => $params, 'domaines' => $domaines, 'fiches' => $fichesMetiers, 'etats' => $etats, 'fiches' => $fichesMetiers, ]); } Loading Loading
CHANGELOG.md +4 −1 Original line number Diff line number Diff line Version 1.3.0 *Module de mouvement* Version 1.3.0 *Module de bourse emploi* ------------- - TODO creation module Version 1.2.0 *Module de formation* ------------- Loading @@ -9,7 +10,9 @@ Version 1.1.3 + [Correction bug] Ajout d'une garde pour les entretiens professionnels d'agent sans fiche de poste + [Correction bug] Ajout d'un message d'alerte lorsque un mail lié à une campagne d'entretien professionnel n'a pu être envoyé + [Interface] filtre pour les mails envoyés + [Interface] filtre pour les fiches métiers + [Qualité de vie] Adresse électronique de diffusion lié à la création de campagne d'entretien professionnel devenu un paramètre. + Suppression du rôle de responsable d'entretien professionnaire au profit des rôles de gestionnaire/responsable de structures + Ajout du mailtype dans les mails pour savoir si un mail est issue d'un mail type + Ajout d'une source et d'un id source dans les formations et les actions de formations Loading
module/Application/src/Application/Assertion/FichePosteAssertion.php +0 −2 Original line number Diff line number Diff line Loading @@ -41,8 +41,6 @@ class FichePosteAssertion extends AbstractAssertion { case RoleConstant::GESTIONNAIRE: case RoleConstant::RESPONSABLE: return $isGestionnaire; case RoleConstant::RESPONSABLE_EPRO: //TODO return false; case RoleConstant::PERSONNEL: $isAgent = ($entity->getAgent()->getUtilisateur() === $user); return $isAgent; Loading
module/Application/src/Application/Constant/RoleConstant.php +0 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,5 @@ class RoleConstant { const PERSONNEL = 'Agent'; const VALIDATEUR = 'Validateur'; const OBSERVATEUR = 'Observateur'; const RESPONSABLE_EPRO = "Responsable d'entretien pro."; const DRH = "Direction des ressources humaines"; } No newline at end of file
module/Application/src/Application/Controller/AgentController.php +0 −10 Original line number Diff line number Diff line Loading @@ -328,16 +328,6 @@ class AgentController extends AbstractActionController exit; } public function rechercherResponsableAction() { if (($term = $this->params()->fromQuery('term'))) { $responsables = $this->getUserService()->findByTermAndRole($term, RoleConstant::RESPONSABLE_EPRO); $result = $result = $this->getUserService()->formatUserJSON($responsables); return new JsonModel($result); } exit; } public function rechercherGestionnaireAction() { if (($term = $this->params()->fromQuery('term'))) { Loading
module/Application/src/Application/Controller/FicheMetierController.php +10 −11 Original line number Diff line number Diff line Loading @@ -69,25 +69,24 @@ class FicheMetierController extends AbstractActionController public function indexAction() { $domaineId = $this->params()->fromQuery('domaine'); $domaines = $this->getDomaineService()->getDomaines(); $fromQueries = $this->params()->fromQuery(); $etatId = $fromQueries['etat']; $domaineId = $fromQueries['domaine']; $expertise = $fromQueries['expertise']; if ($domaineId === null) { $domaine = null; $fichesMetiers = $this->getFicheMetierService()->getFichesMetiers(); } else { $domaine = $this->getDomaineService()->getDomaine($domaineId); $fichesMetiers = $this->getFicheMetierService()->getFicheByDomaine($domaine); } $params = ['etat' => $etatId, 'domaine' => $domaineId, 'expertise' => $expertise]; $type = $this->getEtatTypeService()->getEtatTypeByCode(FicheMetier::TYPE_FICHEMETIER); $etats = $this->getEtatService()->getEtatsByType($type); $domaines = $this->getDomaineService()->getDomaines(); $fichesMetiers = $this->getFicheMetierService()->getFichesMetiersWithFiltre($params); return new ViewModel([ 'domaineSelect' => $domaine, 'params' => $params, 'domaines' => $domaines, 'fiches' => $fichesMetiers, 'etats' => $etats, 'fiches' => $fichesMetiers, ]); } Loading