Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-budget-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
leximpact
leximpact-budget-ui
Commits
af018975
Commit
af018975
authored
Nov 18, 2021
by
sandcha
Browse files
Options
Downloads
Patches
Plain Diff
Init a histogram for CSG retraite
parent
85b849b0
No related branches found
No related tags found
1 merge request
!2
Ajoute la CSG retraite
Pipeline
#1627
skipped
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/server/oauth2.ts
+47
-47
47 additions, 47 deletions
src/lib/server/oauth2.ts
src/routes/index.svelte
+14
-4
14 additions, 4 deletions
src/routes/index.svelte
with
61 additions
and
51 deletions
src/lib/server/oauth2.ts
+
47
−
47
View file @
af018975
This diff is collapsed.
Click to expand it.
src/routes/index.svelte
+
14
−
4
View file @
af018975
...
...
@@ -31,8 +31,10 @@
const
IMPACT_SECTION_TITLE
=
"
Impacts d'une réforme CSG activité
"
const
IMPACT_SECTION_SUBTITLE
=
"
sur le budget de la Sécurité sociale
"
const
CSG_TITLE
=
const
CSG_
ACTIVITE_
TITLE
=
"
Recettes de CSG des revenus d'activité du secteur privé/public
"
const
CSG_RETRAITE_TITLE
=
"
Recettes de CSG des pensions de retraite du secteur privé/public
"
const
CSG_DESCRIPTION
=
"
Montants estimés pour l'année 2022
"
const
CSG_GRAPH_TITLE
=
"
Périmètre actuel du simulateur par rapport à la CSG totale
"
...
...
@@ -44,7 +46,7 @@
const
reform
=
getContext
(
"
reform
"
)
as
Writable
<
Reform
>
$
:
console
.
log
(
"
🔶 Réforme définie :
"
,
$reform
)
const
HISTOGRAM_VARIABLES_TO_SUM
=
[
const
HISTOGRAM_VARIABLES_TO_SUM
_CSG_ACTIVITE
=
[
"
csg_imposable_salaire
"
,
"
csg_deductible_salaire
"
,
]
...
...
@@ -161,10 +163,10 @@
<div
class=
"h-[calc(100vh-16rem)] overflow-y-auto pl-10 pr-6 lg:px-10"
>
<section
class=
"grid grid-cols-1 lg:grid-cols-2 2xl:grid-cols-4 gap-10"
>
<HistogramPane
title=
{
CSG_TITLE
}
title=
{
CSG_
ACTIVITE_
TITLE
}
description=
{
CSG_DESCRIPTION
}
dataJson=
{
csgResponseJson
}
variablesToDraw=
{
HISTOGRAM_VARIABLES_TO_SUM
}
variablesToDraw=
{
HISTOGRAM_VARIABLES_TO_SUM
_CSG_ACTIVITE
}
{
updatingHistogram
}
/>
<!-- image CSG -->
...
...
@@ -197,6 +199,14 @@
alt=
{
CSG_GRAPH_TITLE
}
/>
</div>
<HistogramPane
title=
{
CSG_RETRAITE_TITLE
}
description=
{
CSG_DESCRIPTION
}
dataJson=
{
csgResponseJson
}
variablesToDraw=
{
HISTOGRAM_VARIABLES_TO_SUM_CSG_ACTIVITE
}
{
updatingHistogram
}
/>
</section>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment