Loading CHANGELOG.md +2 −0 Changes for CHANGELOG.md: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -7,6 +7,8 @@ Journal des modifications - [FIX] Step-Star : prise en compte des thèses écartées dans le comptage des fichiers TEF générés. - [FIX] Formation : plantage lors de l'ouverture de la page de modification d'une Formation. - [FIX] Script de purge des fichiers temporaires : correction pour ce qui concerne la génération XML/TEF (envoi vers step-star). - [FIX] Soutenance : Lien de la convocation pour un membre envoyé par mail ne fonctionnait plus (Thèse\HDR) - [FIX] Soutenance : Génération de la convocation pour un membre non fonctionnelle (Thèse\HDR) - Soutenance : déplacement sous "Soutenance" du menu "Dépôt du rapport" et renommage en "Accès rapide Rapporteur". - Indicateur au format Thèse : inclusion de la colonne 'etat_these' et d'une colonne facultative 'extra'. - Soutenance Thèse : ajout d'une alerte quand une association membre=>acteur est incorrecte en raison du rôle inadéquat de l'acteur. Loading module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php +2 −2 Changes for module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -643,7 +643,7 @@ abstract class PresoutenanceController extends AbstractSoutenanceController if($this->entity instanceof These){ $signature = $this->findSignatureEcoleDoctorale($this->entity) ?: $this->findSignatureEtablissement($this->entity); }else{ $signature = $this->findSignatureEtablissement($this->entity); $signature = ""; } $pdcData = $this->entityService->fetchInformationsPageDeCouverture($this->entity); Loading Loading @@ -678,7 +678,7 @@ abstract class PresoutenanceController extends AbstractSoutenanceController if($this->entity instanceof These){ $signature = $this->findSignatureEcoleDoctorale($this->entity) ?: $this->findSignatureEtablissement($this->entity); }else{ $signature = $this->findSignatureEtablissement($this->entity); $signature =""; } $pdcData = $this->entityService->fetchInformationsPageDeCouverture($this->entity); Loading module/Soutenance/src/Soutenance/Entity/Membre.php +4 −16 Changes for module/Soutenance/src/Soutenance/Entity/Membre.php: 4 added lines, 16 removed lines. Original line number Diff line number Diff line Loading @@ -107,27 +107,14 @@ class Membre implements HistoriqueAwareInterface public function getCivilite(): string|null { $civilite = null; // supprimé car utilise $this->getIndividu() qui elle-même a été supprimée car utilise une relation supprimée // if ($this->getIndividu()) { // if ($this->getIndividu()->getCivilite() === 'M.') $civilite = "Monsieur"; // if ($this->getIndividu()->getCivilite() === 'Mme') $civilite = "Madame"; // } // if(empty($civilite)){ if ($this->getGenre() === 'F') $civilite = "Madame"; if ($this->getGenre() === 'H') $civilite = "Monsieur"; // } // return $civilite; } public function getCiviliteCourte(): string { // supprimé car utilise $this->getIndividu() qui elle-même a été supprimée car utilise une relation supprimée // if ($this->getIndividu()) { // return $this->getIndividu()->getCivilite() ?: '-'; // } if ($this->getGenre() === 'F') return "Mme"; if ($this->getGenre() === 'H') return "M."; Loading @@ -137,9 +124,10 @@ class Membre implements HistoriqueAwareInterface /** * @return string */ public function getDenomination() public function getDenomination(bool $avecCiviliteCourte = false) { return (($this->getGenre()==='F')?"Mme":"M").' '.$this->prenom." ".strtoupper($this->getNom()); $civilite = $avecCiviliteCourte ? $this->getCiviliteCourte()." " : ""; return $civilite.strtoupper($this->getNom())." ".$this->getPrenom(); } /** Loading module/Soutenance/src/Soutenance/Renderer/SoutenanceMembreTemplateVariable.php +1 −1 Changes for module/Soutenance/src/Soutenance/Renderer/SoutenanceMembreTemplateVariable.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ class SoutenanceMembreTemplateVariable extends AbstractTemplateVariable public function getDenomination(): string { return $this->membre->getDenomination(); return $this->membre->getDenomination(true); } /** Loading module/Soutenance/src/Soutenance/Service/Exporter/Convocation/ConvocationPdfExporter.php +0 −8 Changes for module/Soutenance/src/Soutenance/Service/Exporter/Convocation/ConvocationPdfExporter.php: 0 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -71,10 +71,6 @@ class ConvocationPdfExporter extends PdfExporter public function exportDoctorant($filename = null, $destination = self::DESTINATION_BROWSER, $memoryLimit = null) { /** @var These $these */ $these = $this->vars["these"]; // $this->addBodyHtml('<style>' . file_get_contents(APPLICATION_DIR . '/public/css/page-unicaen.css') . '</style>'); $this->setHeaderScript('empty.phtml'); $this->setFooterScript('empty.phtml'); Loading @@ -89,10 +85,6 @@ class ConvocationPdfExporter extends PdfExporter public function exportMembre(Membre $membre, $filename = null, $destination = self::DESTINATION_BROWSER, $memoryLimit = null) { /** @var These $these */ $these = $this->vars["these"]; // $this->addBodyHtml('<style>' . file_get_contents(APPLICATION_DIR . '/public/css/page-unicaen.css') . '</style>'); $this->setHeaderScript('empty.phtml'); $this->setFooterScript('empty.phtml'); Loading Loading
CHANGELOG.md +2 −0 Changes for CHANGELOG.md: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -7,6 +7,8 @@ Journal des modifications - [FIX] Step-Star : prise en compte des thèses écartées dans le comptage des fichiers TEF générés. - [FIX] Formation : plantage lors de l'ouverture de la page de modification d'une Formation. - [FIX] Script de purge des fichiers temporaires : correction pour ce qui concerne la génération XML/TEF (envoi vers step-star). - [FIX] Soutenance : Lien de la convocation pour un membre envoyé par mail ne fonctionnait plus (Thèse\HDR) - [FIX] Soutenance : Génération de la convocation pour un membre non fonctionnelle (Thèse\HDR) - Soutenance : déplacement sous "Soutenance" du menu "Dépôt du rapport" et renommage en "Accès rapide Rapporteur". - Indicateur au format Thèse : inclusion de la colonne 'etat_these' et d'une colonne facultative 'extra'. - Soutenance Thèse : ajout d'une alerte quand une association membre=>acteur est incorrecte en raison du rôle inadéquat de l'acteur. Loading
module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php +2 −2 Changes for module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -643,7 +643,7 @@ abstract class PresoutenanceController extends AbstractSoutenanceController if($this->entity instanceof These){ $signature = $this->findSignatureEcoleDoctorale($this->entity) ?: $this->findSignatureEtablissement($this->entity); }else{ $signature = $this->findSignatureEtablissement($this->entity); $signature = ""; } $pdcData = $this->entityService->fetchInformationsPageDeCouverture($this->entity); Loading Loading @@ -678,7 +678,7 @@ abstract class PresoutenanceController extends AbstractSoutenanceController if($this->entity instanceof These){ $signature = $this->findSignatureEcoleDoctorale($this->entity) ?: $this->findSignatureEtablissement($this->entity); }else{ $signature = $this->findSignatureEtablissement($this->entity); $signature =""; } $pdcData = $this->entityService->fetchInformationsPageDeCouverture($this->entity); Loading
module/Soutenance/src/Soutenance/Entity/Membre.php +4 −16 Changes for module/Soutenance/src/Soutenance/Entity/Membre.php: 4 added lines, 16 removed lines. Original line number Diff line number Diff line Loading @@ -107,27 +107,14 @@ class Membre implements HistoriqueAwareInterface public function getCivilite(): string|null { $civilite = null; // supprimé car utilise $this->getIndividu() qui elle-même a été supprimée car utilise une relation supprimée // if ($this->getIndividu()) { // if ($this->getIndividu()->getCivilite() === 'M.') $civilite = "Monsieur"; // if ($this->getIndividu()->getCivilite() === 'Mme') $civilite = "Madame"; // } // if(empty($civilite)){ if ($this->getGenre() === 'F') $civilite = "Madame"; if ($this->getGenre() === 'H') $civilite = "Monsieur"; // } // return $civilite; } public function getCiviliteCourte(): string { // supprimé car utilise $this->getIndividu() qui elle-même a été supprimée car utilise une relation supprimée // if ($this->getIndividu()) { // return $this->getIndividu()->getCivilite() ?: '-'; // } if ($this->getGenre() === 'F') return "Mme"; if ($this->getGenre() === 'H') return "M."; Loading @@ -137,9 +124,10 @@ class Membre implements HistoriqueAwareInterface /** * @return string */ public function getDenomination() public function getDenomination(bool $avecCiviliteCourte = false) { return (($this->getGenre()==='F')?"Mme":"M").' '.$this->prenom." ".strtoupper($this->getNom()); $civilite = $avecCiviliteCourte ? $this->getCiviliteCourte()." " : ""; return $civilite.strtoupper($this->getNom())." ".$this->getPrenom(); } /** Loading
module/Soutenance/src/Soutenance/Renderer/SoutenanceMembreTemplateVariable.php +1 −1 Changes for module/Soutenance/src/Soutenance/Renderer/SoutenanceMembreTemplateVariable.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ class SoutenanceMembreTemplateVariable extends AbstractTemplateVariable public function getDenomination(): string { return $this->membre->getDenomination(); return $this->membre->getDenomination(true); } /** Loading
module/Soutenance/src/Soutenance/Service/Exporter/Convocation/ConvocationPdfExporter.php +0 −8 Changes for module/Soutenance/src/Soutenance/Service/Exporter/Convocation/ConvocationPdfExporter.php: 0 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -71,10 +71,6 @@ class ConvocationPdfExporter extends PdfExporter public function exportDoctorant($filename = null, $destination = self::DESTINATION_BROWSER, $memoryLimit = null) { /** @var These $these */ $these = $this->vars["these"]; // $this->addBodyHtml('<style>' . file_get_contents(APPLICATION_DIR . '/public/css/page-unicaen.css') . '</style>'); $this->setHeaderScript('empty.phtml'); $this->setFooterScript('empty.phtml'); Loading @@ -89,10 +85,6 @@ class ConvocationPdfExporter extends PdfExporter public function exportMembre(Membre $membre, $filename = null, $destination = self::DESTINATION_BROWSER, $memoryLimit = null) { /** @var These $these */ $these = $this->vars["these"]; // $this->addBodyHtml('<style>' . file_get_contents(APPLICATION_DIR . '/public/css/page-unicaen.css') . '</style>'); $this->setHeaderScript('empty.phtml'); $this->setFooterScript('empty.phtml'); Loading