FIX_EXPIRED : RV
This commit is contained in:
parent
7e23f18b2b
commit
a97af00d5c
@ -90,7 +90,7 @@ class RestAuthenticationController extends AdminController
|
|||||||
->where('employees.emp_status !=', 'truncated')
|
->where('employees.emp_status !=', 'truncated')
|
||||||
->where('employees.mobile', $mobile_number)
|
->where('employees.mobile', $mobile_number)
|
||||||
->where('EP.is_active', 1)
|
->where('EP.is_active', 1)
|
||||||
->whereIn('EP.status', ['draft', 'enrolled'])
|
->whereIn('EP.status', ['draft', 'enrolled', 'expired'])
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
|
|
||||||
@ -131,7 +131,7 @@ class RestAuthenticationController extends AdminController
|
|||||||
->where('employees.emp_status !=', 'truncated')
|
->where('employees.emp_status !=', 'truncated')
|
||||||
->where('employees.email_corporate', $email)
|
->where('employees.email_corporate', $email)
|
||||||
->where('EP.is_active', 1)
|
->where('EP.is_active', 1)
|
||||||
->whereIn('EP.status', ['draft', 'enrolled'])
|
->whereIn('EP.status', ['draft', 'enrolled', 'expired'])
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
if (isset($employeeData['employee_id'])) {
|
if (isset($employeeData['employee_id'])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user