Loading module/Application/src/Application/Controller/OffreFormationController.php +2 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ namespace Application\Controller; use Application\Entity\Db\CheminPedagogique; use Application\Entity\Db\ElementPedagogique; use Application\Entity\Db\Etape; use Application\Entity\Db\GroupeTypeFormation; Loading Loading @@ -365,6 +366,7 @@ class OffreFormationController extends AbstractController /* Mise en place des filtres */ $this->em()->getFilters()->enable('historique')->init([ ElementPedagogique::class, CheminPedagogique::class, TypeFormation::class, GroupeTypeFormation::class, TypeModulateur::class, Loading module/Application/view/application/offre-formation/index.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -60,9 +60,9 @@ $etapesItems = [ foreach ($etapes as $etp) { $etapesItems[$etp->getId()] = [ 'label' => sprintf("%s (%s EP)", $etp, count($etp->getElementPedagogique())), 'label' => sprintf("%s (%s EP)", $etp, count($etp->getCheminPedagogique())), 'etape' => $etp, 'orpheline' => $etp->getElementPedagogique()->count() === 0, 'orpheline' => $etp->getCheminPedagogique()->count() === 0, 'url' => $this->url('of', [], makeQuery($structure, $niveau, $etp)), ]; } Loading Loading
module/Application/src/Application/Controller/OffreFormationController.php +2 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ namespace Application\Controller; use Application\Entity\Db\CheminPedagogique; use Application\Entity\Db\ElementPedagogique; use Application\Entity\Db\Etape; use Application\Entity\Db\GroupeTypeFormation; Loading Loading @@ -365,6 +366,7 @@ class OffreFormationController extends AbstractController /* Mise en place des filtres */ $this->em()->getFilters()->enable('historique')->init([ ElementPedagogique::class, CheminPedagogique::class, TypeFormation::class, GroupeTypeFormation::class, TypeModulateur::class, Loading
module/Application/view/application/offre-formation/index.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -60,9 +60,9 @@ $etapesItems = [ foreach ($etapes as $etp) { $etapesItems[$etp->getId()] = [ 'label' => sprintf("%s (%s EP)", $etp, count($etp->getElementPedagogique())), 'label' => sprintf("%s (%s EP)", $etp, count($etp->getCheminPedagogique())), 'etape' => $etp, 'orpheline' => $etp->getElementPedagogique()->count() === 0, 'orpheline' => $etp->getCheminPedagogique()->count() === 0, 'url' => $this->url('of', [], makeQuery($structure, $niveau, $etp)), ]; } Loading