Merge pull request #268 from betagouv/laem-patch-1
Gestion des erreurs d'arrondis dans la vue simplifiéepull/356/head
commit
14c69d4365
|
@ -140,17 +140,17 @@ class Distribution extends Component<Props, State> {
|
|||
<div className="distribution-chart__total">
|
||||
<span />
|
||||
<RuleLink {...salaireNet} />
|
||||
<Montant numFractionDigit={2}>{salaireNet.montant}</Montant>
|
||||
<Montant numFractionDigit={0}>{salaireNet.montant}</Montant>
|
||||
<span>+</span>
|
||||
<Trans>Cotisations</Trans>
|
||||
<Montant numFractionDigit={2}>
|
||||
<Montant numFractionDigit={0}>
|
||||
{total.partPatronale + total.partSalariale}
|
||||
</Montant>
|
||||
<span />
|
||||
<div className="distribution-chart__total-border" />
|
||||
<span>=</span>
|
||||
<RuleLink {...salaireChargé} />
|
||||
<Montant numFractionDigit={2}>{salaireChargé.montant}</Montant>
|
||||
<Montant numFractionDigit={0}>{salaireChargé.montant}</Montant>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue