Skip to content

Commit

Permalink
Corrige la period de calcul dans la formula du RSJ
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-CodeWorks committed Dec 6, 2023
1 parent cb6e189 commit 0636815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfisca_france_local/departements/yvelines/aide_permis.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def formula(individu, period, parameters):

eligibilite_residentielle = individu.menage('yvelines_eligibilite_residence', period)

rbg = individu.foyer_fiscal('rbg', period.last_year)
nb_pac = individu.foyer_fiscal('nb_pac', period.last_year)
rbg = individu.foyer_fiscal('rbg', period.n_2)
nb_pac = individu.foyer_fiscal('nb_pac', period.n_2)

rbg_max = params.revenu_global_brut.base + (nb_pac * params.revenu_global_brut.marginal_par_personne)
eligibilite_revenu = rbg < rbg_max
Expand Down

0 comments on commit 0636815

Please sign in to comment.