Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev

This commit is contained in:
sanjeev.p 2026-05-04 10:52:50 +05:30
commit a8f5326b32
3 changed files with 10 additions and 0 deletions

View File

@ -4664,6 +4664,9 @@ class EmployeeRestController extends AdminController
$employeeController = new EmployeeController();
$responce = $employeeController->employeesUplodWithEvents($post_data);
// print_r($responce); die;
if ($responce['status']) {
$this->giveNotificationToClientsAccountManager($post_data);
}
return $responce;

View File

@ -1520,6 +1520,8 @@ class EmployeeServiceController extends AdminController
if(count($employee_data_group_by_family ?? []) && isset($params['batch_file_id'])){
$r = Jobs::addJob(['job_name' => 'updateEmployeeDataFromTpa','payload' => ['file_id' => $file_id, 'batch_file_id' => $params['batch_file_id']]]);
$r = Jobs::addJob(['job_name' => 'reconTpaApiDataWithEmployeepolicies','payload' => ['file_id' => $params['batch_file_id']]]);
$r = Jobs::addJob(['job_name' => 'initializeDeletionProcessForTpaApiData','payload' => ['file_id' => $params['batch_file_id']]]);
$this->myLogger->logme("info", 'Batch file id {batch_file_id} processed successfully', ['batch_file_id' => $params['batch_file_id']]);
}

View File

@ -3061,6 +3061,11 @@ if (!function_exists('validate_date_value')) {
if (!function_exists('validate_mobile_value')) {
function validate_mobile_value($value)
{
if(empty($value))
{
return ['status' => true, 'error' => null];
}
if (preg_match('/^[0-9]{10}$/', $value)) {
return ['status' => true, 'error' => null];
}