This portal only for GCC Officers. Based on there roles and Group ID they can view there module`s Like PGR, QR Public Asset Feedback, Makkalai Thedi Mayor,etc...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

175 lines
6.8 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns:th="http://www.thymeleaf.org">
  3. <head th:replace="~{fragments/modules/base/head :: head}"></head>
  4. <body>
  5. <div class="wrapper">
  6. <!-- Header -->
  7. <header th:replace="~{fragments/modules/base/header :: header}"></header>
  8. <div class="page-wrap">
  9. <!-- Left Menu -->
  10. <div th:replace="~{fragments/modules/base/menu :: menu}"></div>
  11. <div class="main-content">
  12. <div class="container-fluid">
  13. <div class="page-header">
  14. <div class="row align-items-end">
  15. <div class="col-lg-8">
  16. <div class="page-header-title">
  17. <i class="fas fa-th-large bg-blue"></i>
  18. <div class="d-inline">
  19. <h5>C & D Waste Collectors </h5>
  20. <span>Rejected</span>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="col-lg-4">
  25. <nav class="breadcrumb-container" aria-label="breadcrumb">
  26. <ol class="breadcrumb">
  27. <li class="breadcrumb-item"><a href="/index"><i class="ik ik-home"></i></a></li>
  28. <li class="breadcrumb-item">C & D Waste Collectors</li>
  29. <li class="breadcrumb-item active" aria-current="page">Rejected</li>
  30. </ol>
  31. </nav>
  32. </div>
  33. </div>
  34. </div>
  35. <hr>
  36. <div class="row">
  37. <div class="col-md-12">
  38. <div class="card">
  39. <div class="card-header">
  40. </div>
  41. <div class="card-block">
  42. <div>
  43. <table id="worksDatatable" class="table table-striped table-bordered table-hover dataTable" role="grid" width="99.5%">
  44. <thead class="thead-dark">
  45. <tr role="row">
  46. <th>S.No</th> <!-- Auto-increment index -->
  47. <th>Name</th>
  48. <th>Mobile No</th>
  49. <th>Address</th>
  50. <th>Vehicle Number</th>
  51. <th>Vehicle Type</th>
  52. <th>Rejected Date</th>
  53. <th>Rejected By</th>
  54. <th>Reason</th>
  55. <th>Register ID</th>
  56. </tr>
  57. </thead>
  58. <tbody>
  59. <tr th:each="rejected, i : ${rejectedDetails}">
  60. <td th:text="${i.count}">0</td> <!-- Index counter -->
  61. <td th:text="${rejected.name}">Name</td>
  62. <td th:text="${rejected.mobile_no}">Mobile No</td>
  63. <td th:text="${rejected.address}">Address</td>
  64. <td th:text="${rejected.vehicle_num}">Vehicle Number</td>
  65. <td th:text="${rejected.vehicletype}">Vehicle Type</td>
  66. <td th:text="${rejected.accepteddate}">Rejected Date</td>
  67. <td th:text="${rejected.acceptedby}">Rejected By</td>
  68. <td th:text="${rejected.reason}">Reason</td>
  69. <td th:text="${rejected.register_id}">Register ID</td>
  70. </tr>
  71. </tbody>
  72. <tfoot class="thead-dark">
  73. <tr>
  74. <th>S.No</th>
  75. <th>Name</th>
  76. <th>Mobile No</th>
  77. <th>Address</th>
  78. <th>Vehicle Number</th>
  79. <th>Vehicle Type</th>
  80. <th>Rejected Date</th>
  81. <th>Rejected By</th>
  82. <th>Reason</th>
  83. <th>Register ID</th>
  84. </tr>
  85. </tfoot>
  86. </table>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. <footer th:replace="~{fragments/modules/base/footer :: footer}"></footer>
  95. </div>
  96. </div>
  97. <!-- Include jQuery and Bootstrap JavaScript -->
  98. <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  99. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  100. <script th:replace="~{fragments/modules/base/script :: script}"></script>
  101. <script type="text/javascript">
  102. $(document).ready(function() {
  103. var table = $('#worksDatatable').DataTable({
  104. dom: 'Bftip',
  105. columnDefs: [
  106. { targets: 'no-sort', orderable: false }
  107. ],
  108. lengthMenu: [
  109. [50, 100, 200, 500, -1],
  110. ['50 rows', '100 rows', '200 rows', 'Show all']
  111. ],
  112. scrollY: '50vh',
  113. fixedColumns: {
  114. left: 1,
  115. right: 1
  116. },
  117. buttons: [
  118. {
  119. extend: 'pageLength',
  120. className: 'btn btn-warning'
  121. },
  122. {
  123. title: 'Data export',
  124. extend: 'copyHtml5',
  125. text: 'Copy',
  126. className: 'btn btn-secondary',
  127. id: 'copyBtn'
  128. },
  129. {
  130. extend: 'excelHtml5',
  131. text: 'Excel',
  132. className: 'btn btn-secondary',
  133. id: 'excelBtn'
  134. },
  135. {
  136. extend: 'csvHtml5',
  137. text: 'CSV',
  138. className: 'btn btn-secondary',
  139. id: 'csvBtn'
  140. },
  141. {
  142. extend: 'pdfHtml5',
  143. text: 'PDF',
  144. className: 'btn btn-secondary',
  145. id: 'pdfBtn'
  146. }
  147. ],
  148. fixedHeader: true,
  149. autoWidth: true,
  150. responsive: true,
  151. searching: true,
  152. select: false,
  153. processing: false
  154. });
  155. });
  156. </script>
  157. </body>
  158. </html>