feat:(*): add currency code.

This commit is contained in:
elforjani3
2021-03-08 14:17:08 +02:00
parent 644b673411
commit 32b378e74e
17 changed files with 39 additions and 24 deletions

View File

@@ -20,6 +20,7 @@ export const TemplateContent = ({
amount,
billedFrom,
dueDate,
currencyCode,
}) => (
<div className="template__content">
<div className="template__content__info">
@@ -37,7 +38,7 @@ export const TemplateContent = ({
<div className="template__content__info">
<span> {defaultLabels.amount} </span>
<p className={'info-paragraph-amount'}>
{<Money amount={amount} currency={'USD'} />}
{<Money amount={amount} currency={currencyCode} />}
</p>
</div>
<div className="template__content__info">