From 72c41ed87dd2191d455b80bd9eb77dc3aa38cdff Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Tue, 21 Sep 2021 11:09:29 +0530 Subject: [PATCH] Title Chanes 2 : ps --- api/application/controllers/Sales_PD_Controller.php | 2 +- api/application/helpers/pdalerts_helper.php | 5 +++-- api/application/views/sale_pd_templates/MEQ.php | 6 +++--- api/application/views/sale_pd_templates/MWISE.php | 6 +++--- api/application/views/smc_creditpd_reports/MWISE.php | 6 +++--- api/application/views/smc_creditpd_reports/NBFC.php | 6 +++--- 6 files changed, 16 insertions(+), 15 deletions(-) diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php index 8609fcd2..c35fda73 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -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) diff --git a/api/application/helpers/pdalerts_helper.php b/api/application/helpers/pdalerts_helper.php index 4c41d7cf..9bc6f9c1 100644 --- a/api/application/helpers/pdalerts_helper.php +++ b/api/application/helpers/pdalerts_helper.php @@ -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']; diff --git a/api/application/views/sale_pd_templates/MEQ.php b/api/application/views/sale_pd_templates/MEQ.php index 25ca6d04..8c96f409 100644 --- a/api/application/views/sale_pd_templates/MEQ.php +++ b/api/application/views/sale_pd_templates/MEQ.php @@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $dash = ' '; $product_name = $master[0]['abbr']; $rupee_symbol = ""; - $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(); ?> @@ -148,7 +148,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); - Personal Discussion by Sales Team - + Personal Discussion by Sales Team - - Personal Discussion Sheet - + Personal Discussion Sheet - Application ID diff --git a/api/application/views/smc_creditpd_reports/NBFC.php b/api/application/views/smc_creditpd_reports/NBFC.php index d08c42b0..602f25db 100644 --- a/api/application/views/smc_creditpd_reports/NBFC.php +++ b/api/application/views/smc_creditpd_reports/NBFC.php @@ -6,8 +6,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $dash = ' '; // $product_name = $master[0]['abbr']; $rupee_symbol = ""; - $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(); ?> @@ -201,7 +201,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); - Personal Discussion Sheet - + Personal Discussion Sheet -