Skip to content
Snippets Groups Projects
Commit c676778e authored by sandcha's avatar sandcha
Browse files

Fix amendement date when PLF is active

parent e24f1de2
No related branches found
No related tags found
1 merge request!5Désactive le PLF 2022
......@@ -14,7 +14,10 @@
const budgetConfig = $session.budget
const CALCULATION_BASE_YEAR = budgetConfig.calculationBaseYear
const date = CALCULATION_BASE_YEAR + "-01-01"
const CALCULATION_PLF_YEAR = budgetConfig.calculationPlfYear
const date =
(CALCULATION_PLF_YEAR ? CALCULATION_PLF_YEAR : CALCULATION_BASE_YEAR) +
"-01-01"
//Concatenating the parameters by parent node:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment