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

@@ -132,8 +132,8 @@ function DateCell({ value }) {
return moment(value).format('YYYY MMM DD');
}
function AmountAccessor(row) {
return <Money amount={row.amount} currency={'USD'} />;
function AmountAccessor({ amount, currency_code }) {
return <Money amount={amount} currency={currency_code} />;
}
function ActionsCell(props) {