FIX_PRE_POLICY_COUNT
This commit is contained in:
parent
bcbae21c41
commit
16df4424c8
@ -3681,9 +3681,10 @@ class EmployeeRestController extends AdminController
|
||||
->join('employee_polices', 'employees.id = employee_polices.employee_id')
|
||||
->join('client_policy cp', 'employee_polices.client_policy_id = cp.id')
|
||||
->where('employees.is_active', 1)
|
||||
->whereIn('employees.emp_status', ['draft', 'enrolled'])
|
||||
->whereIn('employees.emp_status', ['draft'])
|
||||
->where('employees.family_floater_key', 'self')
|
||||
->where('employee_polices.is_active', 1)
|
||||
->whereIn('employee_polices.status', ['draft', 'enrolled'])
|
||||
->whereIn('employee_polices.status', ['draft'])
|
||||
->where('cp.enrolment_visibility', 1)
|
||||
->where('cp.open_for_enrollment', 1)
|
||||
->where('cp.policy_status', 1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user