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 customerIdCardData
customerIdCardPhotoPath customerIdCardPhotoPath
customerFrontCameraPath customerFrontCameraPath
txCustomerPhotoPath
customerPhone customerPhone
discount discount
customerId customerId

View file

@ -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>

View file

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