From 286af4ccc0f8853b04f10e0aaefc347dab68f5fe Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Thu, 6 Nov 2025 11:06:43 +0530 Subject: [PATCH] GWM : --- app/Controllers/MasterController.php | 2 +- app/Models/EnquiryModel.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Controllers/MasterController.php b/app/Controllers/MasterController.php index 7b1a9f7..9c46513 100644 --- a/app/Controllers/MasterController.php +++ b/app/Controllers/MasterController.php @@ -102,7 +102,7 @@ class MasterController extends ResourceController public function getInsurersMaster() { - $data = $this->InsurersModel->select('id,name')->where('is_active',1)->findAll(); + $data = $this->InsurersModel->select('id,name')->where('is_active',1)->where('category','general')->findAll(); if (!$data) { return $this->failNotFound('No data found'); diff --git a/app/Models/EnquiryModel.php b/app/Models/EnquiryModel.php index a739c87..b9bd603 100644 --- a/app/Models/EnquiryModel.php +++ b/app/Models/EnquiryModel.php @@ -28,7 +28,8 @@ class EnquiryModel extends Model 'insurer_branch_id', 'created_by', 'updated_by', - 'is_data_created_by_handler' + 'is_data_created_by_handler', + 'is_data_created_by_manager' ]; protected $useTimestamps = true;