From a800dd157744199780960496288e787e8753a5f4 Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Mon, 6 Jan 2025 12:41:30 +0530 Subject: [PATCH 1/3] FEAT_ROW_CLICK_ACTION_EVENT_TRIGGER_SRINIVAS --- app/Controllers/LeadsController.php | 4 +- app/Views/business_team_list.php | 121 +++++++++++-- app/Views/cd_master_list.php | 123 +++++++++++--- app/Views/client_list.php | 144 ++++++++++++++++ app/Views/employee_list.php | 114 +++++++++++++ app/Views/file_list.php | 117 +++++++++++++ app/Views/finance_team_list.php | 121 +++++++++++-- app/Views/insurer_list.php | 159 +++++++++++++++++ app/Views/insurer_statement_list.php | 160 +++++++++++++++--- app/Views/kyc_list.php | 155 +++++++++++++++++ app/Views/leads_list.php | 158 +++++++++++++++++ .../policy_transaction_endorsement_list.php | 155 +++++++++++++++-- .../policy_transaction_inception_list.php | 158 ++++++++++++++--- app/Views/policy_type_list.php | 152 +++++++++++++++++ app/Views/test_members_list.php | 115 +++++++++++++ app/Views/tpa_list.php | 156 +++++++++++++++++ app/Views/vehicle_master_list.php | 123 +++++++++++--- 17 files changed, 2107 insertions(+), 128 deletions(-) diff --git a/app/Controllers/LeadsController.php b/app/Controllers/LeadsController.php index edf882ba..6140f45e 100644 --- a/app/Controllers/LeadsController.php +++ b/app/Controllers/LeadsController.php @@ -135,8 +135,8 @@ class LeadsController extends BaseController // dd($data); // Fetch leads data - $data['lead_data_list'] = $this->leadsModel->getLeadDataForLising(); - + $data ['lead_data_list'] = $this->leadsModel->getLeadDataForLising(); + // Load layout and pass data $this->loadLayout('leads_list', $data); } diff --git a/app/Views/business_team_list.php b/app/Views/business_team_list.php index 57a1db4a..81977a54 100644 --- a/app/Views/business_team_list.php +++ b/app/Views/business_team_list.php @@ -16,6 +16,32 @@ table.dataTable tbody td { .dataTables_filter { position: absolute; } +.custom-dropdown-menu { + display: none; + position: absolute; + background-color: #ffffff !important; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; + padding: 0.5rem 0; + min-width: 10rem; + z-index: 9999; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +.custom-dropdown-menu .dropdown-item { + display: block !important; + width: 100% !important; + padding: 0.5rem 1rem !important; + color: #212529 !important; + text-decoration: none !important; + background-color: transparent !important; +} + +.custom-dropdown-menu .dropdown-item:hover { + background-color: #f8f9fa !important; + color: #16181b !important; + cursor: pointer !important; +}
@@ -210,27 +236,96 @@ table.dataTable tbody td {
+ + + + + + + + + From 42d48b7046592c5adca116e0646c698df8a7eca5 Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Mon, 6 Jan 2025 12:44:06 +0530 Subject: [PATCH 2/3] FIX_REMOVED_UNWANTED_LOGGING_SRINIVAS --- app/Controllers/EmployeeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/EmployeeController.php b/app/Controllers/EmployeeController.php index 2f05a1d4..6079b293 100755 --- a/app/Controllers/EmployeeController.php +++ b/app/Controllers/EmployeeController.php @@ -111,7 +111,7 @@ class EmployeeController extends AdminController emp_name : $filterData['emp_name'] ?? null, status : $filterData['status'] ?? [], ); - log_message('error',json_encode($data['employees'])); + // log_message('error',json_encode($data['employees'])); // Set getData in $data array with the processed $filterData $data['getData'] = $filterData; } From 9b7c5cc4dd93cdd29c441d082116dea009a6fcc1 Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Mon, 6 Jan 2025 14:09:19 +0530 Subject: [PATCH 3/3] FIX_REMOVED_READONLY_IN_CLIENT_POLICY_CHANGES --- app/Views/client_policy.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Views/client_policy.php b/app/Views/client_policy.php index bca40235..cf219b6c 100755 --- a/app/Views/client_policy.php +++ b/app/Views/client_policy.php @@ -894,14 +894,14 @@ if (res.data.is_addon == 2 || res.data.is_addon == 3) { $("#insurer").next(".select2-container").css({ - 'pointer-events': 'none', + 'pointer-events': 'auto', }); $('#select2-insurer-container').css({ 'background-color': '#ebebe0', }); $("#tpa").next(".select2-container").css({ - 'pointer-events': 'none', + 'pointer-events': 'auto', }); $('#select2-tpa-container').css({ 'background-color': '#ebebe0', @@ -1356,7 +1356,7 @@ if ($(this).val() == 4 || $(this).val() == 5) { $("#insurer").next(".select2-container").css({ - 'pointer-events': 'none', + 'pointer-events': 'auto', }); $('#select2-insurer-container').css({ @@ -1364,7 +1364,7 @@ }); $("#tpa").next(".select2-container").css({ - 'pointer-events': 'none', + 'pointer-events': 'auto', }); $('#select2-tpa-container').css({ @@ -1927,14 +1927,14 @@ if (res.data.is_addon == 2 || res.data.is_addon == 3) { $("#insurer").next(".select2-container").css({ - 'pointer-events': 'none', + 'pointer-events': 'auto', }); $('#select2-insurer-container').css({ 'background-color': '#ebebe0', }); $("#tpa").next(".select2-container").css({ - 'pointer-events': 'none', + 'pointer-events': 'auto', }); $('#select2-tpa-container').css({ 'background-color': '#ebebe0',