diff --git a/new-lamassu-admin/package-lock.json b/new-lamassu-admin/package-lock.json index bad28fc6..f6429e07 100644 --- a/new-lamassu-admin/package-lock.json +++ b/new-lamassu-admin/package-lock.json @@ -17208,7 +17208,6 @@ "from": "git+https://github.com/lamassu/lamassu-coins.git", "requires": { "bech32": "2.0.0", - "big-integer": "^1.6.48", "bignumber.js": "^9.0.0", "bitcoinjs-lib": "4.0.3", "bs58check": "^2.0.2", diff --git a/new-lamassu-admin/src/pages/Customers/CustomerProfile.js b/new-lamassu-admin/src/pages/Customers/CustomerProfile.js index 6652b4d2..b75d08b5 100644 --- a/new-lamassu-admin/src/pages/Customers/CustomerProfile.js +++ b/new-lamassu-admin/src/pages/Customers/CustomerProfile.js @@ -72,6 +72,7 @@ const GET_CUSTOMER = gql` cryptoAtoms cryptoCode created + machineName errorMessage: error error: errorCode txCustomerPhotoAt diff --git a/new-lamassu-admin/src/pages/Customers/components/TransactionsList.js b/new-lamassu-admin/src/pages/Customers/components/TransactionsList.js index af5eb959..12c1a978 100644 --- a/new-lamassu-admin/src/pages/Customers/components/TransactionsList.js +++ b/new-lamassu-admin/src/pages/Customers/components/TransactionsList.js @@ -71,7 +71,13 @@ const TransactionsList = ({ customer, data, loading, locale }) => { const tableElements = [ { - width: 75, + header: 'Machine', + width: 160, + view: R.path(['machineName']) + }, + { + header: 'Direction', + width: 125, view: it => ( <> {it.txClass === 'cashOut' ? ( @@ -84,14 +90,14 @@ const TransactionsList = ({ customer, data, loading, locale }) => { }, { header: 'Transaction ID', - width: 175, + width: 145, view: it => ( {it.id} ) }, { header: 'Cash', - width: 175, + width: 155, textAlign: 'right', view: it => ( <> @@ -102,7 +108,7 @@ const TransactionsList = ({ customer, data, loading, locale }) => { }, { header: 'Crypto', - width: 175, + width: 145, textAlign: 'right', view: it => ( <> @@ -115,12 +121,12 @@ const TransactionsList = ({ customer, data, loading, locale }) => { }, { header: 'Date', - width: 160, + width: 100, view: it => formatDate(it.created, timezone, 'YYYY-MM-D') }, { header: 'Time (h:m:s)', - width: 134, + width: 130, view: it => formatDate(it.created, timezone, 'HH:mm:ss') } ]