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

@@ -58,7 +58,7 @@ export function ActionsMenu({
*/
export function AmountAccessor(bill) {
return !isBlank(bill.amount) ? (
<Money amount={bill.amount} currency={'USD'} />
<Money amount={bill.amount} currency={bill.currency_code} />
) : (
''
);