Commit 1e1c2755 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

La variable TRIBUNAL_COMPETENT n'est plus remontée des établissements

parent 5abbea9b
Loading
Loading
Loading
Loading
+0 −3
Changes for module/Application/src/Application/Controller/TheseController.php: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -1325,7 +1325,6 @@ class TheseController extends AbstractController
        $codes = [
            Variable::CODE_ETB_LIB,
            Variable::CODE_ETB_ART_ETB_LIB,
            Variable::CODE_TRIBUNAL_COMPETENT,
        ];
        $dateObs = $these->getDateSoutenance() ?: $these->getDatePrevisionSoutenance();
        $variableRepo = $this->variableService->getRepository();
@@ -1335,7 +1334,6 @@ class TheseController extends AbstractController
        $libEtablissementA = "à " . $letab;
        $libEtablissementLe = $letab;
        $libEtablissementDe = "de " . $letab;
        $libTribunal = lcfirst($vars[Variable::CODE_TRIBUNAL_COMPETENT]->getValeur());

        $renderer = $this->getServiceLocator()->get('view_renderer'); /* @var $renderer \Zend\View\Renderer\PhpRenderer */
        $exporter = new ConventionPdfExporter($renderer, 'A4');
@@ -1348,7 +1346,6 @@ class TheseController extends AbstractController
            'libEtablissementA'  => $libEtablissementA,
            'libEtablissementLe' => $libEtablissementLe,
            'libEtablissementDe' => $libEtablissementDe,
            'libTribunal'        => $libTribunal,
        ]);
        $exporter->export('export.pdf');
        exit;
+0 −1
Changes for module/Application/src/Application/Entity/Db/Variable.php: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ class Variable implements HistoriqueAwareInterface
    const CODE_ETB_LIB                       = 'ETB_LIB';           // Ex: "Université de Caen Normandie"
    const CODE_ETB_LIB_TIT_RESP              = 'ETB_LIB_TIT_RESP';  // Ex: "Le Président"
    const CODE_ETB_LIB_NOM_RESP              = 'ETB_LIB_NOM_RESP';  // Ex: "Pierre Denise"
    const CODE_TRIBUNAL_COMPETENT            = 'TRIBUNAL_COMPETENT';  // Ex: "Trinbunal administratif de Caen"

    /**
     * @var string