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.

201 lines
8.3 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html lang="en" dir="">
  3. <html xmlns:th="http://www.thymeleaf.org">
  4. <head th:replace="~{fragments/modules/base/head :: head}">
  5. </head>
  6. <body>
  7. <!--[if lt IE 8]>
  8. <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
  9. your browser</a> to improve your experience.</p>
  10. <![endif]-->
  11. <div class="wrapper">
  12. <!-- header top menu Start -->
  13. <header th:replace="~{fragments/modules/base/header :: header}"></header>
  14. <!-- header top menu end -->
  15. <div class="page-wrap">
  16. <!--=============== Left Menu side Start ================-->
  17. <div th:replace="~{fragments/modules/base/menu :: menu}"></div>
  18. <!--=============== Left side End ================-->
  19. <div class="main-content">
  20. <div class="container-fluid">
  21. <div class="page-header">
  22. <div class="row align-items-end">
  23. <div class="col-lg-6">
  24. <div class="page-header-title">
  25. <i class="ik ik-thumbs-up bg-blue"></i>
  26. <div class="d-inline">
  27. <h5>NULM STAFF</h5>
  28. <span>Self Help Group Details</span>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="col-lg-6">
  33. <nav class="breadcrumb-container" aria-label="breadcrumb">
  34. <ol class="breadcrumb">
  35. <li class="breadcrumb-item">
  36. <a href="/index"><i class="ik ik-home"></i></a>
  37. </li>
  38. <li class="breadcrumb-item active" aria-current="page">Self Help Group Details</li>
  39. </ol>
  40. </nav>
  41. </div>
  42. </div>
  43. </div>
  44. <!--<hr>
  45. <div class="row">
  46. <div class="col-md-3 form-group">
  47. <label for="year">Year</label>
  48. <select class="form-control" id="year" name="year" required>
  49. <option value="">Select Year</option>
  50. <option th:each="year : ${yearList}" th:value="${year.year}" th:text="${year.year}"
  51. th:selected="${year.year == selectedYear}">
  52. </option>
  53. </select>
  54. </div>
  55. &lt;!&ndash; Month &ndash;&gt;
  56. <div class="col-md-3 form-group">
  57. <label for="month">Month</label>
  58. <select id="month" class="form-control" name="month" required>
  59. <option value="">Select Year</option>
  60. <option th:each="month : ${monthList}" th:value="${month.month}" th:text="${month.month}"
  61. th:selected="${month.month == selectedMonth}">
  62. </option>
  63. </select>
  64. </div>
  65. <div class="col-sm-3">
  66. <button class="btn btn-primary mt-4" onclick="fetchSalaryDetails()">Get Salary Info</button>
  67. </div>
  68. </div>-->
  69. <div class="card-block mt-3">
  70. <div>
  71. <table id="salaryDatatable" class="table table-striped table-bordered table-hover dataTable"
  72. role="grid" width="99.5%">
  73. <thead class="thead-dark">
  74. <tr role="row">
  75. <th>S.No</th>
  76. <th>Group Name</th>
  77. <th>Incharge Name</th>
  78. <th>Incharge Phone no</th>
  79. <th>Account Number</th>
  80. <th>Bank Name</th>
  81. <th>Branch Name</th>
  82. <th>IFSC Code</th>
  83. </tr>
  84. </thead>
  85. <tbody>
  86. <tr th:each="selfHelpGroup, i : ${selfHelpGroup}">
  87. <td th:text="${i.count}">0</td>
  88. <td th:text="${selfHelpGroup.group_name}"></td>
  89. <td th:text="${selfHelpGroup.incharge_name}"></td>
  90. <td th:text="${selfHelpGroup.incharge_phoneno}"></td>
  91. <td th:text="${selfHelpGroup.bank_accountno}"></td>
  92. <td th:text="${selfHelpGroup.ifsc_code}"></td>
  93. <td th:text="${selfHelpGroup.bank_name}"></td>
  94. <td th:text="${selfHelpGroup.bank_branch}"></td>
  95. </tr>
  96. <tfoot class="thead-dark">
  97. <tr role="row">
  98. <th>S.No</th>
  99. <th>Group Name</th>
  100. <th>Incharge Name</th>
  101. <th>Incharge Phone no</th>
  102. <th>Account Number</th>
  103. <th>IFSC Code</th>
  104. <th>Bank Name</th>
  105. <th>Branch Name</th>
  106. </tr>
  107. </tfoot>
  108. </table>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. <footer th:replace="~{fragments/modules/base/footer :: footer}"></footer>
  114. </div>
  115. </div>
  116. <div th:replace="~{fragments/modules/pgr/modal-box :: div}"></div>
  117. <div th:replace="~{fragments/modules/base/app_module_menu_box :: div}"></div>
  118. <script th:replace="~{fragments/modules/base/script :: script}"></script>
  119. <script th:replace="~{fragments/modules/pgr/script :: script}"></script>
  120. <script th:inline="javascript">
  121. $(document).ready(function () {
  122. // Initialize DataTable
  123. var table = $('#salaryDatatable').DataTable({
  124. dom: 'Bftip',
  125. columnDefs: [
  126. {targets: 'no-sort', orderable: false}
  127. ],
  128. lengthMenu: [
  129. [50, 100, 200, 500, -1],
  130. ['50 rows', '100 rows', '200 rows', 'Show all']
  131. ],
  132. scrollY: '50vh',
  133. fixedColumns: {
  134. left: 1,
  135. right: 1
  136. },
  137. buttons: [
  138. {
  139. extend: 'pageLength',
  140. className: 'btn btn-warning'
  141. },
  142. {
  143. extend: 'pdfHtml5',
  144. text: 'PDF',
  145. className: 'btn btn-secondary',
  146. id: 'pdfBtn',
  147. exportOptions: {
  148. columns: [0, 1, 2, 3, 4, 5, 6, 7]
  149. },
  150. orientation: 'landscape', // Change to landscape for more horizontal space
  151. pageSize: 'A4', // You can change to A4 or A3 depending on your needs
  152. customize: function (doc) {
  153. // Custom column widths for better fit
  154. doc.content[1].table.widths = ['5%', '20%', '12%', '10%', '12%', '15%', '15%', '10%'];
  155. // Optional: Adjust font size if needed
  156. doc.styles.tableBodyEven.alignment = 'center';
  157. doc.styles.tableBodyOdd.alignment = 'center';
  158. }
  159. },
  160. {
  161. extend: 'excelHtml5',
  162. text: 'EXCEL',
  163. className: 'btn btn-secondary',
  164. id: 'excelBtn'
  165. }
  166. ],
  167. fixedHeader: true,
  168. autoWidth: true,
  169. responsive: true,
  170. searching: true,
  171. select: false,
  172. processing: false
  173. });
  174. })
  175. </script>
  176. </body>
  177. </html>