Commit 7a44e377 authored by Thomas Hamel's avatar Thomas Hamel Committed by Bertrand Gauthier
Browse files

modifs des fonctions getLibelle* des champs ajoutés pour la saisie de thèse

parent 274ca1c3
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Application/src/Application/Entity/Db/TitreAcces.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -197,7 +197,8 @@ class TitreAcces implements HistoriqueAwareInterface
     */
    public function getLibelleEtabTitreAcces()
    {
        return $this->libelleEtabTitreAcces;
        $estImportable = $this->getSource()->getImportable();
        return $estImportable ? $this->libelleEtabTitreAcces : $this->getEtablissement();
    }

    /**
+5 −2
Changes for module/These/src/These/Entity/Db/These.php: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1176,7 +1176,8 @@ class These implements HistoriqueAwareInterface, ResourceInterface
     */
    public function getLibelleEtabCotutelle()
    {
        return $this->libelleEtabCotutelle;
        $estImportable = $this->getSource()->getImportable();
        return $estImportable ? $this->libelleEtabCotutelle : $this->getEtablissementCoTutelle();
    }

    /**
@@ -1195,7 +1196,9 @@ class These implements HistoriqueAwareInterface, ResourceInterface
     */
    public function getLibellePaysCotutelle()
    {
        return $this->libellePaysCotutelle;
        $estImportable = $this->getSource()->getImportable();

        return $estImportable ? $this->libellePaysCotutelle : $this->getPaysCoTutelle();
    }

    /**