From 3770f81630562eadfc80e9f38ae46383b0acb86b Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Thu, 6 Apr 2023 17:29:21 +0530 Subject: [PATCH] Location and Lender Applicant id added : ps --- api/application/controllers/SMC_Credit_PD_Controller.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/api/application/controllers/SMC_Credit_PD_Controller.php b/api/application/controllers/SMC_Credit_PD_Controller.php index 012c3ea0..0f483bce 100644 --- a/api/application/controllers/SMC_Credit_PD_Controller.php +++ b/api/application/controllers/SMC_Credit_PD_Controller.php @@ -431,7 +431,9 @@ class SMC_Credit_PD_Controller extends REST_Controller { 'caseno'=>$mater_details[0]['pd_sno'], 'credit_pd_type'=>$mater_details[0]['fk_pd_type'], 'pd_type_name'=>$mater_details[0]['pd_type_name'], - 'completed_date'=>$mater_details[0]['completed_on']); + 'completed_date'=>$mater_details[0]['completed_on'], + 'start_location'=>$mater_details[0]['start_location'], + 'lender_applicant_id'=>$mater_details[0]['lender_applicant_id']); // foreach ($pd_section_data as $key => $value) { // if (isset($value['json']) && $value['json'] != '') { // $filter_form_id[$key] = $value['fk_form_id']; @@ -2336,7 +2338,9 @@ public function filterSalesPDList_post() { 'caseno'=>$mater_details[0]['pd_sno'], 'credit_pd_type'=>$mater_details[0]['fk_pd_type'], 'pd_type_name'=>$mater_details[0]['pd_type_name'], - 'completed_date'=>$mater_details[0]['completed_on']); + 'completed_date'=>$mater_details[0]['completed_on'], + 'start_location'=>$mater_details[0]['start_location'], + 'lender_applicant_id'=>$mater_details[0]['lender_applicant_id']); $photograph_data = $this->SMC_Credit_PD_Model->selectCustomRecords(array('*'),array('fk_smc_credit_pd_id' => $credit_pd_id,'isactive' => 1),SMC_CREDIT_PD_DOCS); log_message('ERROR', '#### Credit PD ('.$credit_pd_id.') - Total Images'.count($photograph_data));