Skip to content

Commit

Permalink
inverse le signe du montant de correction
Browse files Browse the repository at this point in the history
  • Loading branch information
b-michaud committed Dec 18, 2024
1 parent b6b3035 commit 5d3fa40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ def formula(foyer_fiscal, period, parameters):

impots_totaux_avant_imputations = iai + cehr - pfu - pfl
impots_totaux_apres_imputations = iai + cehr - pfu - pfl - credits_impot - acomptes_ir
montant_correction = iai + cehr - pfu - credits_impot - acomptes_ir
montant_correction = -(iai + cehr - pfu - credits_impot - acomptes_ir)

condition_1 = (impots_totaux_avant_imputations > seuil_avant_imputations) * ((impots_totaux_apres_imputations <= 0) + (impots_totaux_apres_imputations >= seuil_apres_imputations))
condition_2 = (impots_totaux_avant_imputations <= seuil_avant_imputations) * (impots_totaux_apres_imputations < 0)
Expand Down

0 comments on commit 5d3fa40

Please sign in to comment.