fix: add baseCurrency in sale & purchases data table.

This commit is contained in:
elforjani3
2021-01-08 23:59:14 +02:00
parent 0b70c7ba9f
commit e9222b87fd
7 changed files with 88 additions and 47 deletions

View File

@@ -170,7 +170,7 @@ function PaymentMadeFormHeader({
className={'receive-full-amount'}
>
Receive full amount (
<Money amount={payableFullAmount} currency={'USD'} />)
<Money amount={payableFullAmount} currency={baseCurrency} />)
</a>
</FormGroup>
@@ -250,7 +250,7 @@ function PaymentMadeFormHeader({
<div class="big-amount">
<span class="big-amount__label">Amount Received</span>
<h1 class="big-amount__number">
<Money amount={amountPaid} currency={'USD'} />
<Money amount={amountPaid} currency={baseCurrency} />
</h1>
</div>
</div>