Created
June 30, 2022 14:41
-
-
Save evertonpavan/24c12ddc9fc82d5ee069e3572fd340e5 to your computer and use it in GitHub Desktop.
Modificações - Seguro Cyber
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Modificações - Seguro Cyber | |
// ----------------------------------------------------------------------- | |
// SUBSTITUIR O CÓDIGO ABAIXO: | |
<span className="text-span" > | |
{/* {`Seguro Cyber (${new Intl.NumberFormat('pt-BR', { | |
style: 'currency', | |
currency: 'BRL', | |
}).format(lmg)})${ | |
lmg !== 0 | |
? ` (+ R$ ${monthlyAmountOfSecurityCyber})` | |
: '' | |
}`} */} | |
{ | |
`Seguro Cyber | |
${lmgDefault === 0 | |
? `(${new Intl.NumberFormat( | |
'pt-BR', | |
{ | |
style: 'currency', | |
currency: 'BRL', | |
} | |
).format(lmg)}) | |
(+ R$ ${monthlyAmountOfSecurityCyber})` | |
: `(${new Intl.NumberFormat( | |
'pt-BR', | |
{ | |
style: 'currency', | |
currency: 'BRL', | |
} | |
).format(lmgDefault)}) | |
(+ R$ ${formatReal(monthlyAmountDefault)})` | |
} | |
`} | |
</span> | |
// POR: | |
<span className="text-span" > | |
{/* // valor da cobertura do seguro cyber */ } | |
{ | |
`Seguro Cyber | |
${lmgDefault === 0 | |
? `(${new Intl.NumberFormat( | |
'pt-BR', | |
{ | |
style: 'currency', | |
currency: 'BRL', | |
} | |
).format(lmg)})` | |
: `(${new Intl.NumberFormat( | |
'pt-BR', | |
{ | |
style: 'currency', | |
currency: 'BRL', | |
} | |
).format(lmgDefault)})` | |
} | |
`} | |
</span> | |
< span className = "text-span-2" > | |
{/* // valor da parcela mensal do seguro cyber*/ } | |
{ | |
` | |
${lmgDefault === 0 | |
? `(+ R$ ${monthlyAmountOfSecurityCyber})` | |
: `(+ R$ ${formatReal(monthlyAmountDefault)})` | |
} | |
`} | |
</span> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment