From e2af91b3fe86335ff9620b664de0c605a9204104 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Sat, 18 Jun 2022 15:52:25 +0530 Subject: [PATCH] applicant name in flyhi : ps --- api/application/controllers/Flyhi_Controller.php | 10 +++++----- api/application/views/sale_pd_templates/FHFSL.php | 8 ++++++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/api/application/controllers/Flyhi_Controller.php b/api/application/controllers/Flyhi_Controller.php index e32a7865..a5223cda 100644 --- a/api/application/controllers/Flyhi_Controller.php +++ b/api/application/controllers/Flyhi_Controller.php @@ -1285,6 +1285,10 @@ class Flyhi_Controller extends REST_Controller { if(isset($g_value['question_key']) && $g_value['question_key'] == 'product_name') { $product_id = $g_value['answer_value']; + } + if(isset($g_value['question_key']) && $g_value['question_key'] == 'product_name') + { + $applicant_name = $g_value['applicant_name']; } if(isset($g_value['question_key']) && $g_value['question_key'] == 'verification_type') { @@ -1304,10 +1308,6 @@ class Flyhi_Controller extends REST_Controller { $city = $j_value['answer_value']; $flyhi_pd_type = 3; } - // if($g_value['answer_value'] == 'Office verification' && $j_value['question_key'] == 'employer_business_name') - // { - // $applicant_name = $j_value['answer_value']; - // } } } } @@ -1317,7 +1317,7 @@ class Flyhi_Controller extends REST_Controller { } } - + $FLYHI_PD['applicant_name'] = $applicant_name; $FLYHI_PD['applicant_id'] = $applicant_id; $FLYHI_PD['city_id']=$city; $FLYHI_PD['loan_amount'] = $loan_amount; diff --git a/api/application/views/sale_pd_templates/FHFSL.php b/api/application/views/sale_pd_templates/FHFSL.php index c1049904..ba5de205 100644 --- a/api/application/views/sale_pd_templates/FHFSL.php +++ b/api/application/views/sale_pd_templates/FHFSL.php @@ -185,6 +185,14 @@ defined('BASEPATH') OR exit('No direct script access allowed'); Loan Amount Applied for (Rs) + + Application Name + + + + Application Mobile Number + + Verification Type