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******/
|
/*****Call Form Specific funcitons to convert RAW JSON Data to Processed JSON DATA******/
|
||||||
// switch($formid)
|
// switch($formid)
|
||||||
// {
|
// {
|
||||||
// case 1:
|
// // case 1:
|
||||||
// $processed_json = GETPROCESSEDJSON::convertSupplierForm($records,$formid);
|
// $processed_json = GETPROCESSEDJSON::convertSupplierForm($records,$formid);
|
||||||
// break;
|
// break;
|
||||||
|
|
||||||
@ -2221,6 +2221,10 @@ class PD_Controller extends REST_Controller {
|
|||||||
// $processed_json = $records;
|
// $processed_json = $records;
|
||||||
// break;
|
// break;
|
||||||
|
|
||||||
|
// case 22:
|
||||||
|
// $processed_json = GETPROCESSEDJSON::convertBusinessAssetsForm($records,$formid);
|
||||||
|
// break;
|
||||||
|
|
||||||
// //default:
|
// //default:
|
||||||
// //echo "Something Wrong! Form ID did not match, Contact System Administrator";
|
// //echo "Something Wrong! Form ID did not match, Contact System Administrator";
|
||||||
//}
|
//}
|
||||||
@ -4135,7 +4139,7 @@ class PD_Controller extends REST_Controller {
|
|||||||
$form_array = array(
|
$form_array = array(
|
||||||
array('form_id' => 13,'form_name' => 'About Business'),
|
array('form_id' => 13,'form_name' => 'About Business'),
|
||||||
array('form_id' => 22,'form_name' => 'Business Assets'),
|
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' => 14,'form_name' => 'Financial Information'),
|
||||||
array('form_id' => 1,'form_name' => 'Supplier Details'),
|
array('form_id' => 1,'form_name' => 'Supplier Details'),
|
||||||
array('form_id' => 2,'form_name' => 'Client 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'])
|
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