Merge branch 'master' of bitbucket.org:venbaittech/sparqapi

This commit is contained in:
VE10-Sanjeev 2022-05-20 13:13:32 +05:30
commit 6a5e239209

View File

@ -756,15 +756,15 @@ class PDALERTS
$mail_id = $rcm_mail_id; $mail_id = $rcm_mail_id;
} }
log_message('ERROR','#### MW AGENCY-MAIL CALLED TYPE 2(RCM and CM) PD ID :'.$pd_id." and MAIL : ".$mail_id); log_message('ERROR','#### MW AGENCY-MAIL CALLED TYPE 2(RCM and CM) PD ID :'.$pd_id." and MAIL : ".$mail_id);
$msg = "PD for Loan Application ID-".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name']."(".$core_details[0]['pd_sno'].")"." have been triggered to the vendor. "; $msg = "PD for Loan Application ID-".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name']." have been triggered to the vendor. ";
$subject = "PD allocated to vendor for application ID - ".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name']."(".$core_details[0]['pd_sno'].")"; $subject = "PD allocated to vendor for application ID - ".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name'];
$ref_str = "vendor email id"; $ref_str = "vendor email id";
} }
if($flag == 1){ // Mail Content For - Agency ONLY if($flag == 1){ // Mail Content For - Agency ONLY
$mail_id = $core_details[0]['agency_mail']; $mail_id = $core_details[0]['agency_mail'];
log_message('ERROR','#### MW AGENCY-MAIL CALLED TYPE 1(AGENCY) PD ID :'.$pd_id." and MAIL : ".$mail_id); log_message('ERROR','#### MW AGENCY-MAIL CALLED TYPE 1(AGENCY) PD ID :'.$pd_id." and MAIL : ".$mail_id);
$msg = "PD for Loan Application ID - ".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name']."(".$core_details[0]['pd_sno'].") have been allocated to you. "; $msg = "PD for Loan Application ID - ".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name']." have been allocated to you. ";
$subject = "PD allocated for application ID - ".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name']."(".$core_details[0]['pd_sno'].")"; $subject = "PD allocated for application ID - ".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name'];
$ref_str = "client email id"; $ref_str = "client email id";
} }
if($flag == 3){ // Mail Conent For - Allocated Person ONLY if($flag == 3){ // Mail Conent For - Allocated Person ONLY
@ -777,7 +777,7 @@ class PDALERTS
$pd_notification_msg = $CI->db->GET()->result_array(); $pd_notification_msg = $CI->db->GET()->result_array();
$msg = $pd_notification_msg[0]['lender']; $msg = $pd_notification_msg[0]['lender'];
$msg = self::stringReplace($msg,$core_details,'MAIL'); $msg = self::stringReplace($msg,$core_details,'MAIL');
$subject = "PD allocated for application ID - ".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name']."(".$core_details[0]['pd_sno'].")"; $subject = "PD allocated for application ID - ".$core_details[0]['lender_applicant_id']." ".$core_details[0]['applicant_name'];
$ref_str = ""; $ref_str = "";
// $mail->addBCC("sanjeev.p@venbainfotech.com"); // $mail->addBCC("sanjeev.p@venbainfotech.com");
} }