Commit 07727e07 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction mise en paiement lors du passage en distinction FI,FA,FC et tous ENSEIGNEMENTS

parent 4cec70ac
Loading
Loading
Loading
Loading
+6 −1
Changes for module/OffreFormation/src/Service/TypeHeuresService.php: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -81,7 +81,12 @@ class TypeHeuresService extends AbstractEntityService
                + $serviceAPayer->getHeuresComplFa()
                + $serviceAPayer->getHeuresComplFc()
                + $serviceAPayer->getHeuresComplFcMajorees();
            if ($hc != 0) $codes[TypeHeures::FI] = TypeHeures::ENSEIGNEMENT;
            if ($hc != 0) {
                $codes[TypeHeures::FI]          = TypeHeures::ENSEIGNEMENT;
                $codes[TypeHeures::FA]          = TypeHeures::ENSEIGNEMENT;
                $codes[TypeHeures::FC]          = TypeHeures::ENSEIGNEMENT;
                $codes[TypeHeures::FC_MAJOREES] = TypeHeures::ENSEIGNEMENT;
            }
        }
        if ($serviceAPayer->getHeuresComplReferentiel() != 0) $codes[TypeHeures::REFERENTIEL] = TypeHeures::REFERENTIEL;
        if ($serviceAPayer->getHeuresMission() != 0) $codes[TypeHeures::MISSION] = TypeHeures::MISSION;