Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev
This commit is contained in:
commit
2b5738a3ae
@ -2307,6 +2307,10 @@ class EmployeeRestController extends AdminController
|
|||||||
$policyId = [];
|
$policyId = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(count($policyId) == 0){
|
||||||
|
return $this->respond(['status' => 'failed','code' => (count($policyId) ? 200 : 404),'data' => [] ], 200);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$ClientPolicyData = $this->clientPolicyModel->select('client_policy.id as client_policy_id , client_policy.client_id as client_id, client_policy.policy_type_id as policy_type_id, client_policy.is_addon as is_addon , client_policy.open_for_enrollment as OpenForEnrollment , client_policy.inception_type as inception_type ')
|
$ClientPolicyData = $this->clientPolicyModel->select('client_policy.id as client_policy_id , client_policy.client_id as client_id, client_policy.policy_type_id as policy_type_id, client_policy.is_addon as is_addon , client_policy.open_for_enrollment as OpenForEnrollment , client_policy.inception_type as inception_type ')
|
||||||
@ -2373,6 +2377,10 @@ class EmployeeRestController extends AdminController
|
|||||||
$policyId = [];
|
$policyId = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(count($policyId) == 0){
|
||||||
|
return $this->respond(['status' => 'failed','code' => (count($policyId) ? 200 : 404),'data' => [] ], 200);
|
||||||
|
}
|
||||||
|
|
||||||
$clientId = $this->request->getGet('client_id');
|
$clientId = $this->request->getGet('client_id');
|
||||||
|
|
||||||
$clientController = new ClientController;
|
$clientController = new ClientController;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user