Skip to content

Commit

Permalink
fix period year condition
Browse files Browse the repository at this point in the history
  • Loading branch information
benjello committed Sep 27, 2024
1 parent 1cd60d2 commit 54311ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def formula_2018_01_01(individu, period, parameters):
bareme_css = parameters(period.start).prelevements_sociaux.contribution_sociale_solidarite.salarie
bareme_irpp.add_tax_scale(bareme_css)

if period.year >= 2020:
if period.start.year >= 2020:
non_exonere_css = (
(12 * revenu_assimile_salaire_apres_abattement - deduction_famille_annuelle)
> parameters(period.start).impot_revenu.exoneration.seuil
Expand Down

0 comments on commit 54311ed

Please sign in to comment.