| @@ -60,7 +60,7 @@ const Index = () => { | |||||
| if (!responseData.data?.id) { | if (!responseData.data?.id) { | ||||
| navigate("/proof/search"); | navigate("/proof/search"); | ||||
| } | } | ||||
| setShowProofBtn(responseData.data.action != null && responseData.data.action===true); | |||||
| setShowProofBtn(responseData.data.action != null && responseData.data.action === true); | |||||
| responseData.data["phoneNumber"] = JSON.parse(responseData.data.contactTelNo).phoneNumber; | responseData.data["phoneNumber"] = JSON.parse(responseData.data.contactTelNo).phoneNumber; | ||||
| responseData.data["tel_countryCode"] = JSON.parse(responseData.data.contactTelNo).countryCode; | responseData.data["tel_countryCode"] = JSON.parse(responseData.data.contactTelNo).countryCode; | ||||
| @@ -81,7 +81,7 @@ const Index = () => { | |||||
| setIsOverTime(current.getTime() > returnBeforeDate.getTime()); | setIsOverTime(current.getTime() > returnBeforeDate.getTime()); | ||||
| setShowCancelBtn(responseData.data.cancelled || responseData.data.replyDate || current.getTime() > returnBeforeDate.getTime()) | setShowCancelBtn(responseData.data.cancelled || responseData.data.replyDate || current.getTime() > returnBeforeDate.getTime()) | ||||
| setRecord(responseData.data); | setRecord(responseData.data); | ||||
| } | } | ||||
| @@ -122,10 +122,8 @@ const Index = () => { | |||||
| <Grid container sx={{ minHeight: '110vh', backgroundColor: 'backgroundColor.default' }} direction="column" justifyContent="flex-start" alignItems="center" > | <Grid container sx={{ minHeight: '110vh', backgroundColor: 'backgroundColor.default' }} direction="column" justifyContent="flex-start" alignItems="center" > | ||||
| <Grid item xs={12} width="100%"> | <Grid item xs={12} width="100%"> | ||||
| <div style={BackgroundHead} width="100%"> | <div style={BackgroundHead} width="100%"> | ||||
| <Stack direction="row" height='70px'> | |||||
| <Typography ml={15} color='#FFF' variant="h4" sx={{display: { xs: 'none', sm: 'none', md: 'block', pt:2 }}}> | |||||
| Proof Record | |||||
| </Typography> | |||||
| <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | |||||
| <Typography ml={15} color='#FFF' variant="h4">Proof Record</Typography> | |||||
| </Stack> | </Stack> | ||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||