CHANGE_HIDE_SUBMIT_BTN_FROM_RACT_RATE_AND_TERMS_PAGE : RV

This commit is contained in:
VENKATESHWARAN 2025-05-06 16:52:24 +05:30
parent 5a5c29e886
commit 608e070e96

View File

@ -1915,7 +1915,7 @@ class ClientController extends AdminController
$emp_count = $this->employeePolicyModel
->join('client_policy cp', "cp.id = employee_polices.client_policy_id")
->where("employee_polices.client_policy_id", $client_policy_id)
->where("employee_polices.status", 'active')
->whereIn("employee_polices.status", ['draft', 'enrolled'])
->where("employee_polices.is_active", 1)
->countAllResults();
@ -2457,7 +2457,7 @@ class ClientController extends AdminController
$emp_count_by_policy = $this->employeePolicyModel
->where('client_policy_id', $client_policy_id)
->where("status", 'active')
->whereIn("status", ['draft', 'enrolled'])
->where('is_active', 1)
->countAllResults();