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

@@ -128,7 +128,7 @@ export function useReceiptsTableColumns() {
{
id: 'amount',
Header: formatMessage({ id: 'amount' }),
accessor: (r) => <Money amount={r.amount} currency={'USD'} />,
accessor: (r) => <Money amount={r.amount} currency={r.currency_code} />,
width: 140,
className: 'amount',
},