diff --git a/lib/new-config-manager.js b/lib/new-config-manager.js index efb844507..680b57a9d 100644 --- a/lib/new-config-manager.js +++ b/lib/new-config-manager.js @@ -1,5 +1,3 @@ -const {AUTH_METHODS} = require('./compliance-triggers') - const _ = require('lodash/fp') const { validate } = require('uuid') diff --git a/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/Transactions.js b/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/Transactions.js index e216c03be..bb3601524 100644 --- a/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/Transactions.js +++ b/new-lamassu-admin/src/pages/Machines/MachineComponents/Transactions/Transactions.js @@ -51,6 +51,7 @@ const GET_TRANSACTIONS = gql` customerIdCardPhotoPath customerFrontCameraPath customerPhone + customerEmail discount customerId isAnonymous diff --git a/new-lamassu-admin/src/pages/Transactions/DetailsCard.js b/new-lamassu-admin/src/pages/Transactions/DetailsCard.js index 57f077853..1cfeacc91 100644 --- a/new-lamassu-admin/src/pages/Transactions/DetailsCard.js +++ b/new-lamassu-admin/src/pages/Transactions/DetailsCard.js @@ -138,7 +138,7 @@ const DetailsRow = ({ it: tx, timezone }) => { .minus(cashInFee) .toFixed(2, 1) // ROUND_DOWN const crypto = getCryptoAmount(tx) - const cryptoFee = getCryptoFeeAmount(tx) + const cryptoFee = tx.fee ? `${getCryptoFeeAmount(tx)} ${tx.fiatCode}` : 'N/A' const exchangeRate = BigNumber(fiat) .div(crypto) .toFixed(2, 1) // ROUND_DOWN @@ -382,7 +382,7 @@ const DetailsRow = ({ it: tx, timezone }) => { {tx.txClass === 'cashIn' && (