mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
fix: exchange rate table.
This commit is contained in:
@@ -117,7 +117,7 @@ export default [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: <T id={'exchange_rate'} />,
|
text: <T id={'exchange_rate'} />,
|
||||||
href: '/ExchangeRates',
|
href: '/exchange-rates',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import classNames from 'classnames';
|
|||||||
|
|
||||||
import { CLASSES } from 'common/classes';
|
import { CLASSES } from 'common/classes';
|
||||||
|
|
||||||
import { DataTable, Icon, MoneyExchangeRate } from 'components';
|
import { DataTable, Icon, Money } from 'components';
|
||||||
import LoadingIndicator from 'components/LoadingIndicator';
|
import LoadingIndicator from 'components/LoadingIndicator';
|
||||||
|
|
||||||
import withDialogActions from 'containers/Dialog/withDialogActions';
|
import withDialogActions from 'containers/Dialog/withDialogActions';
|
||||||
@@ -92,7 +92,7 @@ function ExchangeRateTable({
|
|||||||
id: 'exchange_rate',
|
id: 'exchange_rate',
|
||||||
Header: formatMessage({ id: 'exchange_rate' }),
|
Header: formatMessage({ id: 'exchange_rate' }),
|
||||||
accessor: (r) => (
|
accessor: (r) => (
|
||||||
<MoneyExchangeRate
|
<Money
|
||||||
amount={r.exchange_rate}
|
amount={r.exchange_rate}
|
||||||
currency={r.currency_code}
|
currency={r.currency_code}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ export default [
|
|||||||
breadcrumb: 'Financial Reports',
|
breadcrumb: 'Financial Reports',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: `/ExchangeRates`,
|
path: `/exchange-rates`,
|
||||||
component: LazyLoader({
|
component: LazyLoader({
|
||||||
loader: () => import('containers/ExchangeRates/ExchangeRate'),
|
loader: () => import('containers/ExchangeRates/ExchangeRate'),
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user