FIX_EXPIRED : RV

This commit is contained in:
VENKATESHWARAN 2025-06-03 11:17:21 +05:30
parent 7e23f18b2b
commit a97af00d5c

View File

@ -90,7 +90,7 @@ class RestAuthenticationController extends AdminController
->where('employees.emp_status !=', 'truncated')
->where('employees.mobile', $mobile_number)
->where('EP.is_active', 1)
->whereIn('EP.status', ['draft', 'enrolled'])
->whereIn('EP.status', ['draft', 'enrolled', 'expired'])
->first();
@ -131,7 +131,7 @@ class RestAuthenticationController extends AdminController
->where('employees.emp_status !=', 'truncated')
->where('employees.email_corporate', $email)
->where('EP.is_active', 1)
->whereIn('EP.status', ['draft', 'enrolled'])
->whereIn('EP.status', ['draft', 'enrolled', 'expired'])
->first();
if (isset($employeeData['employee_id'])) {