From 89c87dec15b2f10cbca534e93cf1d7c971ffe82b Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Mon, 12 Jun 2023 11:19:00 +0530 Subject: [PATCH] Flyhi Controller type 5 is removed : ps --- api/application/controllers/Flyhi_Controller.php | 3 ++- api/application/views/sale_pd_templates/DFSL.php | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/api/application/controllers/Flyhi_Controller.php b/api/application/controllers/Flyhi_Controller.php index ae424237..9f3ab55c 100644 --- a/api/application/controllers/Flyhi_Controller.php +++ b/api/application/controllers/Flyhi_Controller.php @@ -1380,7 +1380,8 @@ class Flyhi_Controller extends REST_Controller { $FLYHI_PD['lender_credit_person'] = $lender_credit_person ; $FLYHI_PD['pd_branch_id'] = $pd_branch_id; $FLYHI_PD['lender_id'] = $lender_id; - $FLYHI_PD['sales_pd_type'] = ($FHFSL_lender == $lender_id) ? $flyhi_pd_type : 5; + //$FLYHI_PD['sales_pd_type'] = ($FHFSL_lender == $lender_id) ? $flyhi_pd_type : 5; + $FLYHI_PD['sales_pd_type'] = $flyhi_pd_type; $FLYHI_PD['product_id'] = $product_id ? $product_id : (ENVIRONMENT == 'production' ? 27 : 26); $this->Flyhi_Model->updateRecords($FLYHI_PD,SALES_PD_DATA,array('sales_pd_id' => $sales_pd_id)); diff --git a/api/application/views/sale_pd_templates/DFSL.php b/api/application/views/sale_pd_templates/DFSL.php index b093affc..5225cdbb 100644 --- a/api/application/views/sale_pd_templates/DFSL.php +++ b/api/application/views/sale_pd_templates/DFSL.php @@ -6,9 +6,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $product_abbr = $master[0]['abbr']; $product = $master[0]['name']; $rupee_symbol = ""; - $title = ""; - if($section1['verification_type'] == "Office verification" || $section1['verification_type'] == "Workplace verification"){$title = "Workplace FI for ".$product; } - else if($section1['verification_type'] == "Residence verification"){$title = "Residence FI for ".$product;} + $title = "Demo for ".$product; $smc_emp_code = $master[0]['smc_emp_code']; $residence_ownership_arr = array("self_owned" => "Self-Owned","parental"=>"Parental","family_owned"=>"Family Owned","rented"=>"Rented"); $residence_yr_arr = array("0"=>"< 1 yr","1"=>"1-2 yrs","2"=>"2 to 5 yrs","3"=>"> 5 yrs");