Commit 33b6a8b2 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Préparation des libellés des associés (ajout dans PdcData)

parent 8e193b43
Loading
Loading
Loading
Loading
Loading
+55
Changes for data/SQL/sygal/soutenance.sql: 55 added lines, 0 removed lines.
Original line number Diff line number Diff line
create table SOUTENANCE_PROPOSITION
(
	ID NUMBER not null
		primary key,
	THESE_ID NUMBER not null
		constraint PROPOSITION_THESE_FK
			references THESE,
	DATEPREV DATE,
	LIEU VARCHAR2(256),
	RENDU_RAPPORT DATE
)
/


create table SOUTENANCE_QUALITE
(
	ID NUMBER not null
		primary key,
	LIBELLE VARCHAR2(128) not null,
	RANG VARCHAR2(1) not null
)
/


create table SOUTENANCE_MEMBRE
(
	ID NUMBER not null
		primary key,
	PROPOSITION_ID NUMBER not null
		constraint MEMBRE_PROPOSITION_FK
			references SOUTENANCE_PROPOSITION,
	DENOMINATION VARCHAR2(256) not null,
	GENRE VARCHAR2(1) not null,
	QUALITE NUMBER default NULL not null
		constraint MEMBRE_QUALITE_FK
			references SOUTENANCE_QUALITE,
	ETABLISSEMENT VARCHAR2(128) not null,
	ROLE VARCHAR2(64) not null,
	EXTERIEUR VARCHAR2(3),
	EMAIL VARCHAR2(256) default NULL not null,
	PERSOPASS VARCHAR2(32),
	NOUVEAU NUMBER default 0,
	EXPERTISE DATE
)
/

INSERT INTO SOUTENANCE_QUALITE (ID, LIBELLE, RANG) VALUES (8, 'Grand testeur entropique', 'A');
INSERT INTO SOUTENANCE_QUALITE (ID, LIBELLE, RANG) VALUES (1, 'Professeur des universités', 'A');
INSERT INTO SOUTENANCE_QUALITE (ID, LIBELLE, RANG) VALUES (2, 'Directeur de recherche', 'A');
INSERT INTO SOUTENANCE_QUALITE (ID, LIBELLE, RANG) VALUES (3, 'Autre libelle de rang A', 'A');
INSERT INTO SOUTENANCE_QUALITE (ID, LIBELLE, RANG) VALUES (4, 'Maître de conférences', 'B');
INSERT INTO SOUTENANCE_QUALITE (ID, LIBELLE, RANG) VALUES (5, 'Chargé de recherche', 'B');
INSERT INTO SOUTENANCE_QUALITE (ID, LIBELLE, RANG) VALUES (6, 'Autre libelle de rang B', 'B');

INSERT INTO TYPE_VALIDATION (ID, CODE, LIBELLE) VALUES (6, 'PROPOSITION_SOUTENANCE', 'Validation de la proposition de soutenance');
 No newline at end of file
+1
Changes for module/Application/src/Application/Service/Fichier/FichierService.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -564,6 +564,7 @@ class FichierService extends BaseService
            if ($directeur->getEtablissement()->estAssocie()) {
                $pdcData->setAssocie(true);
                $pdcData->setLogoAssocie($directeur->getEtablissement()->getCheminLogo());
                $pdcData->setLibelleAssocie($directeur->getEtablissement()->getLibelle());
            }
        }

+22
Changes for module/Application/src/Application/Service/Fichier/PdcData.php: 22 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -106,6 +106,8 @@ class PdcData {
    private $associe;
    /** @var string */
    private $logoAssocie;
    /** @var string */
    private $libelleAssocie;


    /** @var MembreData[] */
@@ -327,6 +329,26 @@ class PdcData {
        return $this;
    }

    /**
     * @return string
     */
    public function getLibelleAssocie()
    {
        return $this->libelleAssocie;
    }

    /**
     * @param string $libelleAssocie
     * @return PdcData
     */
    public function setLibelleAssocie($libelleAssocie)
    {
        $this->libelleAssocie = $libelleAssocie;
        return $this;
    }



    /**
     * @return MembreData[]
     */
+3
Changes for module/Application/src/Application/Service/These/PageDeGarde/pagedecouverture.phtml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -59,6 +59,9 @@ $PATH = Structure::PATH;
    <?php else: ?>
        <span style='background-color:red;'> non renseigné </span>
    <?php endif; ?>
<!--    --><?php //if ($informations->isAssocie()): ?>
<!--     et de l'--><?php //echo $informations->getLibelleAssocie(); ?>
<!--    --><?php //endif; ?>
    <br/>

    <?php if ($informations->isCotutuelle()): ?>