Commit e36d2729 authored by Florian Joriot's avatar Florian Joriot
Browse files

Correction taux parents :

Commit de la fonction oublié
Commit du changement dans la table des mission_taux_remu
parent 6ba782fd
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -117,6 +117,18 @@ return [
            'position'    => 3,
            'commentaire' => NULL,
        ],
        'MISSION_TAUX_REMU_ID'  => [
            'name'        => 'MISSION_TAUX_REMU_ID',
            'type'        => 'int',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 10,
            'commentaire' => NULL,
        ],
    ],
];

+10 −0
Original line number Diff line number Diff line
@@ -54,6 +54,16 @@ class MissionTauxService extends AbstractEntityService
        return $query->getResult();
    }

    public function getTauxRemusIndexable(): array
    {
        $dql   = "SELECT mtr, mtrv
                 FROM " . MissionTauxRemu::class . " mtr
                 LEFT JOIN mtr.tauxRemuValeurs mtrv
                 WHERE mtr.histoDestruction IS NULL
                 AND mtr.missionTauxRemu IS NULL";
        $query = $this->getEntityManager()->createQuery($dql);
        return $query->getResult();
    }


    public function getTauxRemusValeur(mixed $tauxRemuValeurId)