Loading module/Paiement/src/View/Helper/DemandeMiseEnPaiementViewHelper.php +1 −1 Original line number Diff line number Diff line Loading @@ -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(); } Loading Loading
module/Paiement/src/View/Helper/DemandeMiseEnPaiementViewHelper.php +1 −1 Original line number Diff line number Diff line Loading @@ -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(); } Loading