Commit f0cb1422 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction bug dans session faisant directement référence à un module

parent 0695ddc7
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Formation/src/Formation/Entity/Db/Repository/InscriptionRepository.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ class InscriptionRepository extends EntityRepository
    {
        $qb = $this->createQueryBuilder($alias)
            ->join($alias.".session", "session")->addSelect("session")
            ->join("session.module", "module")->addSelect("module")
            ->join("session.formation", "formation")->addSelect("formation")
            ->join($alias.".doctorant", "doctorant")->addSelect("doctorant")
        ;
        return $qb;
+1 −1
Changes for module/Formation/view/formation/index/index-doctorant.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ $canAttestationInscription = $this->isAllowed(InscriptionPrivileges::getResource
            <?php foreach ($terminees as $inscription) : ?>
                <?php $session = $inscription->getSession(); ?>
                <tr>
                    <td> <?php echo $session->getModule()->getLibelle(); ?> </td>
                    <td> <?php echo $session->getFormation()->getLibelle(); ?> </td>
                    <td> <?php echo $session->getIndex(); ?> </td>
                    <td> <?php echo $this->formateurs($session); ?> </td>
                    <td> <?php echo $this->site($session); ?> </td>