Skip to content
Snippets Groups Projects
Unverified Commit f23a5895 authored by Dorine Lambinet's avatar Dorine Lambinet
Browse files

Fix inversion du % de gagnants/perdants pour les dispositifs de type allègement

parent 4a848156
Branches
Tags
1 merge request!293Resolve "Corriger les gagnants / perdants pour le budgétaire des allègements"
Pipeline #19325 passed
......@@ -176,7 +176,8 @@
<ValueChangeGagnantsPerdants
augmentation={true}
unitName="/1"
valueByCalculationName={budgetVariable.type === "prestation"
valueByCalculationName={budgetVariable.type === "prestation" ||
budgetVariable.type === "allegement"
? {
amendment_law: divideByTotal(
amendmentPopulationComparison?.amendement_base.above_after,
......@@ -212,7 +213,8 @@
<ValueChangeGagnantsPerdants
baisse={true}
unitName="/1"
valueByCalculationName={budgetVariable.type === "prestation"
valueByCalculationName={budgetVariable.type === "prestation" ||
budgetVariable.type === "allegement"
? {
amendment_law: divideByTotal(
amendmentPopulationComparison?.amendement_base.lower_after,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment