From 01bdf3e3625ea6e686592812c4d4a8f7741e2fda Mon Sep 17 00:00:00 2001 From: velz Date: Thu, 24 Jan 2019 17:32:53 +0530 Subject: [PATCH] ASSETS WITH LOAN --- api/application/controllers/PD_Controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index 6f487d71..e130d6fb 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -4294,6 +4294,7 @@ class PD_Controller extends REST_Controller { $fields = array('json','company_id'); $where_condition_array = array('isactive' => 1,'fk_form_id' =>22,'fk_pd_id' => $pdid); $assest_data = $this->PD_Model->selectCustomRecords($fields,$where_condition_array,PDFORMDETAILSJSON); + $final_data = array(); //print_r($assest_data); if(count($assest_data)) { @@ -4341,7 +4342,7 @@ class PD_Controller extends REST_Controller { } } - $final_data[] = array('business_assets_mode'=>$business_asset['business_assets_mode'],'business_assets_mode_name'=>$business_assets_mode_name,'business_details'=>$business_asset['business_details']); + $final_data[] = array('business_assets_mode'=>$business_asset['business_assets_mode'],'business_assets_mode_name'=>$business_assets_mode_name,'business_details'=>$business_asset['business_details'],'business_name_of_the_owner'=>$business_asset['business_name_of_the_owner']); } }