GWM :
This commit is contained in:
parent
90593bc5c3
commit
286af4ccc0
@ -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');
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user