FIX_ENROLLMENT_WINDOW

This commit is contained in:
VENKATESHWARAN 2025-12-24 11:00:53 +05:30
parent 3842785343
commit b07c79de2c

View File

@ -376,8 +376,8 @@ class EmployeeRestController extends AdminController
->where('employee_polices.client_policy_id', $client_policy_id)
->where('employee_polices.is_active', 1)
->where('employees.is_active', 1)
->where('employee_polices.status', ['draft', 'enrolled'])
->where('employees.emp_status', ['draft', 'enrolled'])
->whereIn('employee_polices.status', ['draft', 'enrolled'])
->whereIn('employees.emp_status', ['draft', 'enrolled'])
->where('employee_polices.enrollment_open_date is not null')
->where('employee_polices.enrollment_close_date is not null')
->first();