FIX_ISSUE
This commit is contained in:
parent
dc17e48d8b
commit
c2d962eb72
@ -608,7 +608,6 @@ class EmployeeRestController extends AdminController
|
||||
try {
|
||||
|
||||
$empData = $this->employeePolicyModel->getEmployeePolicy(client_id: $this->request->getGet('client_id'), policy_id: $this->request->getGet('client_policy_id'), status: 0, branch_id: $this->request->getGet('client_branch_id'));
|
||||
$empData = array_slice($empData, 0, 5);
|
||||
|
||||
if ($empData) {
|
||||
return $this->respond(['status' => 'success', 'code' => 200, 'data' => $empData], 200);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user