|
|
@@ -160,27 +160,32 @@ const PaymentDetails = ({ formData,doPrint,onDownload }) => { |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={12} md={12}> |
|
|
|
<Grid container spacing={5} alignItems="center"> |
|
|
|
<Grid item xs={6} md={6} sx={{textAlign: "right" }}> |
|
|
|
<FormLabel sx={{ fontSize: "16px", color: "#000000" }}> |
|
|
|
<FormattedMessage id="payReceipt"/>: |
|
|
|
</FormLabel> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={6} md={5} sx={{textAlign: "left" }}> |
|
|
|
{onDownload? |
|
|
|
<LoadingComponent disableText={true} alignItems="flex-start"/> |
|
|
|
: |
|
|
|
<Button className="printHidden" variant="contained" sx={{ mt:2 }} onClick={doPrint}> |
|
|
|
<DownloadIcon/> |
|
|
|
<Typography sx={{fontSize: "16px"}}> |
|
|
|
<FormattedMessage id="download"/> |
|
|
|
</Typography> |
|
|
|
</Button> |
|
|
|
} |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
{ |
|
|
|
data.status == "APPR" |
|
|
|
? |
|
|
|
<Grid item xs={12} md={12}> |
|
|
|
<Grid container spacing={5} alignItems="center"> |
|
|
|
<Grid item xs={6} md={6} sx={{textAlign: "right" }}> |
|
|
|
<FormLabel sx={{ fontSize: "16px", color: "#000000" }}> |
|
|
|
<FormattedMessage id="payReceipt"/>: |
|
|
|
</FormLabel> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={6} md={5} sx={{textAlign: "left" }}> |
|
|
|
{onDownload? |
|
|
|
<LoadingComponent disableText={true} alignItems="flex-start"/> |
|
|
|
: |
|
|
|
<Button className="printHidden" variant="contained" sx={{ mt:2 }} onClick={doPrint}> |
|
|
|
<DownloadIcon/> |
|
|
|
<Typography sx={{fontSize: "16px"}}> |
|
|
|
<FormattedMessage id="download"/> |
|
|
|
</Typography> |
|
|
|
</Button> |
|
|
|
} |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
: null |
|
|
|
} |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|