|
|
@@ -686,43 +686,47 @@ const ApplicationDetailCard = ( |
|
|
|
<FormLabel><Typography variant="h5">Remarks:</Typography></FormLabel> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid item xs={12} md={10} lg={10}> |
|
|
|
<Grid container direction="row" > |
|
|
|
<Grid item xs={12} md={9} lg={9} > |
|
|
|
<FormControl variant="outlined" fullWidth disabled > |
|
|
|
<OutlinedInput |
|
|
|
fullWidth |
|
|
|
size="small" |
|
|
|
{...register("gldRemarks", |
|
|
|
{ |
|
|
|
value: currentApplicationDetailData.gldRemarks, |
|
|
|
})} |
|
|
|
id='appNo' |
|
|
|
sx={{ |
|
|
|
"& .MuiInputBase-input.Mui-disabled": { |
|
|
|
WebkitTextFillColor: "#000000", |
|
|
|
background: "#f8f8f8", |
|
|
|
}, |
|
|
|
}} |
|
|
|
/> |
|
|
|
</FormControl> |
|
|
|
</Grid> |
|
|
|
<Grid item xs={12} ml={1} md={2} lg={2}> |
|
|
|
<Button |
|
|
|
// size="large" |
|
|
|
variant="contained" |
|
|
|
onClick={() => setRemarksPopUp(true)} |
|
|
|
sx={{ |
|
|
|
textTransform: 'capitalize', |
|
|
|
alignItems: 'end', |
|
|
|
|
|
|
|
<Grid item xs={12} md={10} lg={10}> |
|
|
|
<Grid container direction="row" > |
|
|
|
<Grid item xs={12} md={9} lg={9} > |
|
|
|
<FormControl variant="outlined" fullWidth disabled > |
|
|
|
<OutlinedInput |
|
|
|
fullWidth |
|
|
|
size="small" |
|
|
|
{...register("gldRemarks", |
|
|
|
{ |
|
|
|
value: currentApplicationDetailData.gldRemarks, |
|
|
|
})} |
|
|
|
id='appNo' |
|
|
|
sx={{ |
|
|
|
"& .MuiInputBase-input.Mui-disabled": { |
|
|
|
WebkitTextFillColor: "#000000", |
|
|
|
background: "#f8f8f8", |
|
|
|
}, |
|
|
|
}} |
|
|
|
/> |
|
|
|
</FormControl> |
|
|
|
</Grid> |
|
|
|
{isGrantedAny(["MAINTAIN_APPLICATION","MAINTAIN_PAYMENT"]) ? |
|
|
|
<Grid item xs={12} ml={1} md={2} lg={2}> |
|
|
|
<Button |
|
|
|
// size="large" |
|
|
|
variant="contained" |
|
|
|
onClick={() => setRemarksPopUp(true)} |
|
|
|
sx={{ |
|
|
|
textTransform: 'capitalize', |
|
|
|
alignItems: 'end', |
|
|
|
|
|
|
|
}}> |
|
|
|
<EditNoteIcon /> |
|
|
|
<Typography ml={1} variant="h5"> Edit</Typography> |
|
|
|
</Button> |
|
|
|
}}> |
|
|
|
<EditNoteIcon /> |
|
|
|
<Typography ml={1} variant="h5"> Edit</Typography> |
|
|
|
</Button> |
|
|
|
</Grid> |
|
|
|
:null |
|
|
|
} |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|