SALES PD PDF NAME CHANGES

This commit is contained in:
Velz2020 2019-12-26 15:58:10 +05:30
parent 5991b6bff2
commit 02312c2139
3 changed files with 9 additions and 18 deletions

View File

@ -603,20 +603,11 @@ class Sales_PD_Controller extends REST_Controller {
$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')
{
$applicant_name = $g_value['answer_value'];
}
}
if($g_value['question_key'] == 'main_loan_applicant')
{
$applicant_name = $g_value['answer_value'];
}
}
}

View File

@ -509,7 +509,7 @@ class PDALERTS
$mail->Username = "noreply@ssa.sineedge.com"; // "The account"
$mail->Password = "noreply@ssa"; // "The password"
$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->From = 'noreply@pdgenie.com';
$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']);
if(!$mail->send()) {
//$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 {
//$logger->info("Mailer Send:" ,array('mail_ID' => $lender_email,'Status' => 'SEND'));
//echo 'DONE';
log_message('ERROR','SALESPD MAIL NOT SEND'.$mail_contents[1]);
log_message('ERROR','SALESPD MAIL SEND'.$mail_contents[1]);
}
}
}

View File

@ -806,7 +806,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<!-- ########################### Score Card Section ############################################### -->
<?php
//print_r($pd_score);
die();
//die();
$address_type_remarks_caption = array('well_suited' => 'well suited','fairly_suited' => 'fairly suited','not_suited' => 'not suited');
//die();
if( isset($pd_score) && count($pd_score))