SPACE REMOVED BW LOCATION & LOAN
This commit is contained in:
parent
e6b3cf6e9c
commit
0fa49c7ddd
@ -56,6 +56,20 @@ class PDALERTS
|
|||||||
// die();
|
// die();
|
||||||
if(count($core_details))
|
if(count($core_details))
|
||||||
{
|
{
|
||||||
|
$is_pd_notify_enabled = $core_details[0]['is_notify_enabled'];
|
||||||
|
$is_sms_enabled = $core_details[0]['is_sms_enabled'];
|
||||||
|
$is_mail_enabled = $core_details[0]['is_mail_enabled'];
|
||||||
|
$is_app_notify_enabled = $core_details[0]['is_app_notify_enabled'];
|
||||||
|
|
||||||
|
if(!$is_pd_notify_enabled)
|
||||||
|
{
|
||||||
|
$is_sms_enabled = 0;
|
||||||
|
$is_mail_enabled = 0;
|
||||||
|
$is_app_notify_enabled = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$additional_data_for_logs['pd_status'] = $core_details[0]['pd_status'];
|
$additional_data_for_logs['pd_status'] = $core_details[0]['pd_status'];
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
/*******Get Notification Config Details*****/
|
/*******Get Notification Config Details*****/
|
||||||
@ -117,7 +131,7 @@ class PDALERTS
|
|||||||
/*******Send SMS Notification to Lender*****/
|
/*******Send SMS Notification to Lender*****/
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
|
|
||||||
if($pd_notification_configs[0]['sms_lender'] == 1)
|
if($pd_notification_configs[0]['sms_lender'] == 1 && $is_sms_enabled)
|
||||||
{
|
{
|
||||||
$lender_sms = (string)$core_details[0]['pd_contact_mobileno'];
|
$lender_sms = (string)$core_details[0]['pd_contact_mobileno'];
|
||||||
$lender_sales_contact_mobileno = (string)$core_details[0]['lender_sales_contact_mobileno'];
|
$lender_sales_contact_mobileno = (string)$core_details[0]['lender_sales_contact_mobileno'];
|
||||||
@ -147,7 +161,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/*******Send Mail Notification to Lender*****/ // currently Mail disabled
|
/*******Send Mail Notification to Lender*****/ // currently Mail disabled
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['mail_lender'] == 1)
|
if($pd_notification_configs[0]['mail_lender'] == 1 && $is_mail_enabled)
|
||||||
{
|
{
|
||||||
$lender_email = null;
|
$lender_email = null;
|
||||||
$lender_sales_person_email = $core_details[0]['lender_sales_person_email'];
|
$lender_sales_person_email = $core_details[0]['lender_sales_person_email'];
|
||||||
@ -188,7 +202,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/*******Send Push Notification to Lender(WEB/MOB)*****
|
/*******Send Push Notification to Lender(WEB/MOB)*****
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['app_lender'] == 1)
|
if($pd_notification_configs[0]['app_lender'] == 1 && $is_app_notify_enabled)
|
||||||
{
|
{
|
||||||
//$lender_web_token = (string)$core_details[0]['pd_contact_mobileno'];
|
//$lender_web_token = (string)$core_details[0]['pd_contact_mobileno'];
|
||||||
//$lender_mob_token = (string)$core_details[0]['pd_contact_mobileno'];
|
//$lender_mob_token = (string)$core_details[0]['pd_contact_mobileno'];
|
||||||
@ -218,7 +232,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/*******Send SMS Notification to PD Officer*****/
|
/*******Send SMS Notification to PD Officer*****/
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['sms_pdofficer'] == 1)
|
if($pd_notification_configs[0]['sms_pdofficer'] == 1 && $is_sms_enabled)
|
||||||
{
|
{
|
||||||
$mobile_nos_to_send_notification = array();
|
$mobile_nos_to_send_notification = array();
|
||||||
array_push($mobile_nos_to_send_notification,$core_details[0]['allocated_mobile_no']);
|
array_push($mobile_nos_to_send_notification,$core_details[0]['allocated_mobile_no']);
|
||||||
@ -244,7 +258,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/*******Send Push Notification to PD Officer*****/
|
/*******Send Push Notification to PD Officer*****/
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['app_pdofficer'] == 1)
|
if($pd_notification_configs[0]['app_pdofficer'] == 1 && $is_app_notify_enabled)
|
||||||
{
|
{
|
||||||
|
|
||||||
$pd_offcier_web_token = $core_details[0]['pdofficer_webtoken'];
|
$pd_offcier_web_token = $core_details[0]['pdofficer_webtoken'];
|
||||||
@ -262,7 +276,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/*******Send SMS Notification to Customer*****/
|
/*******Send SMS Notification to Customer*****/
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['sms_customer'] == 1)
|
if($pd_notification_configs[0]['sms_customer'] == 1 && $is_sms_enabled)
|
||||||
{
|
{
|
||||||
if($core_details[0]['customer_mobile_no'] != "" || $core_details[0]['customer_mobile_no'] != null)
|
if($core_details[0]['customer_mobile_no'] != "" || $core_details[0]['customer_mobile_no'] != null)
|
||||||
{
|
{
|
||||||
@ -280,7 +294,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/**Send SMS Notification to Central PD Officer**/
|
/**Send SMS Notification to Central PD Officer**/
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['sms_pdincharge'] == 1)
|
if($pd_notification_configs[0]['sms_pdincharge'] == 1 && $is_sms_enabled)
|
||||||
{
|
{
|
||||||
if($core_details[0]['centralpdofficer_mobile_no'] != "" || $core_details[0]['centralpdofficer_mobile_no'] != null)
|
if($core_details[0]['centralpdofficer_mobile_no'] != "" || $core_details[0]['centralpdofficer_mobile_no'] != null)
|
||||||
{
|
{
|
||||||
@ -298,7 +312,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/**Send Push Notification to Central PD Officer**/
|
/**Send Push Notification to Central PD Officer**/
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['app_pdincharge'] == 1)
|
if($pd_notification_configs[0]['app_pdincharge'] == 1 && $is_app_notify_enabled)
|
||||||
{
|
{
|
||||||
|
|
||||||
$central_offcier_web_token = $core_details[0]['centralpdofficer_webtoken'];
|
$central_offcier_web_token = $core_details[0]['centralpdofficer_webtoken'];
|
||||||
@ -312,7 +326,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/**Send SMS Notification to QC Team*****/
|
/**Send SMS Notification to QC Team*****/
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['sms_qcteam'] == 1)
|
if($pd_notification_configs[0]['sms_qcteam'] == 1 && $is_app_notify_enabled)
|
||||||
{
|
{
|
||||||
$CI->db->DISTINCT();
|
$CI->db->DISTINCT();
|
||||||
$CI->db->SELECT("mobile_no");
|
$CI->db->SELECT("mobile_no");
|
||||||
@ -346,7 +360,7 @@ class PDALERTS
|
|||||||
/*********************************************/
|
/*********************************************/
|
||||||
/**Send PUSH Notification to QC Team*****/
|
/**Send PUSH Notification to QC Team*****/
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
if($pd_notification_configs[0]['app_qcteam'] == 1)
|
if($pd_notification_configs[0]['app_qcteam'] == 1 && $is_app_notify_enabled)
|
||||||
{
|
{
|
||||||
$CI->db->DISTINCT();
|
$CI->db->DISTINCT();
|
||||||
$CI->db->SELECT("web_token,mob_token");
|
$CI->db->SELECT("web_token,mob_token");
|
||||||
|
|||||||
@ -3823,7 +3823,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
$residence_text ='<span contenteditable="true">This is a </span><span class="tooltip">'. $fmValue['residence_ownership'].' <span class="tooltiptext">Family Information - Ownership of Residence </span></span><span contenteditable="true"> residence, where the applicant has been staying for </span><span class="tooltip">'. $fmValue['residence_No_of_years'].'<span class="tooltiptext">Family Information - No of Yrs in current residence </span></span><span contenteditable="true">.</span>';
|
$residence_text ='<span contenteditable="true">This is a </span><span class="tooltip">'. $fmValue['residence_ownership'].' <span class="tooltiptext">Family Information - Ownership of Residence </span></span><span contenteditable="true"> residence, where the applicant has been staying for </span><span class="tooltip">'. $fmValue['residence_No_of_years'].'<span class="tooltiptext">Family Information - No of Yrs in current residence </span></span><span contenteditable="true">.</span>';
|
||||||
$residence_text .= (!strcasecmp($fmValue['residence_ownership'],'rented')) ? '<span contenteditable="true"> The rent paid '.$rupee_symbol.' </span>'.$fmValue['rent'].'<span contenteditable="true"> per month.</span>' : '';
|
$residence_text .= (!strcasecmp($fmValue['residence_ownership'],'rented')) ? '<span contenteditable="true"> The rent paid '.$rupee_symbol.' </span>'.$fmValue['rent'].'<span contenteditable="true"> per month.</span>' : '';
|
||||||
|
|
||||||
$clix_dependency_text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) family ';
|
$clix_dependency_text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) ';
|
||||||
$clix_dependency_text .= isset($fmValue['no_dependents_clix']) && $fmValue['no_dependents_clix'] != 0 ? ' in which ' . ($fmValue['no_dependents_clix'] == 1 ? 'One' : $fmValue['no_dependents_clix']). ' of them have dependent on applicant.' : ' and no dependents on applicant.';
|
$clix_dependency_text .= isset($fmValue['no_dependents_clix']) && $fmValue['no_dependents_clix'] != 0 ? ' in which ' . ($fmValue['no_dependents_clix'] == 1 ? 'One' : $fmValue['no_dependents_clix']). ' of them have dependent on applicant.' : ' and no dependents on applicant.';
|
||||||
|
|
||||||
echo $intro_text;echo "<br><br>";echo $residence_text;echo "<br><br>";echo $clix_dependency_text;
|
echo $intro_text;echo "<br><br>";echo $residence_text;echo "<br><br>";echo $clix_dependency_text;
|
||||||
|
|||||||
@ -1169,7 +1169,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
{
|
{
|
||||||
echo '<span class="tooltip">'.$address_form['address_form_remark'].'<span class="tooltiptext">Address Form - Address Form Remarks </span></span>';}
|
echo '<span class="tooltip">'.$address_form['address_form_remark'].'<span class="tooltiptext">Address Form - Address Form Remarks </span></span>';}
|
||||||
echo "</p>";
|
echo "</p>";
|
||||||
echo "<div id='page_break'></div>";
|
// echo "<div id='page_break'></div>";
|
||||||
//die();
|
//die();
|
||||||
//
|
//
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -1169,7 +1169,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
{
|
{
|
||||||
echo '<span class="tooltip">'.$address_form['address_form_remark'].'<span class="tooltiptext">Address Form - Address Form Remarks </span></span>';}
|
echo '<span class="tooltip">'.$address_form['address_form_remark'].'<span class="tooltiptext">Address Form - Address Form Remarks </span></span>';}
|
||||||
echo "</p>";
|
echo "</p>";
|
||||||
echo "<div id='page_break'></div>";
|
// echo "<div id='page_break'></div>";
|
||||||
//die();
|
//die();
|
||||||
//
|
//
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -940,7 +940,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
{
|
{
|
||||||
echo '<span class="tooltip">'.$address_form['address_form_remark'].'<span class="tooltiptext">Address Form - Address Form Remarks </span></span>';}
|
echo '<span class="tooltip">'.$address_form['address_form_remark'].'<span class="tooltiptext">Address Form - Address Form Remarks </span></span>';}
|
||||||
echo "</p>";
|
echo "</p>";
|
||||||
echo "<div id='page_break'></div>";
|
// echo "<div id='page_break'></div>";
|
||||||
//die();
|
//die();
|
||||||
//
|
//
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user