PD REPORT BUSINESS ASSETS FROM PROCESSED
This commit is contained in:
parent
a43c4a84de
commit
6090d7504b
@ -2159,7 +2159,7 @@ class PD_Controller extends REST_Controller {
|
||||
/*****Call Form Specific funcitons to convert RAW JSON Data to Processed JSON DATA******/
|
||||
// switch($formid)
|
||||
// {
|
||||
// case 1:
|
||||
// // case 1:
|
||||
// $processed_json = GETPROCESSEDJSON::convertSupplierForm($records,$formid);
|
||||
// break;
|
||||
|
||||
@ -2210,9 +2210,9 @@ class PD_Controller extends REST_Controller {
|
||||
// case 17:
|
||||
// $processed_json = $records;
|
||||
// break;
|
||||
//case 18:
|
||||
// case 18:
|
||||
// $processed_json = GETPROCESSEDJSON::convertGeneralDetailsForm($records,$formid);
|
||||
//break;
|
||||
// break;
|
||||
|
||||
// case 19:
|
||||
// $processed_json = GETPROCESSEDJSON::convertNeighbourDetailsForm($records,$formid);
|
||||
@ -2221,9 +2221,13 @@ class PD_Controller extends REST_Controller {
|
||||
// $processed_json = $records;
|
||||
// break;
|
||||
|
||||
// case 22:
|
||||
// $processed_json = GETPROCESSEDJSON::convertBusinessAssetsForm($records,$formid);
|
||||
// break;
|
||||
|
||||
// //default:
|
||||
// //echo "Something Wrong! Form ID did not match, Contact System Administrator";
|
||||
// }
|
||||
//}
|
||||
|
||||
//die();
|
||||
/*****End of Form Specific funcitons to convert RAW JSON Data to Processed JSON DATA*******/
|
||||
@ -4135,7 +4139,7 @@ class PD_Controller extends REST_Controller {
|
||||
$form_array = array(
|
||||
array('form_id' => 13,'form_name' => 'About Business'),
|
||||
array('form_id' => 22,'form_name' => 'Business Assets'),
|
||||
array('form_id' => 21,'form_name' => 'Business Banking Information'),
|
||||
array('form_id' => 21,'form_name' => 'Business Banking'),
|
||||
array('form_id' => 14,'form_name' => 'Financial Information'),
|
||||
array('form_id' => 1,'form_name' => 'Supplier Details'),
|
||||
array('form_id' => 2,'form_name' => 'Client Details'),
|
||||
@ -4461,12 +4465,12 @@ class PD_Controller extends REST_Controller {
|
||||
{
|
||||
if( $property_type['id'] == $asset['details'][0]['property_type'])
|
||||
{
|
||||
$business_asset['business_details'][0]['property_type_name'] = $property_type['name'];
|
||||
$asset['details'][0]['property_type_name'] = $property_type['name'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$other_assest_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']['name']);
|
||||
$other_assest_data[] = array('assets_mode'=>$asset['assets_mode'],'assets_mode_name'=>$assets_mode_name,'details'=>$asset['details'],'name_of_the_owner'=>$asset['name_of_the_owner']['name']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user