Unwanted print_r : ps
This commit is contained in:
parent
a6fef218da
commit
2bf0272bff
@ -5008,7 +5008,7 @@ public function getPDFormDetailsJSON_post()
|
|||||||
$data['lender_disclaimer'] = $this->PD_Model->selectRecords(ENTITYDISCLAIMER,array('fk_entity_id' => ($data['pd_master_details'][0]['sub_entity_id'] ? $data['pd_master_details'][0]['sub_entity_id'] : $data['pd_master_details'][0]['fk_lender_id']),'fk_pd_type' => $pd_type));
|
$data['lender_disclaimer'] = $this->PD_Model->selectRecords(ENTITYDISCLAIMER,array('fk_entity_id' => ($data['pd_master_details'][0]['sub_entity_id'] ? $data['pd_master_details'][0]['sub_entity_id'] : $data['pd_master_details'][0]['fk_lender_id']),'fk_pd_type' => $pd_type));
|
||||||
//}
|
//}
|
||||||
$entity_geo_location = $this->PD_Model->getEntityAddr($data['pd_master_details'][0]['fk_lender_id']);
|
$entity_geo_location = $this->PD_Model->getEntityAddr($data['pd_master_details'][0]['fk_lender_id']);
|
||||||
print_r($entity_geo_location);die();
|
// print_r($entity_geo_location);die();
|
||||||
if($entity_geo_location != 0){
|
if($entity_geo_location != 0){
|
||||||
$pd_location = $data['pd_master_details'][0]['start_location'];
|
$pd_location = $data['pd_master_details'][0]['start_location'];
|
||||||
$data['distances'] = satellite_image::getdistancematrix($entity_geo_location,$pd_location);
|
$data['distances'] = satellite_image::getdistancematrix($entity_geo_location,$pd_location);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user