Commit 4786f73d authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Ajout type_heures_id

parent cbc39cfa
Loading
Loading
Loading
Loading
+2 −1
Changes for config/autoload/unicaen-tbl.global.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -248,6 +248,7 @@ return [
                    'FORMULE_RES_SERVICE_ID',
                    'FORMULE_RES_SERVICE_REF_ID',
                    'MISSION_ID',
                    'TYPE_HEURES_ID',
                    'INTERVENANT_ID',
                    'STRUCTURE_ID',
                    'MISE_EN_PAIEMENT_ID',
@@ -268,6 +269,7 @@ return [
                    'FORMULE_RES_SERVICE_ID',
                    'FORMULE_RES_SERVICE_REF_ID',
                    'MISSION_ID',
                    'TYPE_HEURES_ID',
                    'INTERVENANT_ID',
                    'MISE_EN_PAIEMENT_ID',
                    'TAUX_REMU_ID',
@@ -278,7 +280,6 @@ return [
                    'FORMULE_RES_SERVICE_REF_ID' => 0,
                    'MISSION_ID'                 => 0,
                    'MISE_EN_PAIEMENT_ID'        => 0,
                    'TAUX_REMU_ID'               => 0,
                ],
            ],

+34 −22
Changes for data/ddl/table/TBL_PAIEMENT.php: 34 added lines, 22 removed lines.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 5,
            'position'    => 2,
            'commentaire' => NULL,
        ],
        'CENTRE_COUT_ID'             => [
@@ -30,7 +30,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 24,
            'position'    => 15,
            'commentaire' => NULL,
        ],
        'DOMAINE_FONCTIONNEL_ID'     => [
@@ -42,7 +42,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 20,
            'position'    => 16,
            'commentaire' => NULL,
        ],
        'FORMULE_RES_SERVICE_ID'     => [
@@ -54,7 +54,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 9,
            'position'    => 6,
            'commentaire' => NULL,
        ],
        'FORMULE_RES_SERVICE_REF_ID' => [
@@ -66,7 +66,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 10,
            'position'    => 7,
            'commentaire' => NULL,
        ],
        'HEURES_A_PAYER_AA'          => [
@@ -78,7 +78,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 21,
            'position'    => 17,
            'commentaire' => 'HETD à payer en
 AA',
        ],
@@ -91,7 +91,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 1,
            'position'    => 18,
            'commentaire' => 'HETD à payer en AC',
        ],
        'HEURES_DEMANDEES_AA'        => [
@@ -103,7 +103,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 22,
            'position'    => 19,
            'commentaire' => 'HETD demandées en AA',
        ],
        'HEURES_DEMANDEES_AC'        => [
@@ -115,7 +115,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 25,
            'position'    => 20,
            'commentaire' => 'HETD demandées en AC
',
        ],
@@ -128,7 +128,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 23,
            'position'    => 21,
            'commentaire' => 'HETD payées en AA',
        ],
        'HEURES_PAYEES_AC'           => [
@@ -140,7 +140,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 26,
            'position'    => 22,
            'commentaire' => 'HETD payées en AC',
        ],
        'ID'                         => [
@@ -152,7 +152,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => '"TBL_PAIEMENT_ID_SEQ"."NEXTVAL"',
            'position'    => 19,
            'position'    => 1,
            'commentaire' => NULL,
        ],
        'INTERVENANT_ID'             => [
@@ -164,7 +164,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 11,
            'position'    => 8,
            'commentaire' => NULL,
        ],
        'MISE_EN_PAIEMENT_ID'        => [
@@ -176,7 +176,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 17,
            'position'    => 13,
            'commentaire' => NULL,
        ],
        'MISSION_ID'                 => [
@@ -188,7 +188,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 8,
            'position'    => 5,
            'commentaire' => NULL,
        ],
        'PERIODE_PAIEMENT_ID'        => [
@@ -200,7 +200,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 18,
            'position'    => 14,
            'commentaire' => NULL,
        ],
        'SERVICE_ID'                 => [
@@ -212,7 +212,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 6,
            'position'    => 3,
            'commentaire' => NULL,
        ],
        'SERVICE_REFERENTIEL_ID'     => [
@@ -224,7 +224,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 7,
            'position'    => 4,
            'commentaire' => NULL,
        ],
        'STRUCTURE_ID'               => [
@@ -236,7 +236,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 12,
            'position'    => 9,
            'commentaire' => NULL,
        ],
        'TAUX_CONGES_PAYES'          => [
@@ -248,7 +248,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 14,
            'position'    => 11,
            'commentaire' => NULL,
        ],
        'TAUX_HORAIRE'               => [
@@ -260,7 +260,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 16,
            'position'    => 12,
            'commentaire' => NULL,
        ],
        'TAUX_REMU_ID'               => [
@@ -272,7 +272,19 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 15,
            'position'    => 10,
            'commentaire' => NULL,
        ],
        'TYPE_HEURES_ID'             => [
            'name'        => 'TYPE_HEURES_ID',
            'type'        => 'int',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 23,
            'commentaire' => NULL,
        ],
    ],
