Skip to content

Commit

Permalink
Applique la disposition du mieux disant pour les personnes retraitées
Browse files Browse the repository at this point in the history
  • Loading branch information
guillett committed Dec 2, 2024
1 parent 573ed04 commit 4a711f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfisca_nouvelle_caledonie/variables/aide_logement.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def formula(household, period):
)
retraite = household("aide_logement_cas_particulier_retraite", period)

return where(retraite, montant_retraite, montant_base)
return where(retraite, min_(montant_retraite, montant_base), montant_base)


class aide_logement_contribution_locataire_sr_positif(Variable):
Expand Down

0 comments on commit 4a711f8

Please sign in to comment.