CHANGE_ in agree api : GWM
This commit is contained in:
parent
9bf8e818dc
commit
f64db94a4c
@ -2028,7 +2028,7 @@ class EmployeeRestController extends AdminController
|
|||||||
|
|
||||||
$empPolicyData = $this->employeePolicyModel->where('client_policy_id', $value )
|
$empPolicyData = $this->employeePolicyModel->where('client_policy_id', $value )
|
||||||
->where('is_active', 1 )
|
->where('is_active', 1 )
|
||||||
->whereIn($employeeIds)
|
->whereIn('employee_id',$employeeIds)
|
||||||
->findAll();
|
->findAll();
|
||||||
if(count($empPolicyData))
|
if(count($empPolicyData))
|
||||||
{
|
{
|
||||||
@ -2046,7 +2046,7 @@ class EmployeeRestController extends AdminController
|
|||||||
->update();
|
->update();
|
||||||
//update Employee table
|
//update Employee table
|
||||||
$this->employeeModel->where('emp_code', $emp_code)
|
$this->employeeModel->where('emp_code', $emp_code)
|
||||||
->where('id', $empIdsFromPolicyData)
|
->whereIn('id', $empIdsFromPolicyData)
|
||||||
->where('client_id', $client_id)
|
->where('client_id', $client_id)
|
||||||
->where('is_active', 1)
|
->where('is_active', 1)
|
||||||
->groupStart()
|
->groupStart()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user