This commit is contained in:
Gowtham M 2025-11-06 11:06:43 +05:30
parent 90593bc5c3
commit 286af4ccc0
2 changed files with 3 additions and 2 deletions

View File

@ -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');

View File

@ -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;