fix: remove console log

This commit is contained in:
José Oliveira 2022-03-09 17:57:16 +00:00
parent d2d85ebb6b
commit b81479707c
3 changed files with 3 additions and 4 deletions

View file

@ -49,7 +49,6 @@ const GET_TRANSACTIONS = gql`
customerIdCardData
customerIdCardPhotoPath
customerFrontCameraPath
txCustomerPhotoPath
customerPhone
discount
customerId

View file

@ -121,8 +121,6 @@ const DetailsRow = ({ it: tx, timezone }) => {
const isCashIn = tx.txClass === 'cashIn'
console.log(tx)
const zip = new JSZip()
const [fetchSummary] = useLazyQuery(TX_SUMMARY, {
@ -311,6 +309,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
)}
{tx.customerFrontCameraPath && (
<IDButton
className={classes.idButton}
name="cam"
Icon={CamIdIcon}
InverseIcon={CamIdInverseIcon}>
@ -326,7 +325,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
Icon={CamIdIcon}
InverseIcon={CamIdInverseIcon}>
<img
src={`${URI}/'operator-data/customersphotos'/${tx.txCustomerPhotoPath}`}
src={`${URI}/operator-data/customersphotos/${tx.txCustomerPhotoPath}`}
alt=""
/>
</IDButton>

View file

@ -110,6 +110,7 @@ const GET_TRANSACTIONS = gql`
customerIdCardData
customerIdCardPhotoPath
customerFrontCameraPath
txCustomerPhotoPath
customerPhone
discount
customerId