Loading module/Application/src/Application/Provider/Parametre/GlobalParametres.php +1 −1 Changes for module/Application/src/Application/Provider/Parametre/GlobalParametres.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -6,5 +6,5 @@ class GlobalParametres { const TYPE = "GLOBAL"; const INSTALL_PATH = "INSTALL_PATH"; const EMAIL_ASSISTANCE = "EMAIL_ASSISTANCE"; const CODE_CHAPEAU = 'CODE_CHAPEAU'; const CODE_UNIV = 'CODE_UNIV'; } No newline at end of file module/Application/src/Application/Service/Agent/AgentService.php +1 −1 Changes for module/Application/src/Application/Service/Agent/AgentService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -783,7 +783,7 @@ class AgentService { public function filtrerByStatutInvalide(Agent $agent, ?DateTime $date = null) : bool { try { $code = $this->getParametreService()->getValeurForParametre(GlobalParametres::TYPE, GlobalParametres::CODE_CHAPEAU); $code = $this->getParametreService()->getValeurForParametre(GlobalParametres::TYPE, GlobalParametres::CODE_UNIV); } catch (Exception $e) { $code = null; } Loading Loading
module/Application/src/Application/Provider/Parametre/GlobalParametres.php +1 −1 Changes for module/Application/src/Application/Provider/Parametre/GlobalParametres.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -6,5 +6,5 @@ class GlobalParametres { const TYPE = "GLOBAL"; const INSTALL_PATH = "INSTALL_PATH"; const EMAIL_ASSISTANCE = "EMAIL_ASSISTANCE"; const CODE_CHAPEAU = 'CODE_CHAPEAU'; const CODE_UNIV = 'CODE_UNIV'; } No newline at end of file
module/Application/src/Application/Service/Agent/AgentService.php +1 −1 Changes for module/Application/src/Application/Service/Agent/AgentService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -783,7 +783,7 @@ class AgentService { public function filtrerByStatutInvalide(Agent $agent, ?DateTime $date = null) : bool { try { $code = $this->getParametreService()->getValeurForParametre(GlobalParametres::TYPE, GlobalParametres::CODE_CHAPEAU); $code = $this->getParametreService()->getValeurForParametre(GlobalParametres::TYPE, GlobalParametres::CODE_UNIV); } catch (Exception $e) { $code = null; } Loading