Loading composer.lock +3 −4 Original line number Diff line number Diff line Loading @@ -9943,14 +9943,13 @@ }, { "name": "unicaen/parametre", "version": "5.0.0", "version": "5.0.1", "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/parametre.git", "reference": "04311ff04b56bda07cb67eeed3d0757f0e50027a" "reference": "5ee55b27320ded72c7e18fdcc18086867343dbd8" }, "require": { "unicaen/app": "^5", "unicaen/privilege": "^5" }, "type": "library", Loading @@ -9961,7 +9960,7 @@ ] }, "description": "Module de gestion de paramètres", "time": "2022-07-21T08:58:12+00:00" "time": "2023-03-03T10:09:58+00:00" }, { "name": "unicaen/pdf", Loading module/Formation/src/Formation/Controller/EnqueteQuestionController.php +1 −1 Original line number Diff line number Diff line Loading @@ -342,7 +342,7 @@ class EnqueteQuestionController extends AbstractController { $categories = $this->getEntityManager()->getRepository(EnqueteCategorie::class)->findAll(); $delai = $this->getParametreService()->getParametreByCode(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE)->getValeur(); $delai = $this->getParametreService()->getValeurForParametre(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE); $date = DateTime::createFromFormat('d/m/Y', $inscription->getSession()->getDateFin()->format('d/m/Y')); $date->add(new DateInterval('P'.$delai.'D')); Loading module/Formation/src/Formation/Controller/IndexController.php +1 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ class IndexController extends AbstractController 'ouvertes' => $ouvertes, 'preparations' => $preparations, 'inscriptions' => $inscriptions, 'delai' => $this->getParametreService()->getParametreByCode(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE)->getValeur(), 'delai' => $this->getParametreService()->getValeurForParametre(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE), ]); } Loading module/Formation/src/Formation/Controller/Recherche/AbstractRechercheController.php +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ class AbstractRechercheController extends AbstractController implements SearchCo 'paginator' => $paginator, 'routeName' => $this->routeName, 'returnUrl' => $this->getRequest()->getRequestUri(), 'delai' => $this->getParametreService()?$this->getParametreService()->getParametreByCode(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE)->getValeur():null, 'delai' => $this->getParametreService()?$this->getParametreService()->getValeurForParametre(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE):null, ]); $model->setTemplate($this->indexActionTemplate); Loading module/Soutenance/src/Soutenance/Assertion/InterventionAssertion.php +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ class InterventionAssertion implements AssertionInterface $proposition = $this->getPropositionService()->findOneForThese($these); $date_soutenance = ($these->getDateSoutenance())?$these->getDateSoutenance():$proposition->getDate(); $interval = $this->getParametreService()->getParametreByCode(SoutenanceParametres::CATEGORIE, SoutenanceParametres::DELAI_INTERVENTION)->getValeur(); $interval = $this->getParametreService()->getValeurForParametre(SoutenanceParametres::CATEGORIE, SoutenanceParametres::DELAI_INTERVENTION); $mini = (new DateTime())->sub(new DateInterval('P'.$interval.'D')); $maxi = (new DateTime())->add(new DateInterval('P'.$interval.'D')); Loading Loading
composer.lock +3 −4 Original line number Diff line number Diff line Loading @@ -9943,14 +9943,13 @@ }, { "name": "unicaen/parametre", "version": "5.0.0", "version": "5.0.1", "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/parametre.git", "reference": "04311ff04b56bda07cb67eeed3d0757f0e50027a" "reference": "5ee55b27320ded72c7e18fdcc18086867343dbd8" }, "require": { "unicaen/app": "^5", "unicaen/privilege": "^5" }, "type": "library", Loading @@ -9961,7 +9960,7 @@ ] }, "description": "Module de gestion de paramètres", "time": "2022-07-21T08:58:12+00:00" "time": "2023-03-03T10:09:58+00:00" }, { "name": "unicaen/pdf", Loading
module/Formation/src/Formation/Controller/EnqueteQuestionController.php +1 −1 Original line number Diff line number Diff line Loading @@ -342,7 +342,7 @@ class EnqueteQuestionController extends AbstractController { $categories = $this->getEntityManager()->getRepository(EnqueteCategorie::class)->findAll(); $delai = $this->getParametreService()->getParametreByCode(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE)->getValeur(); $delai = $this->getParametreService()->getValeurForParametre(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE); $date = DateTime::createFromFormat('d/m/Y', $inscription->getSession()->getDateFin()->format('d/m/Y')); $date->add(new DateInterval('P'.$delai.'D')); Loading
module/Formation/src/Formation/Controller/IndexController.php +1 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ class IndexController extends AbstractController 'ouvertes' => $ouvertes, 'preparations' => $preparations, 'inscriptions' => $inscriptions, 'delai' => $this->getParametreService()->getParametreByCode(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE)->getValeur(), 'delai' => $this->getParametreService()->getValeurForParametre(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE), ]); } Loading
module/Formation/src/Formation/Controller/Recherche/AbstractRechercheController.php +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ class AbstractRechercheController extends AbstractController implements SearchCo 'paginator' => $paginator, 'routeName' => $this->routeName, 'returnUrl' => $this->getRequest()->getRequestUri(), 'delai' => $this->getParametreService()?$this->getParametreService()->getParametreByCode(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE)->getValeur():null, 'delai' => $this->getParametreService()?$this->getParametreService()->getValeurForParametre(FormationParametres::CATEGORIE, FormationParametres::DELAI_ENQUETE):null, ]); $model->setTemplate($this->indexActionTemplate); Loading
module/Soutenance/src/Soutenance/Assertion/InterventionAssertion.php +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ class InterventionAssertion implements AssertionInterface $proposition = $this->getPropositionService()->findOneForThese($these); $date_soutenance = ($these->getDateSoutenance())?$these->getDateSoutenance():$proposition->getDate(); $interval = $this->getParametreService()->getParametreByCode(SoutenanceParametres::CATEGORIE, SoutenanceParametres::DELAI_INTERVENTION)->getValeur(); $interval = $this->getParametreService()->getValeurForParametre(SoutenanceParametres::CATEGORIE, SoutenanceParametres::DELAI_INTERVENTION); $mini = (new DateTime())->sub(new DateInterval('P'.$interval.'D')); $maxi = (new DateTime())->add(new DateInterval('P'.$interval.'D')); Loading