Commit e46896d6 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Ajout d'un témoin vacataire administratif pour paramétrage export SIHAM au...

Ajout d'un témoin vacataire administratif pour paramétrage export SIHAM au niveau du statut intervenant
parent 715deb64
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -489,6 +489,18 @@ return [
            'position'    => 30,
            'commentaire' => NULL,
        ],
        'TEM_VA'                        => [
            'name'        => 'TEM_VA',
            'type'        => 'bool',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
            'scale'       => '0',
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 44,
            'commentaire' => NULL,
        ],
        'TEM_BIATSS'                     => [
            'name'        => 'TEM_BIATSS',
            'type'        => 'bool',
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@
        <field name="peutSaisirMotifNonPaiement" type="boolean" column="PEUT_SAISIR_MOTIF_NON_PAIEMENT" nullable="false"/>
        <field name="peutSaisirServiceExt" type="boolean" column="PEUT_SAISIR_SERVICE_EXT" nullable="false"/>
        <field name="temAtv" type="boolean" column="TEM_ATV" nullable="false"/>
        <field name="temVa" type="boolean" column="TEM_VA" nullable="false"/>
        <field name="temBiatss" type="boolean" column="TEM_BIATSS" nullable="false"/>
        <field name="depassementSDSHC" type="boolean" column="DEPASSEMENT_SERVICE_DU_SANS_HC" nullable="false"/>
        <field name="dossierIdentiteComplementaire" type="boolean" column="DOSSIER_IDENTITE_COMP" nullable="false"/>
+29 −0
Original line number Diff line number Diff line
@@ -156,6 +156,11 @@ class StatutIntervenant implements HistoriqueAwareInterface, RoleInterface
     */
    protected $temAtv;

    /**
     * @var boolean
     */
    protected $temVa;

    /**
     * @var boolean
     */
@@ -301,6 +306,30 @@ class StatutIntervenant implements HistoriqueAwareInterface, RoleInterface



    /**
     * @return boolean
     */
    public function getTemVa()
    {
        return $this->temVa;
    }



    /**
     * @param boolean $temVa
     *
     * @return StatutIntervenant
     */
    public function setTemVa($temVa)
    {
        $this->temVa = $temVa;

        return $this;
    }



    /**
     * @return boolean
     */
+15 −0
Original line number Diff line number Diff line
@@ -129,6 +129,21 @@ class StatutIntervenantSaisieForm extends AbstractForm
            'type'       => 'Checkbox',
        ]);

        $this->add([
            'name'       => 'TEM-VA',
            'options'    => [
                'label'              => '<abbr title="Définit si ce statut est un type d\'emploi vacataire administratif.">VA</abbr>',
                'label_options'      => [
                    'disable_html_escape' => true,
                ],
                'use_hidden_element' => true,
            ],
            'attributes' => [
                'title' => 'VA',
            ],
            'type'       => 'Checkbox',
        ]);

        $this->add([
            'name'       => 'TEM-BIATSS',
            'options'    => [
+2 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ class StatutIntervenantHydrator implements HydratorInterface
        $object->setPeutCloturerSaisie($data['peut-cloturer-saisie']);
        $object->setPeutSaisirServiceExt($data['peut-saisir-service-ext']);
        $object->setTemAtv($data['TEM-ATV']);
        $object->setTemVa($data['TEM-VA']);
        $object->setTemBiatss($data['TEM-BIATSS']);
        $object->setCode($data['code']);
        $object->setCodeRh($data['code_rh']);
@@ -161,6 +162,7 @@ class StatutIntervenantHydrator implements HydratorInterface
            'peut-cloturer-saisie'            => $object->getPeutCloturerSaisie(),
            'peut-saisir-service-ext'         => $object->getPeutSaisirServiceExt(),
            'TEM-ATV'                         => $object->getTemAtv(),
            'TEM-VA'                          => $object->getTemVa(),
            'TEM-BIATSS'                      => $object->getTemBiatss(),
            'type-intervenant'                => ($s = $object->getTypeIntervenant()) ? $s->getId() : null,
            'code'                            => $object->getCode(),
Loading