Title Chanes 2 : ps
This commit is contained in:
parent
f7b0f0ae53
commit
72c41ed87d
@ -171,7 +171,7 @@ class Sales_PD_Controller extends REST_Controller {
|
||||
$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);
|
||||
$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();
|
||||
|
||||
if($sales_pd_data)
|
||||
|
||||
@ -540,7 +540,8 @@ class PDALERTS
|
||||
$mail->Username = "noreply@ssa.sineedge.com"; // "The account"
|
||||
$mail->Password = "noreply@ssa"; // "The password"
|
||||
$mail->Port = 465; // "The port"
|
||||
$mail_id = 'ssa@venbainfotech.com';
|
||||
//$mail_id = 'ssa@venbainfotech.com';
|
||||
$mail_id = 'sanjeev.p@venbainfotech.com';
|
||||
if(ENVIRONMENT == 'production')
|
||||
{
|
||||
$mail_id = 'cpa@smcfinance.com';
|
||||
@ -611,7 +612,7 @@ class PDALERTS
|
||||
if(count($sales_pd_data))
|
||||
{
|
||||
$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 ";
|
||||
$pdf_name = strtolower(trim($sales_pd_data[0]['applicant_name']));
|
||||
$pdf_name .= '-'.$pd_type.$sales_pd_data[0]['abbr'];
|
||||
|
||||
@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$dash = '<span style="color:black;"> </span>';
|
||||
$product_name = $master[0]['abbr'];
|
||||
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
|
||||
$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 ";}
|
||||
$title = "";
|
||||
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();
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
@ -148,7 +148,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
<tbody>
|
||||
<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>
|
||||
<td colspan="3"> Application ID</td>
|
||||
|
||||
@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$dash = '<span style="color:black;"> </span>';
|
||||
$product_name = $master[0]['abbr'];
|
||||
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
|
||||
$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 ";}
|
||||
$title = "";
|
||||
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();
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
@ -148,7 +148,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
<tbody>
|
||||
<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>
|
||||
|
||||
@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$dash = '<span style="color:black;"> </span>';
|
||||
// $product_name = $master[0]['abbr'];
|
||||
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
|
||||
$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 ";}
|
||||
// $pd_type = "";
|
||||
// if($master[0]['sales_pd_type'] == 1){$pd_type = "Physical "; }else if($master[0]['sales_pd_type'] == 2){$pd_type = "Telephonic ";}
|
||||
// $company = array();
|
||||
// $arr = $pd_section_data[1]['borrower_details'];
|
||||
// if(!empty($arr)){
|
||||
@ -212,7 +212,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- <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>
|
||||
<td colspan="3"> Application ID</td>
|
||||
|
||||
@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$dash = '<span style="color:black;"> </span>';
|
||||
// $product_name = $master[0]['abbr'];
|
||||
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
|
||||
$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 ";}
|
||||
// $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 ";}
|
||||
//print_r($master[0]['abbr']);die();
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
@ -201,7 +201,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
<tbody>
|
||||
<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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user