From 9ea7b318f2c56e6aca522d317ed277bd119c77ff Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Fri, 19 Sep 2025 15:26:25 +0530 Subject: [PATCH] FIX_UI_support_Search_with_icon --- app/Views/UserList.php | 8 +- app/Views/add_image_list.php | 4 +- app/Views/client_list.php | 10 ++- app/Views/layout/header.php | 48 ++++++++++-- .../policy_transaction_endorsement_list.php | 74 ++++++++++--------- .../policy_transaction_inception_list.php | 65 ++++++++-------- app/Views/thz_list.php | 8 ++ app/Views/thz_notes.php | 7 +- app/Views/tpa_list.php | 8 +- 9 files changed, 150 insertions(+), 82 deletions(-) diff --git a/app/Views/UserList.php b/app/Views/UserList.php index 544b544b..b37fe037 100755 --- a/app/Views/UserList.php +++ b/app/Views/UserList.php @@ -887,8 +887,12 @@ table.dataTable tbody td { paging: true, pageLength: 25, language: { - search: "_INPUT_", - searchPlaceholder: "Search..." + search: ` +
+ _INPUT_ + +
`, + searchPlaceholder: "Search" }, initComplete: function () { $(".dt-buttons").prepend(` diff --git a/app/Views/add_image_list.php b/app/Views/add_image_list.php index d12c445a..3ab9080e 100755 --- a/app/Views/add_image_list.php +++ b/app/Views/add_image_list.php @@ -93,9 +93,9 @@ table.dataTable thead th { - +
diff --git a/app/Views/client_list.php b/app/Views/client_list.php index b46846e3..fc001d3c 100755 --- a/app/Views/client_list.php +++ b/app/Views/client_list.php @@ -76,7 +76,7 @@ table.dataTable thead th {
-

Client List

+

Client

- - - - +
Welcome first_name) ? get_session_userdata()->first_name : 'NOT SET') ?>
diff --git a/app/Views/policy_transaction_endorsement_list.php b/app/Views/policy_transaction_endorsement_list.php index e15ccfd8..54fa1b90 100644 --- a/app/Views/policy_transaction_endorsement_list.php +++ b/app/Views/policy_transaction_endorsement_list.php @@ -167,16 +167,21 @@ custom-dropdown-menu { } -
-
+
+

Endorsement

+
+ +
-
-
+ +
+ +
@@ -290,21 +294,18 @@ custom-dropdown-menu {
-
-
-
+

Endorsement List

-
+
-
-
-
+
+
@@ -328,11 +329,11 @@ custom-dropdown-menu { $row){ ?> - - - - - + + + + + @@ -340,24 +341,24 @@ custom-dropdown-menu { - -
-
-
-
-
+ +
+
-
+ @@ -491,14 +492,20 @@ document.addEventListener("DOMContentLoaded", function () { dom: "<'row'<'col-sm-6'f><'col-sm-5 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector + buttons: [ + { + extend: 'collection', + text: ' Export ', + className: 'btn app-btn-secondary ', buttons: [{ extend: 'csv', - text: 'CSV', + text: ' CSV ', title: 'Policy-Tranction-Endorsement-List', exportOptions: { columns: ':not(:last-child)' }, - }], + }] + }], language: { search: "_INPUT_", searchPlaceholder: "Search..." @@ -923,6 +930,7 @@ $(function() { $('#reportrange').daterangepicker({ startDate: start, endDate: end, + locale: { format: 'DD-MM-YYYY' }, ranges: { 'Today': [moment(), moment()], 'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')], diff --git a/app/Views/policy_transaction_inception_list.php b/app/Views/policy_transaction_inception_list.php index 8faea6e1..5263b466 100644 --- a/app/Views/policy_transaction_inception_list.php +++ b/app/Views/policy_transaction_inception_list.php @@ -144,23 +144,26 @@ table.dataTable tbody td { } +
+

Policy

+
-
-
+
-
-

+

+ +
-
+
-
+
-
+
--> -
+
-
- -
- - - -
+
-
@@ -268,15 +263,15 @@ table.dataTable tbody td {
-
-
-
+ + +
-

Policy List

+

Policy

@@ -345,7 +340,8 @@ table.dataTable tbody td {
-
+ + @@ -559,15 +555,20 @@ $(document).ready(function() { dom: "<'row'<'col-sm-7'f><'col-sm-5 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector + buttons: [ + { + extend: 'collection', + text: ' Export ', + className: 'btn app-btn-secondary ', buttons: [ { extend: 'csv', - text: 'CSV', + text: ' CSV ', title: 'Policy-Tranction-Inception-List', exportOptions: { columns: ':not(:last-child)' }, - }, + } ]}, { text: 'Add', className: 'buttons-html5 addbtnStyle', @@ -1625,7 +1626,7 @@ $(function() { // var end = moment(); function cb(start, end) { - $('#reportrange span').html(start.format('D/MM/YYYY') + ' - ' + end.format('D/MM/YYYY')); + $('#reportrange').html(start.format('D/MM/YYYY') + ' - ' + end.format('D/MM/YYYY')); $('#startDate').val(start.format('DD/MM/YYYY')); $('#endDate').val(end.format('DD/MM/YYYY')); } diff --git a/app/Views/thz_list.php b/app/Views/thz_list.php index 223a9851..dd983edc 100644 --- a/app/Views/thz_list.php +++ b/app/Views/thz_list.php @@ -621,6 +621,14 @@ $(document).ready(function() { ] } ], + language: { + search: ` +
+ _INPUT_ + +
`, + searchPlaceholder: "Search" + }, paging: true, pageLength: 25, order: [[0, 'desc']] diff --git a/app/Views/thz_notes.php b/app/Views/thz_notes.php index 98443f8f..10829356 100644 --- a/app/Views/thz_notes.php +++ b/app/Views/thz_notes.php @@ -16,7 +16,12 @@ padding: 8px; font-size: 14px; } - +textarea { + background-color: white !important; + border-radius: 0px !important; + box-shadow: 0px 0px 0px 0px white !important; + border-color: white !important; + } .icon-buttons { display: flex; gap: 6px; diff --git a/app/Views/tpa_list.php b/app/Views/tpa_list.php index ace4ba84..19c35aa9 100755 --- a/app/Views/tpa_list.php +++ b/app/Views/tpa_list.php @@ -200,8 +200,12 @@ document.addEventListener("DOMContentLoaded", function () { language: { - search: "_INPUT_", - searchPlaceholder: "Search..." + search: ` +
+ _INPUT_ + +
`, + searchPlaceholder: "Search" }, paging: true , });