Merge remote-tracking branch 'origin/release-9.0' into chore/merge-9-into-10-20240404
This commit is contained in:
commit
1ec06cb750
4 changed files with 4 additions and 5 deletions
|
|
@ -1,5 +1,3 @@
|
||||||
const {AUTH_METHODS} = require('./compliance-triggers')
|
|
||||||
|
|
||||||
const _ = require('lodash/fp')
|
const _ = require('lodash/fp')
|
||||||
const { validate } = require('uuid')
|
const { validate } = require('uuid')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ const GET_TRANSACTIONS = gql`
|
||||||
customerIdCardPhotoPath
|
customerIdCardPhotoPath
|
||||||
customerFrontCameraPath
|
customerFrontCameraPath
|
||||||
customerPhone
|
customerPhone
|
||||||
|
customerEmail
|
||||||
discount
|
discount
|
||||||
customerId
|
customerId
|
||||||
isAnonymous
|
isAnonymous
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
||||||
.minus(cashInFee)
|
.minus(cashInFee)
|
||||||
.toFixed(2, 1) // ROUND_DOWN
|
.toFixed(2, 1) // ROUND_DOWN
|
||||||
const crypto = getCryptoAmount(tx)
|
const crypto = getCryptoAmount(tx)
|
||||||
const cryptoFee = getCryptoFeeAmount(tx)
|
const cryptoFee = tx.fee ? `${getCryptoFeeAmount(tx)} ${tx.fiatCode}` : 'N/A'
|
||||||
const exchangeRate = BigNumber(fiat)
|
const exchangeRate = BigNumber(fiat)
|
||||||
.div(crypto)
|
.div(crypto)
|
||||||
.toFixed(2, 1) // ROUND_DOWN
|
.toFixed(2, 1) // ROUND_DOWN
|
||||||
|
|
@ -382,7 +382,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
||||||
{tx.txClass === 'cashIn' && (
|
{tx.txClass === 'cashIn' && (
|
||||||
<div className={classes.blockFee}>
|
<div className={classes.blockFee}>
|
||||||
<Label>Network Fee</Label>
|
<Label>Network Fee</Label>
|
||||||
{cryptoFee} {tx.fiatCode}
|
{cryptoFee}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className={classes.sessionId}>
|
<div className={classes.sessionId}>
|
||||||
|
|
|
||||||
|
|
@ -208,7 +208,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => {
|
||||||
const widthAdjust = wizard ? 11 : 0
|
const widthAdjust = wizard ? 11 : 0
|
||||||
const viewCryptoCurrency = it => {
|
const viewCryptoCurrency = it => {
|
||||||
const currencyDisplay = R.compose(
|
const currencyDisplay = R.compose(
|
||||||
it => `${R.prop(['display'])(it)} ${it.isBeta ? '(Beta)' : ''}`,
|
it => `${R.prop(['display'])(it)} ${it?.isBeta ? '(Beta)' : ''}`,
|
||||||
R.find(R.propEq('code', it))
|
R.find(R.propEq('code', it))
|
||||||
)(cryptoCurrencies)
|
)(cryptoCurrencies)
|
||||||
return currencyDisplay
|
return currencyDisplay
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue