Merge pull request #1152 from josepfo/fix/add-tx-customer-photo-to-details
fix: add T&C photo to tx details
This commit is contained in:
commit
c19c8cb866
2 changed files with 13 additions and 0 deletions
|
|
@ -309,6 +309,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
|||
)}
|
||||
{tx.customerFrontCameraPath && (
|
||||
<IDButton
|
||||
className={classes.idButton}
|
||||
name="cam"
|
||||
Icon={CamIdIcon}
|
||||
InverseIcon={CamIdInverseIcon}>
|
||||
|
|
@ -318,6 +319,17 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
|||
/>
|
||||
</IDButton>
|
||||
)}
|
||||
{tx.txCustomerPhotoPath && (
|
||||
<IDButton
|
||||
name="cam"
|
||||
Icon={CamIdIcon}
|
||||
InverseIcon={CamIdInverseIcon}>
|
||||
<img
|
||||
src={`${URI}/operator-data/customersphotos/${tx.txCustomerPhotoPath}`}
|
||||
alt=""
|
||||
/>
|
||||
</IDButton>
|
||||
)}
|
||||
</Box>
|
||||
</div>
|
||||
<div className={classes.exchangeRate}>
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ const GET_TRANSACTIONS = gql`
|
|||
customerIdCardData
|
||||
customerIdCardPhotoPath
|
||||
customerFrontCameraPath
|
||||
txCustomerPhotoPath
|
||||
customerPhone
|
||||
discount
|
||||
customerId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue