Skip to content

Commit

Permalink
fix: declaration receipt high renumerations missing wording when non …
Browse files Browse the repository at this point in the history
…calculable (#2180)
  • Loading branch information
arturlg authored Mar 5, 2024
1 parent aa5ba06 commit c03596b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/app/src/api/core-domain/infra/mail/templates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,11 @@ ${
? "non calculable"
: declaration.maternityLeaves.score.getValue()
}}
- indicateur hautes rémunérations: ${declaration.highRemunerations?.score.getValue()}}
- indicateur hautes rémunérations: ${
declaration.highRemunerations?.score?.getValue() === undefined
? "non calculable"
: declaration.highRemunerations.score.getValue()
}}
Si vous souhaitez visualiser ou modifier votre déclaration, veuillez cliquer sur le lien suivant :
Expand Down Expand Up @@ -275,7 +279,12 @@ Les services de l’administration du travail.
? "non calculable"
: declaration.maternityLeaves.score.getValue()}
</li>
<li>indicateur hautes rémunérations: {declaration.highRemunerations?.score.getValue()}</li>
<li>
indicateur hautes rémunérations:{" "}
{declaration.highRemunerations?.score?.getValue() === undefined
? "non calculable"
: declaration.highRemunerations.score.getValue()}
</li>
</ul>

<p>
Expand Down

0 comments on commit c03596b

Please sign in to comment.