Skip to content

Commit

Permalink
Fix rsa
Browse files Browse the repository at this point in the history
  • Loading branch information
benjello committed Aug 14, 2023
1 parent 408db03 commit efd8ea0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions openfisca_france/model/mesures.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def formula(menage, period):
crds_retraite = menage.sum(crds_retraite_i)

return (
+ pensions_nettes
pensions_nettes
- casa
- csg_imposable_chomage # On veut ajouter le montant de cotisations. Vu que ce montant est négatif, on met un "moins". Idem pour les autres items ci-dessous
- csg_deductible_chomage
Expand Down Expand Up @@ -441,7 +441,7 @@ def formula(menage, period):
plus_values_base_large = menage.sum(plus_values_base_large_i, role = FoyerFiscal.DECLARANT_PRINCIPAL)

return (
+ revenus_capitaux_prelevement_forfaitaire_unique_ir
revenus_capitaux_prelevement_forfaitaire_unique_ir
+ revenus_capitaux_prelevement_bareme
+ revenus_capitaux_prelevement_liberatoire
+ interets_pel_moins_12_ans_cel
Expand Down Expand Up @@ -487,7 +487,7 @@ def formula(menage, period):
prelevements_sociaux_revenus_capital_hors_csg_crds = menage.sum(prelevements_sociaux_revenus_capital_hors_csg_crds_i, role = FoyerFiscal.DECLARANT_PRINCIPAL)

return (
+ csg
csg
+ crds_hors_prestations
+ prelevements_sociaux_revenus_capital_hors_csg_crds
)
Expand Down
2 changes: 1 addition & 1 deletion openfisca_france/model/prestations/minima_sociaux/rsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def formula_2009_06_01(individu, period, parameters):
plus_values = individu.foyer_fiscal('assiette_csg_plus_values', period.this_year) * individu.has_role(FoyerFiscal.DECLARANT_PRINCIPAL)

return (
+ livret_a * taux_livret_a / 12
livret_a * taux_livret_a / 12
+ epargne_revenus_non_imposables * rsa.rsa_cond.patrimoine.taux_interet_forfaitaire_epargne_non_imposable / 12
+ revenus_capital
+ revenus_locatifs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
order:
- condition_age_allocataire
- nombre_minimal_enfant_si_condition_age_n_est_pas_respectee
- duree_min_titre_de_sejour
- duree_min_titre_sejour
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description: Montant de base du Revenu de solidarité active (RSA)
description: Montant de base du revenu de solidarité active (RSA)
metadata:
short_label: Montant de base
label_en: "Active solidarity income (RSA): Basic amount"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ description: Montant minimum versé pour le revenu de solidarité active (RSA)
values:
2009-06-01:
value: 6
2016-01-01:
value: null
metadata:
short_label: Montant mimimum
last_value_still_valid_on: "2022-03-31"
Expand All @@ -24,4 +22,4 @@ metadata:
2016-01-01: "2015-12-22"
notes:
2016-01-01:
- title: Remplacement du RSA activité par la Prime d'activité
- title: Remplacement du RSA activité par la prime d'activité

0 comments on commit efd8ea0

Please sign in to comment.