Commit 14d4298b authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajout du champ idREF pour les structures

parent 30f20d42
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ Journal des modifications

- Changement de catégorie pour les privilèges associés aux pages d'information
- Ajout d'une configuration pour le fil d'actualité.
- Ajout du champ IdREF pour toutes les structures et modification de l'affichage/saisie des informations.

1.4.8 (01/09/2020)
------------------
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
        <field name="fax"        type="string" column="FAX"         length="256"  nullable="true"/>
        <field name="email"      type="string" column="EMAIL"       length="256"  nullable="true"/>
        <field name="siteWeb"    type="string" column="SITE_WEB"    length="256"  nullable="true"/>
        <field name="idRef"      type="string" column="ID_REF"      length="1024" nullable="true"/>

        <many-to-one field="typeStructure" target-entity="Application\Entity\Db\TypeStructure">
            <join-columns>
+22 −3
Original line number Diff line number Diff line
@@ -34,9 +34,10 @@ class Structure implements StructureInterface, HistoriqueAwareInterface, SourceA
    /**
     * @var string $adresse
     * @var string $telephone
     * @var string $fax
     * @var string $email
     * @var string $siteWeb
     * @var string $fax
     * @var string $email
     * @var string $siteWeb
     * @var string $idRef
     */

    protected $adresse;
@@ -44,6 +45,7 @@ class Structure implements StructureInterface, HistoriqueAwareInterface, SourceA
    protected $fax;
    protected $email;
    protected $siteWeb;
    protected $idRef;

    /**
     * @var string
@@ -463,4 +465,21 @@ class Structure implements StructureInterface, HistoriqueAwareInterface, SourceA
        $this->siteWeb = $siteWeb;
        return $this;
    }

    /**
     * @return mixed
     */
    public function getIdRef()
    {
        return $this->idRef;
    }

    /**
     * @param mixed $idRef
     */
    public function setIdRef($idRef)
    {
        $this->idRef = $idRef;
    }

}
 No newline at end of file
+11 −1
Original line number Diff line number Diff line
@@ -40,6 +40,12 @@ class EcoleDoctoraleForm extends Form
                new Text('code'))
                    ->setLabel("Code :")
        );

        $this->add((
        new Text('id_ref'))
            ->setLabel("IdREF :")
        );

        $this->add(
            (new Checkbox('estFerme'))
                ->setLabel("École doctorale fermée")
@@ -73,6 +79,10 @@ class EcoleDoctoraleForm extends Form
                'name' => 'libelle',
                'required' => true,
            ],
            'id_ref' => [
                'name' => 'id_ref',
                'required' => false,
            ],
            'code' => [
                'name' => 'code',
                'required' => true,
+9 −0
Original line number Diff line number Diff line
@@ -45,6 +45,11 @@ class EtablissementForm extends Form
            ->setLabel("Code :")
        );

        $this->add((
        new Text('id_ref'))
            ->setLabel("IdREF :")
        );

        $this->add((
        new Text('adresse'))
            ->setLabel("Adresse (sur une ligne) :")
@@ -113,6 +118,10 @@ class EtablissementForm extends Form
                'name' => 'Sigle',
                'required' => false,
            ],
            'id_ref' => [
                'name' => 'id_ref',
                'required' => false,
            ],
            'code' => [
                'name' => 'Code',
                'required' => false,
Loading