Commit 3ae17d80 authored by Thomas Hamel's avatar Thomas Hamel
Browse files

[FIX] Formation : Paramètre du sursis de l'enquête non pris en compte

parent dccdcb4f
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Formation/view/formation/index/partial/formations-suivies-tab.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ if (is_array($terminees) && count($terminees) > 0): ?>
                            $dateButoir = null;
                            foreach ($heurodatagesSession as $heurodatageSession) {
                                $dateFin = $heurodatageSession->getEtat()->getCode() === Etat::CODE_CLOTURER ? DateTime::createFromFormat('d/m/Y', $heurodatageSession->getHeurodatage()->format('d/m/Y')) : $date;
                                $dateButoir = $dateFin ? $dateFin->add(new DateInterval('P' . $delai . 'D')) : $dateButoir;
                                $dateButoir = $dateFin ? $dateFin->add(new DateInterval('P' . $delaiInscription . 'D')) : $dateButoir;
                            }
                            ?>
                            <?php if ($dateButoir && $now <= $dateButoir) : ?>