CHANGE_in emp login api added additional where condition : GWM
This commit is contained in:
parent
894f1357a9
commit
bb033fa8be
@ -74,7 +74,8 @@ class RestAuthenticationController extends AdminController
|
|||||||
$employeeData = $this->employeeModel->where('mobile', $mobile_number)
|
$employeeData = $this->employeeModel->where('mobile', $mobile_number)
|
||||||
->where('relationship', 'self')
|
->where('relationship', 'self')
|
||||||
->where('emp_status !=', 'truncated')
|
->where('emp_status !=', 'truncated')
|
||||||
->where('is_active', 1)->first();
|
->where('is_active', 1)
|
||||||
|
->first();
|
||||||
|
|
||||||
if ($employeeData) {
|
if ($employeeData) {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user