diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index d590bae4..fd4a3419 100755 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -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; diff --git a/app/Controllers/EmployeeServiceController.php b/app/Controllers/EmployeeServiceController.php index faf98a6a..af2fdd96 100755 --- a/app/Controllers/EmployeeServiceController.php +++ b/app/Controllers/EmployeeServiceController.php @@ -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']]); } diff --git a/app/Controllers/LeadsController.php b/app/Controllers/LeadsController.php index 765afe8f..ce2dc8f0 100644 --- a/app/Controllers/LeadsController.php +++ b/app/Controllers/LeadsController.php @@ -2165,7 +2165,7 @@ class LeadsController extends BaseController } // dd($data); $lead_data = []; - if (in_array((int) $rfq_data['lead_type'], [1, 3], true)) { + if (in_array((int) $rfq_data['lead_type'], [1], true)) { if (in_array($rfq_data['policy_type_id'], [2, 3, 4, 5])) { $lead_data = [ diff --git a/app/Helpers/excel_util_helper.php b/app/Helpers/excel_util_helper.php index 788ddc20..0c99c9ef 100755 --- a/app/Helpers/excel_util_helper.php +++ b/app/Helpers/excel_util_helper.php @@ -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]; } diff --git a/app/Views/claim_files_upload.php b/app/Views/claim_files_upload.php index e8f4429e..d2fe3ae8 100644 --- a/app/Views/claim_files_upload.php +++ b/app/Views/claim_files_upload.php @@ -618,6 +618,7 @@ + Allowed: PDF, JPG, JPEG, PNG.
diff --git a/app/Views/client_kyc.php b/app/Views/client_kyc.php index 54f69c69..11daea59 100755 --- a/app/Views/client_kyc.php +++ b/app/Views/client_kyc.php @@ -5,6 +5,7 @@
+ * Allowed: PDF, JPG, JPEG, PNG.
diff --git a/app/Views/errors/403.php b/app/Views/errors/403.php index 79344fe8..50d13e13 100755 --- a/app/Views/errors/403.php +++ b/app/Views/errors/403.php @@ -113,7 +113,7 @@
- /assets/images/errors/403_illustration.jpeg" alt="403 access denied"> + /assets/images/errors/403_illustration.png" alt="403 access denied">

ACCESS DENIED

diff --git a/app/Views/non_eb_claim_edit.php b/app/Views/non_eb_claim_edit.php index 29b533e8..a145f7ae 100644 --- a/app/Views/non_eb_claim_edit.php +++ b/app/Views/non_eb_claim_edit.php @@ -1229,7 +1229,7 @@ function nonebAddFileUploadHtml() { var row = document.createElement('div'); row.className = 'form-row dynamic-form-row'; row.innerHTML = '

' + - '
' + + '
Allowed: PDF, JPG, JPEG, PNG.
' + '
'; container.appendChild(row); } diff --git a/app/Views/notification.php b/app/Views/notification.php index 5072ab39..8dd20c09 100755 --- a/app/Views/notification.php +++ b/app/Views/notification.php @@ -449,7 +449,7 @@ - + * Allowed: PDF, JPG, JPEG, PNG.
@@ -537,7 +537,7 @@ - + * Allowed: PDF, JPG, JPEG, PNG.
@@ -642,7 +642,7 @@ - + * Allowed: PDF, JPG, JPEG, PNG.
@@ -738,6 +738,7 @@ + * Allowed: PDF, JPG, JPEG, PNG.
diff --git a/public/assets/images/errors/403_illustration.png b/public/assets/images/errors/403_illustration.png new file mode 100644 index 00000000..1c277537 Binary files /dev/null and b/public/assets/images/errors/403_illustration.png differ