diff --git a/app/Controllers/RestAuthenticationController.php b/app/Controllers/RestAuthenticationController.php index f187422..eeb6946 100755 --- a/app/Controllers/RestAuthenticationController.php +++ b/app/Controllers/RestAuthenticationController.php @@ -152,6 +152,11 @@ class RestAuthenticationController extends AdminController } $otp = random_int(100000, 999999); + if($mobile_number == '9442741776') + { + $otp = '123456'; + $this->myLogger->logme("error", "REST-AUTH-CONTROLLER - verifyEmployeeWithMobileNumber: setting 123456 for IOS APP TESTING = " . json_encode($employeeData)); + } $this->myLogger->logme("error", "REST-AUTH-CONTROLLER - verifyEmployeeWithMobileNumber: Final employee data to verify = " . json_encode($employeeData)); @@ -192,7 +197,14 @@ class RestAuthenticationController extends AdminController $this->myLogger->logme("error", "REST-AUTH-CONTROLLER - verifyEmployeeWithMobileNumber: Calling callThirdPartyAPI for updateEmpOTP"); } - + //skip sms for live test no + if($mobile_number == '9442741776') + { + + $this->myLogger->logme("error", "REST-AUTH-CONTROLLER - verifyEmployeeWithMobileNumber: skip SMS sent for IOS APP TESTING = " . ($mobile_number)); + $result = ['user_verification' => true ,'message' => "Verified Successfully" ]; + return $this->respond(['status' => 'success','code' => 200,'data' => $result],200); + } //send sms $SMSResult = sendOtpSms($mobile_number, $otp); if ($SMSResult['status'] == 'success') diff --git a/app/Views/layout/footer.php b/app/Views/layout/footer.php index 5026672..a412cef 100755 --- a/app/Views/layout/footer.php +++ b/app/Views/layout/footer.php @@ -85,8 +85,8 @@ - - + + diff --git a/app/Views/layout/header.php b/app/Views/layout/header.php index aa201ad..586695f 100755 --- a/app/Views/layout/header.php +++ b/app/Views/layout/header.php @@ -62,9 +62,9 @@ - + - + --> diff --git a/app/Views/mail_template.php b/app/Views/mail_template.php index 12b4dac..22582cf 100644 --- a/app/Views/mail_template.php +++ b/app/Views/mail_template.php @@ -11,7 +11,7 @@ .mail-template-header { max-width: 500px; - background: #ffffff; + background-color: #ffffff !important; border-bottom: 1px solid #00999E; width: 100%; /* default: allow full width */ } @@ -19,6 +19,7 @@ /* On screens smaller than 600px → force 100% */ @media screen and (max-width: 600px) { .mail-template-header { + background-color: #ffffff !important; max-width: 100% !important; width: 100% !important; } @@ -26,7 +27,7 @@ .mail-template-footer { max-width: 500px; - background: #ffffff; + background-color: #ffffff !important; border-top: 1px solid #00999E; width: 100%; /* default: allow full width */ } @@ -34,6 +35,7 @@ /* On screens smaller than 600px → force 100% */ @media screen and (max-width: 600px) { .mail-template-footer { + background-color: #ffffff !important; max-width: 100% !important; width: 100% !important; } @@ -49,7 +51,7 @@
|