Skip to main content
Sign in
Snippets Groups Projects
Commit f8bbbd7c authored by sandcha's avatar sandcha
Browse files

Init decomposition variables from salaire_net_a_payer to salaire_super_brut

parent 76b757aa
No related branches found
No related tags found
1 merge request!1Initialise une requête pour le calcul du waterfall
...@@ -4,13 +4,43 @@ ...@@ -4,13 +4,43 @@
const situation = { const situation = {
individus: { individus: {
Claude: { Claude: {
salaire_net_a_payer: {
"2021-01": null
},
salaire_imposable: {
"2021-01": null
},
cotisations_salariales: {
"2021-01": null
},
salaire_de_base: { salaire_de_base: {
"2017": 20000, "2021-01": 20000/12,
},
cotisations_employeur: {
"2021-01": null
},
salaire_super_brut: {
"2021-01": null
}, },
}, },
Dominique: { Dominique: {
salaire_net_a_payer: {
"2021-01": null
},
salaire_imposable: {
"2021-01": null
},
cotisations_salariales: {
"2021-01": null
},
salaire_de_base: { salaire_de_base: {
"2017": 30000, "2021-01": 30000/12,
},
cotisations_employeur: {
"2021-01": null
},
salaire_super_brut: {
"2021-01": null
}, },
}, },
Camille: {}, Camille: {},
...@@ -21,10 +51,10 @@ ...@@ -21,10 +51,10 @@
conjoint: ["Dominique"], conjoint: ["Dominique"],
enfants: ["Camille"], enfants: ["Camille"],
revenu_disponible: { revenu_disponible: {
"2017": null, "2021": null
}, },
impots_directs: { impots_directs: {
"2017": null, "2021": null
}, },
}, },
}, },
...@@ -38,6 +68,9 @@ ...@@ -38,6 +68,9 @@
foyer_fiscal_1: { foyer_fiscal_1: {
declarants: ["Claude", "Dominique"], declarants: ["Claude", "Dominique"],
personnes_a_charge: ["Camille"], personnes_a_charge: ["Camille"],
irpp: {
"2021": null
},
}, },
}, },
}; };
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment