Ajout de l'unité aux barèmes
parent
906dcf8c80
commit
8b8afd528b
|
@ -37,7 +37,8 @@ let Component = withLanguage(function Barème({
|
|||
nodeValue,
|
||||
explanation,
|
||||
barèmeType,
|
||||
lazyEval
|
||||
lazyEval,
|
||||
unit
|
||||
}) {
|
||||
return (
|
||||
<ShowValuesConsumer>
|
||||
|
@ -46,6 +47,7 @@ let Component = withLanguage(function Barème({
|
|||
classes="mecanism barème"
|
||||
name={barèmeType === 'marginal' ? 'barème' : 'barème linéaire'}
|
||||
value={nodeValue}
|
||||
unit={unit}
|
||||
child={
|
||||
<ul className="properties">
|
||||
<BarèmeAttributes explanation={explanation} lazyEval={lazyEval} />
|
||||
|
@ -159,6 +161,9 @@ let Tranche = ({
|
|||
}
|
||||
|
||||
//eslint-disable-next-line
|
||||
export default barèmeType => (nodeValue, explanation, lazyEval = identity) => (
|
||||
<Component {...{ nodeValue, explanation, barèmeType, lazyEval }} />
|
||||
)
|
||||
export default barèmeType => (
|
||||
nodeValue,
|
||||
explanation,
|
||||
lazyEval = identity,
|
||||
unit
|
||||
) => <Component {...{ nodeValue, explanation, barèmeType, lazyEval, unit }} />
|
||||
|
|
|
@ -7,7 +7,7 @@ import withLanguage from 'Components/utils/withLanguage'
|
|||
import { BarèmeAttributes } from './Barème'
|
||||
import { sortObjectByKeys } from 'Engine/mecanismViews/common'
|
||||
|
||||
let Comp = withLanguage(function Barème({ nodeValue, explanation }) {
|
||||
let Comp = withLanguage(function Barème({ nodeValue, explanation, unit }) {
|
||||
return (
|
||||
<ShowValuesConsumer>
|
||||
{showValues => (
|
||||
|
@ -15,6 +15,7 @@ let Comp = withLanguage(function Barème({ nodeValue, explanation }) {
|
|||
classes="mecanism barème"
|
||||
name="barème continu"
|
||||
value={nodeValue}
|
||||
unit={unit}
|
||||
child={
|
||||
<ul className="properties">
|
||||
<BarèmeAttributes explanation={explanation} />
|
||||
|
@ -60,6 +61,6 @@ let Comp = withLanguage(function Barème({ nodeValue, explanation }) {
|
|||
})
|
||||
|
||||
//eslint-disable-next-line
|
||||
export default (nodeValue, explanation) => (
|
||||
<Comp {...{ nodeValue, explanation }} />
|
||||
export default (nodeValue, explanation, _, unit) => (
|
||||
<Comp {...{ nodeValue, explanation, unit }} />
|
||||
)
|
||||
|
|
|
@ -1013,6 +1013,7 @@
|
|||
description: Le plafond de Sécurité sociale est le montant maximum des rémunérations à prendre en compte pour le calcul de certaines cotisations.
|
||||
période: mois
|
||||
formule: 3377
|
||||
unité: €
|
||||
références:
|
||||
2019: https://www.urssaf.fr/portail/home/actualites/toute-lactualite-employeur/plafond-de-la-securite-social-1.html
|
||||
arrêté: https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000036171732
|
||||
|
|
Loading…
Reference in New Issue