Loading module/Soutenance/src/Soutenance/Entity/Membre.php +17 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ namespace Soutenance\Entity; use Application\Entity\Db\Acteur; use Application\Entity\Db\Individu; use Application\Entity\Db\Role; use UnicaenApp\Entity\HistoriqueAwareTrait; use UnicaenApp\Exception\RuntimeException; Loading Loading @@ -300,4 +301,20 @@ class Membre { } return false; } public function estDirecteur() { if (!$this->getActeur()) return false; return ( $this->getActeur()->getRole()->getCode() === Role::CODE_DIRECTEUR_THESE ); } public function estCoDirecteur() { if (!$this->getActeur()) return false; return ( $this->getActeur()->getRole()->getCode() === Role::CODE_CODIRECTEUR_THESE ); } } No newline at end of file module/Soutenance/src/Soutenance/Service/SignaturePresident/signature-president.phtml +18 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,8 @@ use Soutenance\Entity\Proposition; table.composition td{ border-bottom:solid 1px gray; /*margin-right: 0.5rem;*/ padding-right: 0.5rem; } table.composition tbody tr { Loading Loading @@ -111,6 +113,8 @@ use Soutenance\Entity\Proposition; <br/> <br/> <br/> <br/> <h2> Récapitulatif de la thèse et soutenance </h2> Loading Loading @@ -153,6 +157,7 @@ use Soutenance\Entity\Proposition; <tr> <th> Dénomination </th> <th> Qualité </th> <th> Rôle </th> <th> Établissement/Organisme d'affectation </th> <th> Visio </th> </tr> Loading @@ -163,6 +168,19 @@ use Soutenance\Entity\Proposition; <tr> <td> <?php echo $membre->getDenomination(); ?> </td> <td> <?php echo ($membre->getQualite())?$membre->getQualite()->getLibelle():"Non définie"; ?> </td> <td> <?php if ($membre->estRapporteur()) : ?> Rapporteur <?php else : ?> Membre du jury <?php endif; ?> <?php if ($membre->estDirecteur()) : ?> <br/> Directeur de thèse <?php endif; ?> <?php if ($membre->estCoDirecteur()) : ?> <br/> Co-directeur de thèse <?php endif; ?> </td> <td> <?php echo $membre->getEtablissement(); ?> </td> <td> <?php echo ($membre->isVisio())?"Oui":"Non"; ?></td> </tr> Loading Loading
module/Soutenance/src/Soutenance/Entity/Membre.php +17 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ namespace Soutenance\Entity; use Application\Entity\Db\Acteur; use Application\Entity\Db\Individu; use Application\Entity\Db\Role; use UnicaenApp\Entity\HistoriqueAwareTrait; use UnicaenApp\Exception\RuntimeException; Loading Loading @@ -300,4 +301,20 @@ class Membre { } return false; } public function estDirecteur() { if (!$this->getActeur()) return false; return ( $this->getActeur()->getRole()->getCode() === Role::CODE_DIRECTEUR_THESE ); } public function estCoDirecteur() { if (!$this->getActeur()) return false; return ( $this->getActeur()->getRole()->getCode() === Role::CODE_CODIRECTEUR_THESE ); } } No newline at end of file
module/Soutenance/src/Soutenance/Service/SignaturePresident/signature-president.phtml +18 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,8 @@ use Soutenance\Entity\Proposition; table.composition td{ border-bottom:solid 1px gray; /*margin-right: 0.5rem;*/ padding-right: 0.5rem; } table.composition tbody tr { Loading Loading @@ -111,6 +113,8 @@ use Soutenance\Entity\Proposition; <br/> <br/> <br/> <br/> <h2> Récapitulatif de la thèse et soutenance </h2> Loading Loading @@ -153,6 +157,7 @@ use Soutenance\Entity\Proposition; <tr> <th> Dénomination </th> <th> Qualité </th> <th> Rôle </th> <th> Établissement/Organisme d'affectation </th> <th> Visio </th> </tr> Loading @@ -163,6 +168,19 @@ use Soutenance\Entity\Proposition; <tr> <td> <?php echo $membre->getDenomination(); ?> </td> <td> <?php echo ($membre->getQualite())?$membre->getQualite()->getLibelle():"Non définie"; ?> </td> <td> <?php if ($membre->estRapporteur()) : ?> Rapporteur <?php else : ?> Membre du jury <?php endif; ?> <?php if ($membre->estDirecteur()) : ?> <br/> Directeur de thèse <?php endif; ?> <?php if ($membre->estCoDirecteur()) : ?> <br/> Co-directeur de thèse <?php endif; ?> </td> <td> <?php echo $membre->getEtablissement(); ?> </td> <td> <?php echo ($membre->isVisio())?"Oui":"Non"; ?></td> </tr> Loading