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