SALES PD PDF NAME CHANGES
This commit is contained in:
parent
5991b6bff2
commit
02312c2139
@ -603,20 +603,11 @@ class Sales_PD_Controller extends REST_Controller {
|
|||||||
$applicant_id = $g_value['answer_value'] ? $g_value['answer_value'] : 'Not Provided';
|
$applicant_id = $g_value['answer_value'] ? $g_value['answer_value'] : 'Not Provided';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($sales_pd_master_data[0]['abbr'] == 'WCTL')
|
|
||||||
if($g_value['question_key'] == 'company_name')
|
|
||||||
{
|
|
||||||
$applicant_name = $g_value['answer_value'];
|
|
||||||
}
|
|
||||||
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if($g_value['question_key'] == 'main_loan_applicant')
|
if($g_value['question_key'] == 'main_loan_applicant')
|
||||||
{
|
{
|
||||||
$applicant_name = $g_value['answer_value'];
|
$applicant_name = $g_value['answer_value'];
|
||||||
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -509,7 +509,7 @@ class PDALERTS
|
|||||||
$mail->Username = "noreply@ssa.sineedge.com"; // "The account"
|
$mail->Username = "noreply@ssa.sineedge.com"; // "The account"
|
||||||
$mail->Password = "noreply@ssa"; // "The password"
|
$mail->Password = "noreply@ssa"; // "The password"
|
||||||
$mail->Port = 465; // "The port"
|
$mail->Port = 465; // "The port"
|
||||||
$mail->addAddress('vishant@sinemanegement.com');
|
$mail->addAddress('vishant@sinemanagement.com');
|
||||||
$mail->addBCC("vitvelz@gmail.com", "Some BCC Name"); // Name is optional
|
$mail->addBCC("vitvelz@gmail.com", "Some BCC Name"); // Name is optional
|
||||||
$mail->From = 'noreply@pdgenie.com';
|
$mail->From = 'noreply@pdgenie.com';
|
||||||
$fromName = 'PD Genie'; if(ENVIRONMENT == 'testing' || ENVIRONMENT == 'development') { $fromName .= ' ( TEST ENV ) '; }
|
$fromName = 'PD Genie'; if(ENVIRONMENT == 'testing' || ENVIRONMENT == 'development') { $fromName .= ' ( TEST ENV ) '; }
|
||||||
@ -524,11 +524,11 @@ class PDALERTS
|
|||||||
//$logger = MYLOG::logFunction(null,$core_details[0]['pd_id']);
|
//$logger = MYLOG::logFunction(null,$core_details[0]['pd_id']);
|
||||||
if(!$mail->send()) {
|
if(!$mail->send()) {
|
||||||
//$logger->error("Mailer Error:" ,array($mail->ErrorInfo));
|
//$logger->error("Mailer Error:" ,array($mail->ErrorInfo));
|
||||||
log_message('ERROR','SALESPD MAIL SEND'.$mail_contents[1]);
|
log_message('ERROR','SALESPD MAIL NOT SEND'.$mail_contents[1]);
|
||||||
} else {
|
} else {
|
||||||
//$logger->info("Mailer Send:" ,array('mail_ID' => $lender_email,'Status' => 'SEND'));
|
//$logger->info("Mailer Send:" ,array('mail_ID' => $lender_email,'Status' => 'SEND'));
|
||||||
//echo 'DONE';
|
//echo 'DONE';
|
||||||
log_message('ERROR','SALESPD MAIL NOT SEND'.$mail_contents[1]);
|
log_message('ERROR','SALESPD MAIL SEND'.$mail_contents[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -806,7 +806,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
<!-- ########################### Score Card Section ############################################### -->
|
<!-- ########################### Score Card Section ############################################### -->
|
||||||
<?php
|
<?php
|
||||||
//print_r($pd_score);
|
//print_r($pd_score);
|
||||||
die();
|
//die();
|
||||||
$address_type_remarks_caption = array('well_suited' => 'well suited','fairly_suited' => 'fairly suited','not_suited' => 'not suited');
|
$address_type_remarks_caption = array('well_suited' => 'well suited','fairly_suited' => 'fairly suited','not_suited' => 'not suited');
|
||||||
//die();
|
//die();
|
||||||
if( isset($pd_score) && count($pd_score))
|
if( isset($pd_score) && count($pd_score))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user