mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
feat(Sales & Purchases ): add exchange rate in details.
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
CustomerDrawerLink,
|
||||
CommercialDocHeader,
|
||||
CommercialDocTopHeader,
|
||||
ExchangeRateDetailItem,
|
||||
} from 'components';
|
||||
import { Row, Col, FormatDate, DetailsMenu, DetailItem } from 'components';
|
||||
|
||||
@@ -54,6 +55,10 @@ export default function ReceiptDetailHeader() {
|
||||
label={intl.get('closed_date')}
|
||||
children={<FormatDate value={receipt.closed_at_date} />}
|
||||
/>
|
||||
<ExchangeRateDetailItem
|
||||
exchangeRate={receipt?.exchange_rate}
|
||||
toCurrency={receipt?.currency_code}
|
||||
/>
|
||||
</DetailsMenu>
|
||||
</Col>
|
||||
<Col xs={6}>
|
||||
|
||||
Reference in New Issue
Block a user