+3
Changes for module/Paiement/src/Entity/Db/Mapping/Paiement.Entity.Db.TblPaiement.dcm.xml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@
    <many-to-one field="mission" target-entity="Mission\Entity\Db\Mission">
      <join-column name="MISSION_ID" referenced-column-name="ID"/>
    </many-to-one>
    <many-to-one field="typeHeures" target-entity="OffreFormation\Entity\Db\TypeHeures">
      <join-column name="TYPE_HEURES_ID" referenced-column-name="ID"/>
    </many-to-one>
    <many-to-one field="structure" target-entity="Application\Entity\Db\Structure" fetch="LAZY">
        <join-column name="STRUCTURE_ID" referenced-column-name="ID"/>
    </many-to-one>
+10
Changes for module/Paiement/src/Entity/Db/TblPaiement.php: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ use Application\Entity\Db\FormuleResultatServiceReferentiel;
use Application\Entity\Db\Intervenant;
use Application\Entity\Db\Periode;
use Application\Entity\Db\Structure;
use OffreFormation\Entity\Db\TypeHeures;
use Mission\Entity\Db\Mission;


@@ -27,6 +28,8 @@ class TblPaiement

    private ?Mission $mission = null;

    private ?TypeHeures $typeHeures;

    private ?Periode $periodePaiement = null;

    private ?MiseEnPaiement $miseEnPaiement = null;
@@ -91,6 +94,13 @@ class TblPaiement



    public function getTypeHeures(): ?TypeHeures
    {
        return $this->typeHeures;
    }



    public function getPeriodePaiement(): ?Periode
    {
        return $this->periodePaiement;
+3
Changes for module/Paiement/src/Tbl/Process/Sub/Exporteur.php: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ class Exporteur
                'FORMULE_RES_SERVICE_REF_ID' => $sap->formuleResServiceRef,
                'INTERVENANT_ID'             => $sap->intervenant,
                'STRUCTURE_ID'               => $sap->structure,
                'TYPE_HEURES_ID'             => $sap->typeHeures,
                'MISE_EN_PAIEMENT_ID'        => $smep->id,
                'PERIODE_PAIEMENT_ID'        => $smep->periodePaiement,
                'CENTRE_COUT_ID'             => $smep->centreCout,
@@ -74,6 +75,7 @@ class Exporteur
                'FORMULE_RES_SERVICE_REF_ID' => $sap->formuleResServiceRef,
                'INTERVENANT_ID'             => $sap->intervenant,
                'STRUCTURE_ID'               => $sap->structure,
                'TYPE_HEURES_ID'             => $sap->typeHeures,
                'MISE_EN_PAIEMENT_ID'        => $mep->id,
                'PERIODE_PAIEMENT_ID'        => $mep->periodePaiement,
                'CENTRE_COUT_ID'             => $mep->centreCout,
@@ -101,6 +103,7 @@ class Exporteur
                'FORMULE_RES_SERVICE_REF_ID' => $sap->formuleResServiceRef,
                'INTERVENANT_ID'             => $sap->intervenant,
                'STRUCTURE_ID'               => $sap->structure,
                'TYPE_HEURES_ID'             => $sap->typeHeures,
                'MISE_EN_PAIEMENT_ID'        => NULL,
                'PERIODE_PAIEMENT_ID'        => NULL,
                'CENTRE_COUT_ID'             => $sap->defCentreCout,