diff --git a/openfisca_france/model/prestations/aides_logement.py b/openfisca_france/model/prestations/aides_logement.py index 578a2a39c0..d948852f19 100644 --- a/openfisca_france/model/prestations/aides_logement.py +++ b/openfisca_france/model/prestations/aides_logement.py @@ -200,7 +200,7 @@ def formula(famille, period, parameters): logement_conventionne = famille.demandeur.menage('logement_conventionne', period) type_aide = where(logement_conventionne, 'apl', 'non_apl', ) - seuil_versement = al.al_min.montant_min_mensuel.montant_min_apl_al[type_aide] + seuil_versement = al.secteur_locatif.seuils_minimum_versement[type_aide] minimum_atteint = montant >= seuil_versement return minimum_atteint * montant * not_(residence_mayotte) diff --git a/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/index.yaml b/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/index.yaml new file mode 100644 index 0000000000..0e76aec9c9 --- /dev/null +++ b/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/index.yaml @@ -0,0 +1,10 @@ +description: Allocations logement - Secteur locatif +metadata: + short_label: Allocations logement - Secteur locatif + order: + - l_plafonds_loyers + - c_forfait_charges + - pp_participation_personnelle + - coefficients_degressivite_suppression + - seuils_minimum_versement + - minoration_forfaitaire diff --git a/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/al_min/montant_min_mensuel/montant_min_apl_al/apl.yaml b/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/seuils_minimum_versement/apl.yaml similarity index 100% rename from openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/al_min/montant_min_mensuel/montant_min_apl_al/apl.yaml rename to openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/seuils_minimum_versement/apl.yaml diff --git a/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/al_min/montant_min_mensuel/montant_min_apl_al/index.yaml b/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/seuils_minimum_versement/index.yaml similarity index 100% rename from openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/al_min/montant_min_mensuel/montant_min_apl_al/index.yaml rename to openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/seuils_minimum_versement/index.yaml diff --git a/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/al_min/montant_min_mensuel/montant_min_apl_al/non_apl.yaml b/openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/seuils_minimum_versement/non_apl.yaml similarity index 100% rename from openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/al_min/montant_min_mensuel/montant_min_apl_al/non_apl.yaml rename to openfisca_france/parameters/prestations_sociales/aides_logement/allocations_logement/secteur_locatif/seuils_minimum_versement/non_apl.yaml