|
|
|
@ -154,6 +154,10 @@ |
|
|
|
<label>Complainant Type:</label> |
|
|
|
<input type="text" class="form-control" id="complaintType" disabled> |
|
|
|
</div> |
|
|
|
<div class="col-md-4"> |
|
|
|
<label>Complainant Mode:</label> |
|
|
|
<input type="text" class="form-control" id="complaintMode" disabled> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!--<div class="col-md-4"> |
|
|
|
Complainant Sub-Type: |
|
|
|
@ -304,6 +308,8 @@ |
|
|
|
document.getElementById("area").value = complaintDetails.Area || ''; |
|
|
|
document.getElementById("location").value = complaintDetails.Location || ''; |
|
|
|
document.getElementById("complaintType").value = complaintDetails.complainttype || ''; |
|
|
|
document.getElementById("complaintMode").value = complaintDetails.COMP_MODE || ''; |
|
|
|
|
|
|
|
|
|
|
|
// Decode and populate complaint description |
|
|
|
document.getElementById("complaintdesc").value = decodeHtmlEntities(complaintDetails.complaintdetails || ''); |
|
|
|
@ -330,6 +336,7 @@ |
|
|
|
} else if (complaintCurrentStatus === 'WITHDRAWN') { |
|
|
|
addOption('WITHDRAWN', '8'); |
|
|
|
addOption('REOPENED', '9'); |
|
|
|
document.getElementById('complaintActionDiv').style.display = 'none'; |
|
|
|
} |
|
|
|
else if (complaintCurrentStatus === 'CLOSE') { |
|
|
|
addOption('CLOSE', '10'); |
|
|
|
|