Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-socio-fiscal-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
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
eeab5994
Commit
eeab5994
authored
3 years ago
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Affichage des frais de logement
parent
01fd7d38
No related branches found
No related tags found
1 merge request
!80
Resolve "Connecter le nom des cas types"
Pipeline
#3625
passed
3 years ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/test_cases/TestCaseSummary.svelte
+17
-6
17 additions, 6 deletions
src/lib/components/test_cases/TestCaseSummary.svelte
with
17 additions
and
6 deletions
src/lib/components/test_cases/TestCaseSummary.svelte
+
17
−
6
View file @
eeab5994
...
...
@@ -494,26 +494,38 @@
</div>
{
/each
}
<!--Frais fixe du ménage
{
#each
Object
.
keys
(
familySituation
).
sort
(
(
populationId1
,
populationId2
)
=>
populationId1
.
localeCompare
(
populationId2
),
)
as
populationId
}
{
@
const
loyer
=
getVariableValue
(
situation
,
"
loyer
"
,
populationId
)
}
{
@
const
statut_occupation_logement
=
getVariableValue
(
situation
,
"
statut_occupation_logement
"
,
populationId
,
)
}
<div
class=
"flex flex-col items-start gap-2"
>
{#if loyer !== 0}
{
#if
loyer
>
0
}
<div
class=
"flex items-center"
>
<PictoMaison
/>
<div
class=
"pl-2"
>
<abbr
class=
"text-sm"
title="
loyer ou mensualité
d'emprunt pour un primo-accédant"
title=
"
Frais de loyer ou
d'emprunt pour un primo-accédant
par an
"
>
Frais logement
:
</abbr
>
<span>
{
loyer
}
/an
</span>
<abbr
class=
"my-1 bg-white text-gray-800 rounded-2xl py-1 px-2 text-xs shadow-sm"
title=
"Statut des frais"
>
{
#if
statut_occupation_logement
===
"
locataire_foyer
"
||
statut_occupation_logement
===
"
locataire_hlm
"
||
statut_occupation_logement
===
"
locataire_meuble
"
||
statut_occupation_logement
===
"
locataire_vide
"
}
loyer
{
:else
if
statut_occupation_logement
===
"
primo_accedant
"
}
emprunt
primo-accédant
{
/if
}
</abbr
>
</div>
</div>
{
/if
}
<!--Frais carburants
<div class="flex items-center">
<PictoFraisGazoil />
<div class="pl-2">
...
...
@@ -522,8 +534,7 @@
>
<span>XX/an</span>
</div>
</div>
</div>
-->
</div>
{
/each
}
-->
</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