Skip to content
Snippets Groups Projects
Commit 1de4fa35 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Pour savoir s'il faut passer les calculs budgétaires sur l'année suivante,...

Pour savoir s'il faut passer les calculs budgétaires sur l'année suivante, utilise la présence du contrefactuel et non du PLF
parent 43a0cfed
No related branches found
No related tags found
No related merge requests found
Pipeline #18281 passed
......@@ -80,7 +80,9 @@ export const year =
today.getFullYear() + (today.getMonth() > 1 /* => After February */ ? 1 : 0)
export const yearPLF =
today.getFullYear() +
(billActive && today.getMonth() > 1 /* => After February */ ? 1 : 0)
(revaluationName !== undefined && today.getMonth() > 1 /* => After February */
? 1
: 0)
export const date = `${year}-01-01`
export const budgetDate = `${yearPLF}-01-01`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment