From a9aa4884d20b7b0ab1e626bac4939f3baab715bd Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Fri, 24 Jan 2025 12:03:09 +0530 Subject: [PATCH] CHANGE_REST_CONTRL_GETADDONPOLICY_IS_ACTIVE : RV --- app/Controllers/EmployeeRestController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index f21e567..640531a 100755 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -1654,6 +1654,7 @@ class EmployeeRestController extends AdminController $clientPolicy = $this->clientPolicyModel->where('client_id',$this->request->getGet('client_id')) ->where('client_branch_id',$this->request->getGet('client_branch_id')) ->where('policy_status', 1) + ->where('is_active', 1) ->findAll(); if(count($clientPolicy))