CHANGE_in emp login api added additional where condition : GWM

This commit is contained in:
Gowtham M 2024-11-28 09:24:13 +05:30
parent 894f1357a9
commit bb033fa8be

View File

@ -74,7 +74,8 @@ class RestAuthenticationController extends AdminController
$employeeData = $this->employeeModel->where('mobile', $mobile_number)
->where('relationship', 'self')
->where('emp_status !=', 'truncated')
->where('is_active', 1)->first();
->where('is_active', 1)
->first();
if ($employeeData) {