diff --git a/openfisca_france_local/departements/yvelines/aide_permis.py b/openfisca_france_local/departements/yvelines/aide_permis.py index d88246ea..0ce20609 100644 --- a/openfisca_france_local/departements/yvelines/aide_permis.py +++ b/openfisca_france_local/departements/yvelines/aide_permis.py @@ -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