Browse Source

updated ageanalysiscomplaintlist second changes

updated file
master
yoganandhank 3 years ago
parent
commit
7e010a537e
  1. 255
      pgr/useridwisereport/complaintreports/ageanalysiscomplaintslist.html

255
pgr/useridwisereport/complaintreports/ageanalysiscomplaintslist.html

@ -3,17 +3,14 @@
<head th:replace="~{fragments/modules/base/head :: head}"></head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tamil+Font">
<style>
.tamil-text {
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Tamil+Font">
<style>
.tamil-text {
font-family: 'Tamil Font', sans-serif;
}
</style>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
}
</style>
<body>
<div class="wrapper">
<!-- header top menu Start -->
<header th:replace="~{fragments/modules/base/header :: header}"></header>
@ -39,12 +36,12 @@
<div class="col-lg-6">
<nav class="breadcrumb-container" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/index"><i class="ik ik-home"></i></a>
</li>
<li class="breadcrumb-item"><a href="/index"><i
class="ik ik-home"></i></a></li>
<li class="breadcrumb-item">PGR Complaints</li>
<li class="breadcrumb-item">User ID Wise Reports</li>
<li class="breadcrumb-item active" aria-current="page">AGE ANALYSIS</li>
<li class="breadcrumb-item active" aria-current="page">AGE
ANALYSIS</li>
</ol>
</nav>
</div>
@ -58,7 +55,9 @@
<div class="card-block">
<div>
<table id="assetDatatable" class="table table-striped table-bordered table-hover dataTable" role="grid" width="100%">
<table id="assetDatatable"
class="table table-striped table-bordered table-hover dataTable"
role="grid" width="100%">
<thead class="thead-dark">
<tr role="row">
<th class="text-center no-sort" width="1%">S.No</th>
@ -73,13 +72,22 @@
</tr>
</theadclass="thead-dark">
<tbody>
<tr th:each="ageancomplaint, i : ${ageanalysiscomplaintlist}" class="ageanalysiscomplaintreportlists">
<tr
th:each="ageancomplaint, i : ${ageanalysiscomplaintlist}"
class="ageanalysiscomplaintreportlists">
<td th:text="${i.count}">0</td>
<td><a href="#" th:onclick="return callview([[${ageancomplaint.COMPLAINTID}]]);" th:text="${ageancomplaint.COMPLAINTNUMBER}" data-bs-toggle="tooltip" data-bs-animation="true" data-bs-placement="top" title="View complaint details" style="color: blue; text-decoration: underline;cursor:default;"><i class="far fa-bookmark" style="font-size: 18px; "></i></a></td>
<td><a href="#"
th:onclick="return callview([[${ageancomplaint.COMPLAINTID}]]);"
th:text="${ageancomplaint.COMPLAINTNUMBER}"
data-bs-toggle="tooltip" data-bs-animation="true"
data-bs-placement="top" title="View complaint details"
style="color: blue; text-decoration: underline; cursor: default;"><i
class="far fa-bookmark" style="font-size: 18px;"></i></a></td>
<td class="text-center" th:text="${ageancomplaint.DEPT_NAME}"></td>
<td class="text-center"
th:text="${ageancomplaint.DEPT_NAME}"></td>
<td th:text="${ageancomplaint.COMPLAINTTITLE}"></td>
<td th:text="${ageancomplaint.COMPLAINTDATE}"></td>
<td th:utext="${ageancomplaint.COMPLAINTDETAILS}"></td>
@ -117,15 +125,22 @@
----------------------------------------------------------
<div class="modal fade" id="infoForm" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl modal-dialog-scrollable" role="document">
<div class="modal fade" id="infoForm" tabindex="-1" role="dialog"
aria-labelledby="exampleModalCenterLabel" aria-hidden="true">
<div
class="modal-dialog modal-dialog-centered modal-xl modal-dialog-scrollable"
role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="exampleModalCenterLabel">Complaint Details</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title" id="exampleModalCenterLabel">Complaint
Details</h3>
<button type="button" class="close" data-dismiss="modal"
aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
@ -134,61 +149,93 @@
</div> -->
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="comno">Complaint No:</label>
<input type="text" class="form-control text-center" name="comno" id="comno" disabled />
<label class="col-sm-12 col-form-label" for="comno">Complaint
No:</label> <input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="comno" id="comno" disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="dep">Department:</label>
<input type="text" class="form-control text-center" name="dep" id="dep" disabled />
<input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="dep" id="dep" disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="comtyp">Complaint Type:</label>
<input type="text" class="form-control text-center" name="comtyp" id="comtyp" disabled />
<label class="col-sm-12 col-form-label" for="comtyp">Complaint
Type:</label> <input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="comtyp" id="comtyp"
disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="comdat">Complaint Date</label>
<input type="text" class="form-control text-center" name="comdat" id="comdat" disabled />
<label class="col-sm-12 col-form-label" for="comdat">Complaint
Date</label> <input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="comdat" id="comdat"
disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="perna">Person Name:</label>
<input type="text" class="form-control text-center" name="perna" id="perna" disabled />
<label class="col-sm-12 col-form-label" for="perna">Person
Name:</label> <input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="perna" id="perna" disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="addr">Address:</label>
<input type="text" class="form-control text-center" name="addr" id="addr" disabled />
<input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="addr" id="addr" disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="pinco">Pin-code:</label>
<input type="text" class="form-control text-center" name="pinco" id="pinco" disabled />
<input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="pinco" id="pinco" disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="mobno">Mobile Number:</label>
<input type="text" class="form-control text-center" name="mobno" id="mobno" disabled />
<label class="col-sm-12 col-form-label" for="mobno">Mobile
Number:</label> <input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="mobno" id="mobno" disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="email">Email</label>
<input type="text" class="form-control text-center" name="email" id="email" disabled />
<input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="email" id="email" disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="comptit">Complaint Title:</label>
<input type="text" class="form-control text-center" name="comptit" id=comptit disabled />
<label class="col-sm-12 col-form-label" for="comptit">Complaint
Title:</label> <input type="text"
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="comptit" id=comptit
disabled />
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="compldet">Complaint Details:</label>
<!-- <textarea type="text" class="form-control text-center" name="compldet" id="compldet" disabled />
--> <textarea class="form-control " name="compldet" id="compldet" disabled ></textarea>
<label class="col-sm-12 col-form-label" for="compldet">Complaint
Details:</label>
<!-- <textarea type="text" class="form-control text-center" name="compldet" id="compldet" disabled />
-->
<textarea
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="compldet" id="compldet"
disabled></textarea>
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label" for="comlo">Complaint Location:</label>
<textarea class="form-control " name="comlo" id="comlo" disabled ></textarea>
<label class="col-sm-12 col-form-label" for="comlo">Complaint
Location:</label>
<textarea
style="color: #000000; font-weight: bold; font-size: 15px;"
class="form-control text-center" name="comlo" id="comlo" disabled></textarea>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-secondary"
data-dismiss="modal">Close</button>
</div>
<!-- </form> -->
</div>
@ -196,105 +243,13 @@
</div>
----------------------------------------------------------
<div class="modal fade" id="addForm" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterLabel">Master Category Form</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body">
<div class="form-group row">
<label for="catName" class="col-sm-12 col-form-label">Asset Category Name</label>
<div class="col-sm-12">
<input type="text" class="form-control" name="catName" id="catName" placeholder="Category Name" required>
</div>
</div>
<div class="form-group row">
<label for="isActive" class="col-sm-12 col-form-label">IsActive</label>
<div class="col-sm-12">
<select class="form-control" id="isActive" name="isActive" >
<option value=1>Yes</option>
<option value=0>No</option>
</select>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="addForm2" data-backdrop="static" tabindex="-1" role="dialog" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form action="#" th:action="@{/saveCategory}" method="post">
<div class="block block-rounded block-themed block-transparent mb-0">
<div class="block-header bg-primary-dark">
<h3 class="block-title">Master Category Form</h3>
<div class="block-options">
<button type="button" class="btn-block-option" data-bs-dismiss="modal" aria-label="Close">
<i class="fa fa-fw fa-times"></i>
</button>
</div>
</div>
<div class="block-content">
<div class="form-group row">
<label for="exampleInputUsername2" class="col-sm-3 col-form-label">Username</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="exampleInputUsername2" placeholder="Username">
</div>
</div>
<div class="form-group row">
<label for="exampleInputEmail2" class="col-sm-3 col-form-label">Email</label>
<div class="col-sm-9">
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="Email">
</div>
</div>
<div class="row">
<div class="mb-3">
<label for="catName">Asset Category Name</label>
<input type="text" class="form-control" name="catName" id="catName" placeholder="Category Name" required>
<!--<small id="emailHelp" class="form-text text-muted">Set of assets grouped under this unique category</small>-->
</div>
<div class="mb-3">
<label class="form-check-label">IsActive</label>
<select class="form-select" id="isActive" name="isActive" >
<option value=1>Yes</option>
<option value=0>No</option>
</select>
</div>
</div><!--end row-->
</div><!--end modal-body-->
</div>
<div class="block-content block-content-full text-end bg-body">
<button type="button" class="btn btn-de-secondary btn-sm" data-bs-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary btn-sm">Save</button>
</div><!--end modal-footer-->
</form>
</div><!--end modal-content-->
</div><!--end modal-dialog-->
</div><!--end modal-->
<div th:replace="~{fragments/modules/base/app_module_menu_box :: div}"></div>
<div th:replace="~{fragments/modules/base/app_module_menu_box :: div}"></div>
<script th:replace="~{fragments/modules/base/script :: script}"></script>
<script>
function callview(COMPLAINTNUMBER){
alert("Wait for Popup message");
alert("Wait for Popup message...");
$.ajax({
type: "GET",
url: '/pgr/ageanalysiscomplaintdetail',
@ -329,23 +284,6 @@
$("#pinco").val(ageanalysiscomplaint[0]["PINCODE"]);
$("#compldet").val(ageanalysiscomplaint[0]["COMPLAINTDETAILS"]);
$("#comlo").val(ageanalysiscomplaint[0]["COMPLAINTLOCATION"]);
//$("#testmail").html(zonecomplaint[0]["COMPLAINANTEMAIL"]); //testmail
/* document.getElementById("sno").value =zonecomplaint.i.count;
document.getElementById("comno").value =zonecomplaint.COMPLAINTNUMBER;
document.getElementById("dep").value =zonecomplaint.DEPT_NAME;
document.getElementById("comtyp").value =zonecomplaint.COMPLAINTTITLE;
document.getElementById("comdat").value =zonecomplaint.COMPLAINTDATE;
document.getElementById("perna").value =zonecomplaint.COMPLAINANTFIRSTNAME;
document.getElementById("addr").value =zonecomplaint.COMPLAINANTADDRESS;
document.getElementById("pinco").value =zonecomplaint.PINCODE;
document.getElementById("mobno").value =zonecomplaint.MOBILENUMBER;
document.getElementById("comptit").value =zonecomplaint.COMPLAINANTEMAIL;
document.getElementById("compldet").value =zonecomplaint.COMPLAINTDETAILS;
document.getElementById("comlo").value =zonecomplaint.COMPLAINTLOCATION; */
$('#infoForm').modal('show');
return false;
@ -430,11 +368,8 @@
$('#addForm').modal('show');
}
function replaceEmojis(text) {
// Replace Unicode emoji sequences with corresponding HTML entities
return text.replace(/([\u{1F600}-\u{1F64F}\u{1F300}-\u{1F5FF}\u{1F680}-\u{1F6FF}\u{1F700}-\u{1F77F}\u{1F780}-\u{1F7FF}\u{1F800}-\u{1F8FF}\u{1F900}-\u{1F9FF}\u{1FA00}-\u{1FA6F}\u{2600}-\u{26FF}\u{2700}-\u{27BF}])/gu, (match) => `&#${match.codePointAt(0)};`);
}
</script>
</body>
</body>
</html>
Loading…
Cancel
Save