Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev
This commit is contained in:
commit
8ab0bca9ef
@ -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']]);
|
||||
}
|
||||
|
||||
|
||||
@ -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];
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
|
||||
<body>
|
||||
<main class="error-wrapper">
|
||||
<img class="error-image" src="<?= base_url()."public"; ?>/assets/images/errors/403_illustration.jpeg" alt="403 access denied">
|
||||
<img class="error-image" src="<?= base_url()."public"; ?>/assets/images/errors/403_illustration.png" alt="403 access denied">
|
||||
<h1 class="error-title">ACCESS DENIED</h1>
|
||||
<p class="error-subtitle">
|
||||
<?= isset($message) && !empty($message) ? $message : "You don't have permission to access this page." ?>
|
||||
|
||||
BIN
public/assets/images/errors/403_illustration.png
Normal file
BIN
public/assets/images/errors/403_illustration.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
Loading…
Reference in New Issue
Block a user