Title Chanes 2 : ps

This commit is contained in:
sanjeev.p 2021-09-21 11:09:29 +05:30
parent f7b0f0ae53
commit 72c41ed87d
6 changed files with 16 additions and 15 deletions

View File

@ -171,7 +171,7 @@ class Sales_PD_Controller extends REST_Controller {
$where_condition_array = array('SALES_PD_DATA.sales_pd_id' => $sales_pd_id); $where_condition_array = array('SALES_PD_DATA.sales_pd_id' => $sales_pd_id);
$sales_pd_data = $this->Sales_PD_Model->getJoinRecords($columns,$table,$joins,$where_condition_array); $sales_pd_data = $this->Sales_PD_Model->getJoinRecords($columns,$table,$joins,$where_condition_array);
$pd_type = ""; $pd_type = "";
if($sales_pd_data[0]['sales_pd_type'] == 1){$pd_type = "Physical PD "; }else if($sales_pd_data[0]['sales_pd_type'] == 2){$pd_type = "Telephonic PD ";} if($sales_pd_data[0]['sales_pd_type'] == 1){$pd_type = "Physical PD-"; }else if($sales_pd_data[0]['sales_pd_type'] == 2){$pd_type = "Tele PD-";}
// print_r($sales_pd_data);die(); // print_r($sales_pd_data);die();
if($sales_pd_data) if($sales_pd_data)

View File

@ -540,7 +540,8 @@ 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_id = 'ssa@venbainfotech.com'; //$mail_id = 'ssa@venbainfotech.com';
$mail_id = 'sanjeev.p@venbainfotech.com';
if(ENVIRONMENT == 'production') if(ENVIRONMENT == 'production')
{ {
$mail_id = 'cpa@smcfinance.com'; $mail_id = 'cpa@smcfinance.com';
@ -611,7 +612,7 @@ class PDALERTS
if(count($sales_pd_data)) if(count($sales_pd_data))
{ {
$pd_type = ""; $pd_type = "";
if($sales_pd_data[0]['sales_pd_type'] == 1){$pd_type = "Physical PD "; }else if($sales_pd_data[0]['sales_pd_type'] == 2){$pd_type = "Telephonic PD ";} if($sales_pd_data[0]['sales_pd_type'] == 1){$pd_type = "Physical PD-"; }else if($sales_pd_data[0]['sales_pd_type'] == 2){$pd_type = "Telep PD-";}
$mail_subject = "Sales PD Report for "; $mail_subject = "Sales PD Report for ";
$pdf_name = strtolower(trim($sales_pd_data[0]['applicant_name'])); $pdf_name = strtolower(trim($sales_pd_data[0]['applicant_name']));
$pdf_name .= '-'.$pd_type.$sales_pd_data[0]['abbr']; $pdf_name .= '-'.$pd_type.$sales_pd_data[0]['abbr'];

View File

@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$dash = '<span style="color:black;"> </span>'; $dash = '<span style="color:black;"> </span>';
$product_name = $master[0]['abbr']; $product_name = $master[0]['abbr'];
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"; $rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
$pd_type = ""; $title = "";
if($master[0]['sales_pd_type'] == 1){$pd_type = "Physical PD "; }else if($master[0]['sales_pd_type'] == 2){$pd_type = "Telephonic PD ";} if($master[0]['sales_pd_type'] == 1){$title = "Physical "; }else if($master[0]['sales_pd_type'] == 2){$title = "Tele ";}
//print_r($master[0]['abbr']);die(); //print_r($master[0]['abbr']);die();
?><!DOCTYPE html> ?><!DOCTYPE html>
<html lang="en"> <html lang="en">
@ -148,7 +148,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<tbody> <tbody>
<tr> <tr>
<th class="thlargefont" colspan="10" ><?php echo $pd_type ?>Personal Discussion by Sales Team - <?php echo $product_name; ?> </th> <th class="thlargefont" colspan="10" ><?php echo $title ?>Personal Discussion by Sales Team - <?php echo $product_name; ?> </th>
</tr> </tr>
<!-- <tr> <!-- <tr>
<td colspan="3"> Application ID</td> <td colspan="3"> Application ID</td>

View File

@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$dash = '<span style="color:black;"> </span>'; $dash = '<span style="color:black;"> </span>';
$product_name = $master[0]['abbr']; $product_name = $master[0]['abbr'];
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"; $rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
$pd_type = ""; $title = "";
if($master[0]['sales_pd_type'] == 1){$pd_type = "Physical PD "; }else if($master[0]['sales_pd_type'] == 2){$pd_type = "Telephonic PD ";} if($master[0]['sales_pd_type'] == 1){$title = "Physical "; }else if($master[0]['sales_pd_type'] == 2){$title = "Tele ";}
//print_r($master[0]['abbr']);die(); //print_r($master[0]['abbr']);die();
?><!DOCTYPE html> ?><!DOCTYPE html>
<html lang="en"> <html lang="en">
@ -148,7 +148,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<tbody> <tbody>
<tr> <tr>
<th class="thlargefont" colspan="10" ><?php echo $pd_type ?>Personal Discussion by Sales Team - <?php echo $product_name; ?> </th> <th class="thlargefont" colspan="10" ><?php echo $title ?>Personal Discussion by Sales Team - <?php echo $product_name; ?> </th>
</tr> </tr>
<!-- <tr> <!-- <tr>

View File

@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$dash = '<span style="color:black;"> </span>'; $dash = '<span style="color:black;"> </span>';
// $product_name = $master[0]['abbr']; // $product_name = $master[0]['abbr'];
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"; $rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
$pd_type = ""; // $pd_type = "";
if($master[0]['sales_pd_type'] == 1){$pd_type = "Physical PD "; }else if($master[0]['sales_pd_type'] == 2){$pd_type = "Telephonic PD ";} // if($master[0]['sales_pd_type'] == 1){$pd_type = "Physical "; }else if($master[0]['sales_pd_type'] == 2){$pd_type = "Telephonic ";}
// $company = array(); // $company = array();
// $arr = $pd_section_data[1]['borrower_details']; // $arr = $pd_section_data[1]['borrower_details'];
// if(!empty($arr)){ // if(!empty($arr)){
@ -212,7 +212,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<tbody> <tbody>
<tr> <tr>
<!-- <th class="thlargefont" colspan="10" >Personal Discussion Sheet - <?php echo $pd_master_details[0]['product_abbr']?> </th> --> <!-- <th class="thlargefont" colspan="10" >Personal Discussion Sheet - <?php echo $pd_master_details[0]['product_abbr']?> </th> -->
<th class="thlargefont" colspan="10" ><?php echo $pd_type ?>Personal Discussion Sheet - <?php echo $pd_master_details[0]['product_abbr']?> </th> <th class="thlargefont" colspan="10" >Personal Discussion Sheet - <?php echo $pd_master_details[0]['product_abbr']?> </th>
</tr> </tr>
<tr> <tr>
<td colspan="3"> Application ID</td> <td colspan="3"> Application ID</td>

View File

@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$dash = '<span style="color:black;"> </span>'; $dash = '<span style="color:black;"> </span>';
// $product_name = $master[0]['abbr']; // $product_name = $master[0]['abbr'];
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>"; $rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
$pd_type = ""; // $pd_type = "";
if($master[0]['sales_pd_type'] == 1){$pd_type = "Physical PD "; }else if($master[0]['sales_pd_type'] == 2){$pd_type = "Telephonic PD ";} // if($master[0]['sales_pd_type'] == 1){$pd_type = "Physical PD "; }else if($master[0]['sales_pd_type'] == 2){$pd_type = "Telephonic PD ";}
//print_r($master[0]['abbr']);die(); //print_r($master[0]['abbr']);die();
?><!DOCTYPE html> ?><!DOCTYPE html>
<html lang="en"> <html lang="en">
@ -201,7 +201,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<tbody> <tbody>
<tr> <tr>
<th class="thlargefont" colspan="10" ><?php echo $pd_type ?>Personal Discussion Sheet - <?php echo $pd_master_details[0]['product_abbr']?> </th> <th class="thlargefont" colspan="10" >Personal Discussion Sheet - <?php echo $pd_master_details[0]['product_abbr']?> </th>
</tr> </tr>
<tr> <tr>