Commit 010bc275 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Merge branch 'master' of git.unicaen.fr:dsi/sygal

parents 702d6df2 97baaa22
Loading
Loading
Loading
Loading
Loading
+8 −1
Changes for module/Application/src/Application/Service/Fichier/FichierService.php: 8 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -556,7 +556,14 @@ class FichierService extends BaseService
        $pdcData->setTitre($these->getTitre());
        $pdcData->setSpecialite($these->getLibelleDiscipline());
        if ($these->getEtablissement()) $pdcData->setEtablissement($these->getEtablissement()->getLibelle());
        if ($these->getDoctorant()) $pdcData->setDoctorant($these->getDoctorant()->getIndividu()->getNomComplet(false, false, false, true, true));
//        if ($these->getDoctorant()) $pdcData->setDoctorant($these->getDoctorant()->getIndividu()->getNomComplet(false, false, false, true, true));
        if ($these->getDoctorant()) {
            $nom = $these->getDoctorant()->getIndividu()->getNomPatronymique();
            if ($nom === null ) $nom = $these->getDoctorant()->getIndividu()->getNomUsuel();
            $nom = strtoupper($nom);
            $prenom = $these->getDoctorant()->getIndividu()->getPrenom1();
            $pdcData->setDoctorant($prenom. " ". $nom);
        }
        if ($these->getDateSoutenance()) $pdcData->setDate($these->getDateSoutenance()->format("d/m/Y"));

        /** cotutelle */