Loading module/Application/config/administration.config.php +1 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,7 @@ return [ Privileges::DOMAINES_FONCTIONNELS_ADMINISTRATION_VISUALISATION, Privileges::MOTIFS_MODIFICATION_SERVICE_DU_VISUALISATION, Privileges::MOTIF_NON_PAIEMENT_VISUALISATION, Privileges::ODF_RECONDUCTION_OFFRE, ], 'assertion' => Assertion\GestionAssertion::class, ], Loading module/Application/config/offre-formation.config.php +3 −2 Original line number Diff line number Diff line Loading @@ -371,7 +371,9 @@ return [ Service\TypeModulateurService::class => Service\TypeModulateurService::class, Service\DomaineFonctionnelService::class => Service\DomaineFonctionnelService::class, Assertion\OffreDeFormationAssertion::class => Assertion\OffreDeFormationAssertion::class, Processus\ReconductionProcessus::class => Processus\ReconductionProcessusFactory::class, ], 'factories' => [ Processus\ReconductionProcessus::class => Processus\Factory\ReconductionProcessusFactory::class, ], ], 'form_elements' => [ Loading @@ -388,7 +390,6 @@ return [ ], 'factories' => [ Form\OffreFormation\VolumeHoraireEns::class => Form\OffreFormation\Factory\VolumeHoraireEnsFormFactory::class, Processus\ReconductionProcessusFactory::class => Processus\Factory\ReconductionProcessusFactory::class, ], ], 'view_helpers' => [ Loading module/Application/src/Application/Controller/OffreFormationController.php +7 −2 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ class OffreFormationController extends AbstractController $element->getPeriode(), $element->getTauxFoad(), $element->getTauxFi(), $elemendockt->getTauxFa(), $element->getTauxFa(), $element->getTauxFc(), $effectifs ? $effectifs->getFi() : null, $effectifs ? $effectifs->getFa() : null, Loading @@ -148,7 +148,12 @@ class OffreFormationController extends AbstractController list($structure, $niveau, $etape) = $this->getParams(); //Get role of user $role = $this->getServiceContext()->getSelectedIdentityRole(); $structures = $this->getServiceStructure()->getList($this->getServiceStructure()->finderByRole($role)); $qb = $this->getServiceStructure()->finderByHistorique(); $this->getServiceStructure()->finderByEnseignement($qb); $this->getServiceStructure()->finderByRole($role, $qb); $structures = $this->getServiceStructure()->getList($qb); $anneeEnCours = $this->getServiceContext()->getAnnee(); list($offresComplementaires, $mappingEtape, $reconductionTotale) = $this->getServiceOffreFormation()->getOffreComplementaire($structure, $niveau, $etape); Loading module/Application/src/Application/Service/OffreFormationService.php +1 −1 Original line number Diff line number Diff line Loading @@ -131,7 +131,7 @@ class OffreFormationService extends AbstractEntityService $offresComplementaires = []; $anneeEnCours = $this->getServiceContext()->getAnnee(); $anneeSuivante = $this->getServiceAnnee()->getSuivante($anneeEnCours); $source = $this->getServiceSource()->get('1'); $source = $this->getServiceSource()->getOse(); $this->getServiceLocalContext() ->setStructure($structure) Loading Loading
module/Application/config/administration.config.php +1 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,7 @@ return [ Privileges::DOMAINES_FONCTIONNELS_ADMINISTRATION_VISUALISATION, Privileges::MOTIFS_MODIFICATION_SERVICE_DU_VISUALISATION, Privileges::MOTIF_NON_PAIEMENT_VISUALISATION, Privileges::ODF_RECONDUCTION_OFFRE, ], 'assertion' => Assertion\GestionAssertion::class, ], Loading
module/Application/config/offre-formation.config.php +3 −2 Original line number Diff line number Diff line Loading @@ -371,7 +371,9 @@ return [ Service\TypeModulateurService::class => Service\TypeModulateurService::class, Service\DomaineFonctionnelService::class => Service\DomaineFonctionnelService::class, Assertion\OffreDeFormationAssertion::class => Assertion\OffreDeFormationAssertion::class, Processus\ReconductionProcessus::class => Processus\ReconductionProcessusFactory::class, ], 'factories' => [ Processus\ReconductionProcessus::class => Processus\Factory\ReconductionProcessusFactory::class, ], ], 'form_elements' => [ Loading @@ -388,7 +390,6 @@ return [ ], 'factories' => [ Form\OffreFormation\VolumeHoraireEns::class => Form\OffreFormation\Factory\VolumeHoraireEnsFormFactory::class, Processus\ReconductionProcessusFactory::class => Processus\Factory\ReconductionProcessusFactory::class, ], ], 'view_helpers' => [ Loading
module/Application/src/Application/Controller/OffreFormationController.php +7 −2 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ class OffreFormationController extends AbstractController $element->getPeriode(), $element->getTauxFoad(), $element->getTauxFi(), $elemendockt->getTauxFa(), $element->getTauxFa(), $element->getTauxFc(), $effectifs ? $effectifs->getFi() : null, $effectifs ? $effectifs->getFa() : null, Loading @@ -148,7 +148,12 @@ class OffreFormationController extends AbstractController list($structure, $niveau, $etape) = $this->getParams(); //Get role of user $role = $this->getServiceContext()->getSelectedIdentityRole(); $structures = $this->getServiceStructure()->getList($this->getServiceStructure()->finderByRole($role)); $qb = $this->getServiceStructure()->finderByHistorique(); $this->getServiceStructure()->finderByEnseignement($qb); $this->getServiceStructure()->finderByRole($role, $qb); $structures = $this->getServiceStructure()->getList($qb); $anneeEnCours = $this->getServiceContext()->getAnnee(); list($offresComplementaires, $mappingEtape, $reconductionTotale) = $this->getServiceOffreFormation()->getOffreComplementaire($structure, $niveau, $etape); Loading
module/Application/src/Application/Service/OffreFormationService.php +1 −1 Original line number Diff line number Diff line Loading @@ -131,7 +131,7 @@ class OffreFormationService extends AbstractEntityService $offresComplementaires = []; $anneeEnCours = $this->getServiceContext()->getAnnee(); $anneeSuivante = $this->getServiceAnnee()->getSuivante($anneeEnCours); $source = $this->getServiceSource()->get('1'); $source = $this->getServiceSource()->getOse(); $this->getServiceLocalContext() ->setStructure($structure) Loading