From 18c59da89bfa330da15983751acdf934db1ef06e Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Wed, 24 Sep 2025 15:48:44 +0530 Subject: [PATCH] CHANGE_UI_Issues - VADIVEL J 2025-09-24 --- app/Views/batch_list.php | 2 +- app/Views/client_deposit_list.php | 2 +- app/Views/client_list.php | 2 +- app/Views/endorsement_list.php | 2 +- app/Views/file_list.php | 2 +- app/Views/hr_activity_history.php | 6 +- app/Views/hr_file_upload.php | 2 +- app/Views/insurer_list.php | 2 +- app/Views/irba_report.php | 101 +- app/Views/kyc_list.php | 2 +- app/Views/layout/header.php | 10 + app/Views/lead_filter.php | 205 +- app/Views/outstanding_report_list.php | 118 +- .../policy_transaction_endorsement_list.php | 224 +- .../policy_transaction_inception_list.php | 2661 ++++++++--------- app/Views/policy_type_list.php | 2 +- app/Views/report_bds_filter.php | 243 +- app/Views/retail_endorsement_list.php | 2 +- app/Views/ticket_reports.php | 103 +- app/Views/ticket_search.php | 185 +- app/Views/tpa_list.php | 2 +- app/Views/variance_report_list.php | 219 +- 22 files changed, 2061 insertions(+), 2036 deletions(-) diff --git a/app/Views/batch_list.php b/app/Views/batch_list.php index 70fe7c5a..457b93aa 100755 --- a/app/Views/batch_list.php +++ b/app/Views/batch_list.php @@ -210,7 +210,7 @@ $(document).ready(function() { $('#datatable-buttons').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", buttons: [{ diff --git a/app/Views/client_deposit_list.php b/app/Views/client_deposit_list.php index a1f8113d..ba5eb225 100755 --- a/app/Views/client_deposit_list.php +++ b/app/Views/client_deposit_list.php @@ -70,7 +70,7 @@ $(document).ready(function() { $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>", + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>", buttons: [{ extend: 'csv', text: 'CSV', diff --git a/app/Views/client_list.php b/app/Views/client_list.php index 9017d3c1..fb1095af 100755 --- a/app/Views/client_list.php +++ b/app/Views/client_list.php @@ -297,7 +297,7 @@ table.dataTable thead th { $(document).ready(function() { $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", diff --git a/app/Views/endorsement_list.php b/app/Views/endorsement_list.php index ea94aca6..b0f49f94 100755 --- a/app/Views/endorsement_list.php +++ b/app/Views/endorsement_list.php @@ -590,7 +590,7 @@ $(document).ready(function() { $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", buttons: [{ diff --git a/app/Views/file_list.php b/app/Views/file_list.php index c46fb860..9e9e4788 100755 --- a/app/Views/file_list.php +++ b/app/Views/file_list.php @@ -461,7 +461,7 @@ $('body').on('click', '.reload', function() { $(document).ready(function() { $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", "buttons": [{ diff --git a/app/Views/hr_activity_history.php b/app/Views/hr_activity_history.php index e868cf8b..dc5ddd64 100644 --- a/app/Views/hr_activity_history.php +++ b/app/Views/hr_activity_history.php @@ -93,9 +93,9 @@ $(document).ready(function () { if (ticketsTable.length) { var table = ticketsTable.DataTable({ scrollX: true, - dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // search left, buttons right - "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-3'i><'col-sm-2'l><'col-sm-7'p>>", + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + + "<'row'<'col-sm-12'tr>>" + + "<'row'<'col-sm-5'i><'col-sm-7'p>>", language: { search: "_INPUT_", searchPlaceholder: "Search..." diff --git a/app/Views/hr_file_upload.php b/app/Views/hr_file_upload.php index dfd67d6b..1e3738f2 100644 --- a/app/Views/hr_file_upload.php +++ b/app/Views/hr_file_upload.php @@ -342,7 +342,7 @@ // for datatable $(document).ready(function() { $('#hr_tickets_table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", "buttons": [{ diff --git a/app/Views/insurer_list.php b/app/Views/insurer_list.php index 026b0410..c91f7f91 100755 --- a/app/Views/insurer_list.php +++ b/app/Views/insurer_list.php @@ -182,7 +182,7 @@ $(document).ready(function() { $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", buttons: [{ diff --git a/app/Views/irba_report.php b/app/Views/irba_report.php index 39813f63..b11f572e 100644 --- a/app/Views/irba_report.php +++ b/app/Views/irba_report.php @@ -4,64 +4,67 @@
-
- -
-
-
- -
-
- -
- - +
+
+
+

+ Filter + + + +

+
+
+ +
+
+ +
+ + +
+ > + >
- > - > + + +
+
+ +
+ + +
+
+ +
+ +
+
- -
-
- +
+ Submit +
- - -
-
- -
- - +
-
- -
- Submit -
-
-
+
diff --git a/app/Views/kyc_list.php b/app/Views/kyc_list.php index 15de0d9d..b312b08f 100755 --- a/app/Views/kyc_list.php +++ b/app/Views/kyc_list.php @@ -175,7 +175,7 @@ $(document).ready(function(){ $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>" , buttons: [ diff --git a/app/Views/layout/header.php b/app/Views/layout/header.php index 53dd0769..94b032e0 100755 --- a/app/Views/layout/header.php +++ b/app/Views/layout/header.php @@ -1555,6 +1555,16 @@ margin-left: auto; } +/* Fix DataTables buttons alignment inside card-body */ +.card-body .card-body .dt-buttons +, +.card-body .card-body .datatable-buttons { + margin-right: 0 !important; + padding-right: 2.25rem !important; /* match card-body padding */ +} + + + diff --git a/app/Views/lead_filter.php b/app/Views/lead_filter.php index a4b15018..75cebd29 100644 --- a/app/Views/lead_filter.php +++ b/app/Views/lead_filter.php @@ -7,130 +7,127 @@
-
-
-
-
-
-

Filter

-
-
- - - -
-
-
-
-
-
-
+
+
+
+

+ Filter + + + +

-
- - + + $value) { + echo ""; + } } - } - ?> - -
+ ?> + +
-
- - + + $value) { + echo ""; + } } - } - ?> - -
+ ?> + +
-
- - + + $value) { + echo ""; + } } - } - ?> - -
+ ?> + +
-
- - + + $value) { + echo ""; + } } - } - ?> - -
-
- - -
+ ?> + +
+
+ + +
-
- - -
+
+ + +
-
- - + + $value) { + echo ""; + } } - } - ?> - -
+ ?> + +
+ + -
-
-
+
+
diff --git a/app/Views/outstanding_report_list.php b/app/Views/outstanding_report_list.php index 353a6669..1aad1a5d 100644 --- a/app/Views/outstanding_report_list.php +++ b/app/Views/outstanding_report_list.php @@ -8,7 +8,7 @@ padding: 4px 4px !important; } - + .dataTables_filter { position: absolute; @@ -25,21 +25,22 @@
-
- -
-
-
-
-
+
+
+
+

+ Filter + + + +

+
+
+
+
- -
- - + + + + + - - -
+ +
-
- - + + + + + - - -
+ +
- - - - -
- -
- - -
- - - + + +
+
-
- -
diff --git a/app/Views/policy_transaction_endorsement_list.php b/app/Views/policy_transaction_endorsement_list.php index 9bc47c1d..a30d5b1c 100644 --- a/app/Views/policy_transaction_endorsement_list.php +++ b/app/Views/policy_transaction_endorsement_list.php @@ -13,7 +13,7 @@ table.dataTable thead th { padding: 4px 4px !important; } */ - + .dataTables_filter { position: absolute; @@ -168,127 +168,129 @@ table.dataTable thead th {
-
+
+
+
+

+ Filter + + + +

+
+
+
+
- -
-
-
-
-
- -
- - + + $value) { + echo ""; + } } - } - ?> - -
- -
- - -
- -
- - -
- -
- - -
-
- -
- -
- - -
- -
- - -
- - + +
+ +
+ + +
+ +
+ + +
+ + + +
+ +
- - -
-
+
+
diff --git a/app/Views/policy_transaction_inception_list.php b/app/Views/policy_transaction_inception_list.php index 67b520ad..fa5f422f 100644 --- a/app/Views/policy_transaction_inception_list.php +++ b/app/Views/policy_transaction_inception_list.php @@ -1,160 +1,153 @@ -
+
+
-
@@ -261,47 +254,81 @@ table.dataTable tbody td {
+
-
-
-
-
-
-

Policy List

-
-
- -
+
+
+
+
+
+

Policy List

-
- - - - - - - - - - - - - - - - - - - - - - - $row){ ?> +
+ +
+ +
+
S.No.
Issuer
Business Type
Client Type
Client / Branch
Insurer
Policy
Policy No
Policy Issue Date
D.O.C
D.O.E
No of Insured
No of Dependents
Status
User
Action
+ + + + + + + + + + + + + + + + + + + + + + + $row) { ?> - + @@ -320,23 +347,23 @@ table.dataTable tbody td { - - -
+
S.No.
+
+
Issuer
+
+
Business Type
+
+
Client Type
+
+
Client / Branch
+
+
Insurer
+
+
Policy
+
+
Policy No
+
+
Policy Issue Date
+
+
D.O.C
+
+
D.O.E
+
+
No of Insured
+
+
No of Dependents
+
+
Status
+
+
User
+
+
Action
+
-
+ + +
-
+
+
@@ -353,7 +380,7 @@ table.dataTable tbody td {
- +
@@ -371,574 +398,351 @@ table.dataTable tbody td {
\ No newline at end of file diff --git a/app/Views/policy_type_list.php b/app/Views/policy_type_list.php index cc747aa6..17933f84 100755 --- a/app/Views/policy_type_list.php +++ b/app/Views/policy_type_list.php @@ -219,7 +219,7 @@ $(document).ready(function() { $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", buttons: [{ diff --git a/app/Views/report_bds_filter.php b/app/Views/report_bds_filter.php index 5515680b..7628a1fb 100644 --- a/app/Views/report_bds_filter.php +++ b/app/Views/report_bds_filter.php @@ -5,140 +5,143 @@
-
- -
-
-
-
-
+
+
-
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- - +
+
diff --git a/app/Views/retail_endorsement_list.php b/app/Views/retail_endorsement_list.php index dc33fc0f..7a337418 100755 --- a/app/Views/retail_endorsement_list.php +++ b/app/Views/retail_endorsement_list.php @@ -332,7 +332,7 @@ $(document).ready(function() { $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", buttons: [{ diff --git a/app/Views/ticket_reports.php b/app/Views/ticket_reports.php index f9e920b0..08785950 100644 --- a/app/Views/ticket_reports.php +++ b/app/Views/ticket_reports.php @@ -2,67 +2,70 @@
-
-
-

- Filter - - - -

-
-
- -
-
- -
-   - +
+
+
+

+ Filter + + + +

+
+
+ +
+
+ +
+   + +
+ > + >
- > - > + + +
+
+ +
+ + +
+
+ +
+ +
+
- -
-
- +
+ Submit +
- - -
-
- -
- - +
-
- -
- Submit -
-
-
+
-
+
diff --git a/app/Views/ticket_search.php b/app/Views/ticket_search.php index d02e0e16..f59a18d7 100644 --- a/app/Views/ticket_search.php +++ b/app/Views/ticket_search.php @@ -1,138 +1,141 @@
-
-
-

- Filter - - - -

-
-
-
-
+
+
+
+

+ Filter + + + +

+
+
+
+
-
- - + + $value) { + echo ""; + } } - } - ?> - -
+ ?> + +
- -
- - + + $value) { + echo ""; + } } - } - ?> - -
+ ?> + +
-
- - + + $value) { + echo ""; + } } - } - ?> - -
+ ?> + +
-
- - -
+
+ + +
-
- - + + $value) { + echo ""; + } } - } - ?> - -
+ ?> + +
-
- - -
+
+ + +
- -
- - -
+
+ + +
-
- - + + $value) { echo ""; } } */ ?> - -
+ +
+ +
+ Clear + Submit +
-
-
-
+
+
diff --git a/app/Views/tpa_list.php b/app/Views/tpa_list.php index c74df7cd..02cecd9b 100755 --- a/app/Views/tpa_list.php +++ b/app/Views/tpa_list.php @@ -178,7 +178,7 @@ $(document).ready(function() { $('#tickets-table').DataTable({ - dom: "<'d-flex justify-content-between align-items-center'<'datatable-search'f><'datatable-buttons'B>>" + + dom: "<'row'<'col-12 d-flex justify-content-between align-items-center'<'datatable-search dataTables_filter'f><'datatable-buttons dt-buttons'B>>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", buttons: [{ diff --git a/app/Views/variance_report_list.php b/app/Views/variance_report_list.php index edabc71d..eca2d38c 100644 --- a/app/Views/variance_report_list.php +++ b/app/Views/variance_report_list.php @@ -8,7 +8,7 @@ padding: 4px 4px !important; } - + .dataTables_filter { position: absolute; @@ -25,123 +25,126 @@
-
- -
-
-
-
-
+
+
+
+

+ Filter + + + +

+
+
+
+
-
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- - - - -
+