diff --git a/openfisca_france_local/communes/antony/antony_aide_depart_sejour_adapte.py b/openfisca_france_local/communes/antony/antony_aide_depart_sejour_adapte.py index 86f2c5f0..4ccce286 100644 --- a/openfisca_france_local/communes/antony/antony_aide_depart_sejour_adapte.py +++ b/openfisca_france_local/communes/antony/antony_aide_depart_sejour_adapte.py @@ -13,9 +13,9 @@ def formula(famille, period, parameters): condition_ressources_remplies = famille('antony_eligibilite_ressources', period) - handicap = famille.members('handicap', period) + nb_handicap = famille.sum(famille.members('handicap', period), role = Famille.ENFANT) montant_individuel = famille('antony_aide_depart_sejour_adapte_montant_individuel', period) - montant_total = famille.sum(montant_individuel * handicap) + montant_total = montant_individuel * nb_handicap return residence_antony * condition_ressources_remplies * montant_total diff --git a/openfisca_france_local/communes/antony/antony_noel_pour_tous.py b/openfisca_france_local/communes/antony/antony_noel_pour_tous.py index 9b22c3aa..8c2aecc3 100644 --- a/openfisca_france_local/communes/antony/antony_noel_pour_tous.py +++ b/openfisca_france_local/communes/antony/antony_noel_pour_tous.py @@ -7,7 +7,7 @@ class antony_noel_pour_tous(Variable): entity = Famille definition_period = MONTH label = "Éligibilité de la famille au Noël pour Tous de la ville de Antony" - reference = "https://www.ville-antony.fr/actualites/noel-ccas-2023" + reference = "https://www.ville-antony.fr/actualites/noel-ccas-2024" def formula(famille, period, parameters): age_maximum = parameters(period).communes.antony.noel_pour_tous.age_maximum diff --git a/openfisca_france_local/communes/antony/base_ressources.py b/openfisca_france_local/communes/antony/base_ressources.py index 5d482654..dcd72ee3 100644 --- a/openfisca_france_local/communes/antony/base_ressources.py +++ b/openfisca_france_local/communes/antony/base_ressources.py @@ -9,9 +9,6 @@ class antony_base_ressources(Variable): label = "Base ressources d'une famille aux dispositifs d'Antony" def formula(famille, period, parameters): - # N-1 - last_year = period.last_year - # M-1 to M-3 last_three_months = period.last_3_months