| @@ -272,11 +272,13 @@ const ApplicationDetailCard = ( | |||||
| // size="large" | // size="large" | ||||
| variant="contained" | variant="contained" | ||||
| onClick={revokeClick()} | onClick={revokeClick()} | ||||
| disabled={currentApplicationDetailData.paymentMethod=="online"||currentApplicationDetailData.paymentMethod==null} | |||||
| sx={{ | sx={{ | ||||
| textTransform: 'capitalize', | textTransform: 'capitalize', | ||||
| alignItems: 'end', | alignItems: 'end', | ||||
| backgroundColor: '#ffa733' | backgroundColor: '#ffa733' | ||||
| }}> | }}> | ||||
| <ReplayIcon /> | <ReplayIcon /> | ||||
| <Typography ml={1} variant="h5">Revoke Payment</Typography> | <Typography ml={1} variant="h5">Revoke Payment</Typography> | ||||
| </Button> | </Button> | ||||
| @@ -219,7 +219,12 @@ export default function SubmittedTab({ setCount, url }) { | |||||
| renderCell: (params) => ( | renderCell: (params) => ( | ||||
| <div> | <div> | ||||
| <FormattedMessage id={utils.getPaymentMethod(params.row.paymentMethod)} /><br /> | <FormattedMessage id={utils.getPaymentMethod(params.row.paymentMethod)} /><br /> | ||||
| <div>{dateStr(params.row.closingDateOff)}</div> | |||||
| <div> | |||||
| {dateStr(params.row.closingDateOff)} | |||||
| {params.row.paymentMethod=="online" ? " 2pm" | |||||
| :params.row.paymentMethod=="demandNote" ? " 12:00pm" | |||||
| : " 12:30pm"} | |||||
| </div> | |||||
| </div> | </div> | ||||
| ) | ) | ||||
| }, | }, | ||||