-
+
-
+
@@ -412,12 +412,12 @@ class ChatbotHelper
-
+
-
+
@@ -449,7 +449,7 @@ class ChatbotHelper
-
+
@@ -457,7 +457,7 @@ class ChatbotHelper
-
+
@@ -492,7 +492,7 @@ class ChatbotHelper
-
+
@@ -500,7 +500,7 @@ class ChatbotHelper
-
+
|
@@ -514,7 +514,7 @@ class ChatbotHelper
|
-
+
diff --git a/app/Helpers/MailHelper.php b/app/Helpers/MailHelper.php
index cce74a9a..89e90262 100755
--- a/app/Helpers/MailHelper.php
+++ b/app/Helpers/MailHelper.php
@@ -322,6 +322,7 @@ class MailHelper
$from_address = isset($params['from_mail']) && !empty($params['from_mail']) ? $params['from_mail'] : getenv('email.fromEmail');
// $from_address = "claims@nhanceindia.in";
+ if(isset($params['common'])){ $params['common']['from_mail'] = $from_address; }
try {
$curl = curl_init();
diff --git a/app/Helpers/api_helper.php b/app/Helpers/api_helper.php
index de9a0b64..95096fdb 100644
--- a/app/Helpers/api_helper.php
+++ b/app/Helpers/api_helper.php
@@ -59,6 +59,7 @@ if (!function_exists('call_third_party_api')) {
}
$decoded = json_decode($response, true);
+
return [
'status' => ($httpCode >= 200 && $httpCode < 300),
'data' => $decoded ?: $response, // fallback to raw response
diff --git a/app/Helpers/sendMailNotification.php b/app/Helpers/sendMailNotification.php
index bd66c776..f9de6b09 100755
--- a/app/Helpers/sendMailNotification.php
+++ b/app/Helpers/sendMailNotification.php
@@ -305,7 +305,7 @@ class sendMailNotification
}
$table_content .= $policy_name_for_policy_type . '';
- $table_content .= '';
+ $table_content .= '';
// Add text-align: center to the table head
$table_content .= '';
@@ -442,7 +442,7 @@ class sendMailNotification
}
$table_content .= $policy_name_for_policy_type . ' ( Payable By Employee ) ';
- $table_content .= '';
+ $table_content .= '';
// Add text-align: center to the table head
$table_content .= '';
@@ -479,7 +479,7 @@ class sendMailNotification
if (count($Addon_list) > 0) {
$table_content .= '
';
- $table_content .= ' ';
+ $table_content .= '';
// Center align for table header and body
$table_content .= '';
@@ -655,7 +655,7 @@ class sendMailNotification
}
$table_content .= $policy_name_for_policy_type . '';
- $table_content .= '';
+ $table_content .= '';
// Add text-align: center to the table head
$table_content .= '';
@@ -741,7 +741,7 @@ class sendMailNotification
}
$table_content .= $policy_name_for_policy_type . ' ( Payable By Employee ) ';
- $table_content .= '';
+ $table_content .= '';
// Add text-align: center to the table head
$table_content .= '';
@@ -779,7 +779,7 @@ class sendMailNotification
if (count($Addon_list) > 0) {
$table_content .= '
';
- $table_content .= ' ';
+ $table_content .= '';
// Center align for table header and body
$table_content .= '';
@@ -956,7 +956,7 @@ class sendMailNotification
}
$table_content .= $policy_name_for_policy_type . '';
- $table_content .= '';
+ $table_content .= '';
// Add text-align: center to the table head
$table_content .= '';
@@ -1042,7 +1042,7 @@ class sendMailNotification
}
$table_content .= $policy_name_for_policy_type . ' ( Payable By Employee ) ';
- $table_content .= '';
+ $table_content .= '';
// Add text-align: center to the table head
$table_content .= '';
@@ -1079,7 +1079,7 @@ class sendMailNotification
if (count($Addon_list) > 0) {
$table_content .= '
';
- $table_content .= ' ';
+ $table_content .= '';
// Center align for table header and body
$table_content .= '';
@@ -1332,7 +1332,7 @@ class sendMailNotification
// Start table row
$table_content .= $policy_name . '';
- $table_content .= '';
+ $table_content .= '';
$table_content .= '';
$table_content .= '';
$table_content .= '| Name | ';
@@ -1384,7 +1384,7 @@ class sendMailNotification
// Generate summary table for addon if applicable
if (count($Addon_list) > 0) {
$table_content .= '
';
- $table_content .= ' ';
+ $table_content .= '';
$table_content .= '';
$table_content .= '';
@@ -1482,7 +1482,7 @@ class sendMailNotification
// Start table row
$table_content .= $policy_name . '';
- $table_content .= '';
+ $table_content .= '';
$table_content .= '';
$table_content .= '';
$table_content .= '| Name | ';
@@ -1534,7 +1534,7 @@ class sendMailNotification
// Generate summary table for addon if applicable
if (count($Addon_list) > 0) {
$table_content .= '
';
- $table_content .= ' ';
+ $table_content .= '';
$table_content .= '';
$table_content .= '';
@@ -1630,7 +1630,7 @@ class sendMailNotification
// Start table row
$table_content .= $policy_name . '';
- $table_content .= '';
+ $table_content .= '';
$table_content .= '';
$table_content .= '';
$table_content .= '| Name | ';
@@ -1683,7 +1683,7 @@ class sendMailNotification
if (count($Addon_list) > 0) {
$table_content .= '
';
- $table_content .= ' ';
+ $table_content .= '';
$table_content .= '';
$table_content .= '';
diff --git a/app/Models/BatchFileModel.php b/app/Models/BatchFileModel.php
index b8ebc8e9..e791553a 100755
--- a/app/Models/BatchFileModel.php
+++ b/app/Models/BatchFileModel.php
@@ -25,6 +25,7 @@ class BatchFileModel extends Model
"status",
"error_data",
"client_branch_id",
+ "policy_issue_date",
];
// Callbacks
diff --git a/app/Models/GmailSentHistoryModel.php b/app/Models/GmailSentHistoryModel.php
index 9c853879..75abbbe0 100644
--- a/app/Models/GmailSentHistoryModel.php
+++ b/app/Models/GmailSentHistoryModel.php
@@ -7,5 +7,5 @@ use CodeIgniter\Model;
class GmailSentHistoryModel extends Model{
protected $table = 'gmail_sent_history';
protected $primaryKey = 'id';
- protected $allowedFields = ["id", "mail", "bcc", "cc", "message", "attachments", "client_id", "client_branch_id", "client_policy_id", "employee_policy_id", "employee_id", "mail_type", "gmail_api_status", "gmail_api_id", "created_by", "created_at", "updated_by", "updated_at", "isactive","received_message", "common"];
+ protected $allowedFields = ["id", "mail", "bcc", "cc", "message", "attachments", "client_id", "client_branch_id", "client_policy_id", "employee_policy_id", "employee_id", "mail_type", "gmail_api_status", "gmail_api_id", "module", "pk", "from_mail", "created_by", "created_at", "updated_by", "updated_at", "isactive","received_message", "common"];
}
\ No newline at end of file
diff --git a/app/Models/ThzHistoryModel.php b/app/Models/ThzHistoryModel.php
new file mode 100644
index 00000000..f7dd22d2
--- /dev/null
+++ b/app/Models/ThzHistoryModel.php
@@ -0,0 +1,45 @@
+/assets/images/active_pending_actions.png" alt="Logo" height="14"
class="active_pending" style="display:none;">
- Pending Actions
+ Pending Actions
@@ -235,7 +235,7 @@
/assets/images/active_bds.png" alt="Logo" height="14"
class="active_bds " style="display:none;">
- BDS
+ BDS
@@ -251,7 +251,7 @@
/assets/images/active_claims.png" alt="Logo" height="14"
class="active_claims " style="display:none;">
- Claims
+ Claims
@@ -266,7 +266,7 @@
/assets/images/active_leads_and_bds_renewal.png" alt="Logo" height="14"
class="active_leads " style="display:none;">
- Leads and BDS Renewals
+ Leads and BDS Renewals
diff --git a/app/Views/UserList.php b/app/Views/UserList.php
index 088b15d0..d9d73f2a 100755
--- a/app/Views/UserList.php
+++ b/app/Views/UserList.php
@@ -249,7 +249,7 @@ table.dataTable tbody td {
User List
-
+
| Name |
@@ -383,7 +383,7 @@ table.dataTable tbody td {
| | | | |