fix: remove console log
This commit is contained in:
parent
d2d85ebb6b
commit
b81479707c
3 changed files with 3 additions and 4 deletions
|
|
@ -49,7 +49,6 @@ const GET_TRANSACTIONS = gql`
|
||||||
customerIdCardData
|
customerIdCardData
|
||||||
customerIdCardPhotoPath
|
customerIdCardPhotoPath
|
||||||
customerFrontCameraPath
|
customerFrontCameraPath
|
||||||
txCustomerPhotoPath
|
|
||||||
customerPhone
|
customerPhone
|
||||||
discount
|
discount
|
||||||
customerId
|
customerId
|
||||||
|
|
|
||||||
|
|
@ -121,8 +121,6 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
||||||
|
|
||||||
const isCashIn = tx.txClass === 'cashIn'
|
const isCashIn = tx.txClass === 'cashIn'
|
||||||
|
|
||||||
console.log(tx)
|
|
||||||
|
|
||||||
const zip = new JSZip()
|
const zip = new JSZip()
|
||||||
|
|
||||||
const [fetchSummary] = useLazyQuery(TX_SUMMARY, {
|
const [fetchSummary] = useLazyQuery(TX_SUMMARY, {
|
||||||
|
|
@ -311,6 +309,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
||||||
)}
|
)}
|
||||||
{tx.customerFrontCameraPath && (
|
{tx.customerFrontCameraPath && (
|
||||||
<IDButton
|
<IDButton
|
||||||
|
className={classes.idButton}
|
||||||
name="cam"
|
name="cam"
|
||||||
Icon={CamIdIcon}
|
Icon={CamIdIcon}
|
||||||
InverseIcon={CamIdInverseIcon}>
|
InverseIcon={CamIdInverseIcon}>
|
||||||
|
|
@ -326,7 +325,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
||||||
Icon={CamIdIcon}
|
Icon={CamIdIcon}
|
||||||
InverseIcon={CamIdInverseIcon}>
|
InverseIcon={CamIdInverseIcon}>
|
||||||
<img
|
<img
|
||||||
src={`${URI}/'operator-data/customersphotos'/${tx.txCustomerPhotoPath}`}
|
src={`${URI}/operator-data/customersphotos/${tx.txCustomerPhotoPath}`}
|
||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
</IDButton>
|
</IDButton>
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,7 @@ const GET_TRANSACTIONS = gql`
|
||||||
customerIdCardData
|
customerIdCardData
|
||||||
customerIdCardPhotoPath
|
customerIdCardPhotoPath
|
||||||
customerFrontCameraPath
|
customerFrontCameraPath
|
||||||
|
txCustomerPhotoPath
|
||||||
customerPhone
|
customerPhone
|
||||||
discount
|
discount
|
||||||
customerId
|
customerId
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue