From 2dee0dc63e4028ad7407f6234811e6c7f951551a Mon Sep 17 00:00:00 2001 From: velz Date: Wed, 5 Nov 2025 09:35:26 +0530 Subject: [PATCH 1/6] FIX_LEAD_LIST_500_ERROR --- app/Controllers/LeadsController.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/Controllers/LeadsController.php b/app/Controllers/LeadsController.php index 3ead1911..92fa8a52 100644 --- a/app/Controllers/LeadsController.php +++ b/app/Controllers/LeadsController.php @@ -344,10 +344,15 @@ class LeadsController extends BaseController $where = []; foreach ($search_data as $search_objects => $key) { if ($key != null && $key != '' && $key != 0 && $search_objects != 'is_dashboard') { - $where[$search_objects] = $key; + if($search_objects == 'status') + { + $where[('leads.'.$search_objects)] = $key; + }else{ + $where[$search_objects] = $key; + } } } - + // !dd($where); $data['lead_data_list'] = $this->leadsModel->getLeadDataForLising($where); $html = view('leads_list', $data); From 0c828239feffa085310dde7f1d9b3eb96da85cd2 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Wed, 5 Nov 2025 09:53:46 +0530 Subject: [PATCH 2/6] CHANGE_help_desk_tickets - VADIVEL J 2025-11-05 09:53 --- app/Controllers/MasterController.php | 12 ++++++------ app/Views/mail_template.php | 15 +++++++++++++-- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/app/Controllers/MasterController.php b/app/Controllers/MasterController.php index 6f747c67..6191007c 100755 --- a/app/Controllers/MasterController.php +++ b/app/Controllers/MasterController.php @@ -354,14 +354,14 @@ class MasterController extends AdminController exit(); } - public function getInsurerBranchList() - { - $id = $this->request->getPost('insurer_id'); + public function getInsurerBranchList() + { + $id = $this->request->getPost('insurer_id'); - $insurer_branch_list = $this->insurerBranchModel->where(['insurer_id' => $id, 'is_active' => 1])->findAll()??[]; + $insurer_branch_list = $this->insurerBranchModel->where(['insurer_id' => $id, 'is_active' => 1])->findAll()??[]; - return $this->response->setJSON([ 'data' => $insurer_branch_list ])->setStatusCode(200); - } + return $this->response->setJSON([ 'data' => $insurer_branch_list ])->setStatusCode(200); + } public function editInsurerGeneralInfo() { diff --git a/app/Views/mail_template.php b/app/Views/mail_template.php index f111bd54..450f5e68 100644 --- a/app/Views/mail_template.php +++ b/app/Views/mail_template.php @@ -45,6 +45,17 @@ p{ } } +@media screen and (max-width: 600px){ + + .header-div{ + width: 100% !important; + } + + .footer-div{ + width : 100% !important ; + } +} + @@ -53,7 +64,7 @@ p{ -
+
@@ -86,7 +97,7 @@ p{ -
+