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); 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..b0360cd3 100644 --- a/app/Views/mail_template.php +++ b/app/Views/mail_template.php @@ -45,7 +45,22 @@ p{ } } - +@media screen and (max-width: 600px){ + + .header-div{ + width: 100% !important; + } + + .footer-div{ + width : 100% !important ; + } +} + +.client_logo, +.nhance_logo +{ + vertical-align: middle !important; +} @@ -53,10 +68,10 @@ p{
-| + |
+
|
@@ -86,7 +101,7 @@ p{
-
+ |