Commit d5cecacf authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files
parent 790fe656
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -434,7 +434,7 @@ class DemandeMiseEnPaiementViewHelper extends AbstractHtmlElement
        $misesEnPaiement = $serviceAPayer->getMiseEnPaiement()->filter(function (MiseEnPaiement $miseEnPaiement) use ($typeHeures) {
            $mepth = $miseEnPaiement->getTypeHeures();
            if ($typeHeures->getCode() === TypeHeures::ENSEIGNEMENT){
                return in_array($mepth->getCode(),[TypeHeures::FI,TypeHeures::FA,TypeHeures::FC,TypeHeures::FC_MAJOREES]);
                return in_array($mepth->getCode(),[TypeHeures::FI,TypeHeures::FA,TypeHeures::FC,TypeHeures::FC_MAJOREES,TypeHeures::ENSEIGNEMENT]);
            }else{
                return $mepth->getCode() === $typeHeures->getCode();
            }