diff --git a/api/application/controllers/Entity_Management_Controller.php b/api/application/controllers/Entity_Management_Controller.php index b3b4c858..7dc01349 100644 --- a/api/application/controllers/Entity_Management_Controller.php +++ b/api/application/controllers/Entity_Management_Controller.php @@ -643,7 +643,7 @@ class Entity_Management_Controller extends REST_Controller { $temp['entity_tat_child_id'] = $child['entity_tat_child_id']; $temp['city'] = array('id' => $child['fk_city_id'],'name' => $child['city_name']); $temp['prodcut'] = array('id' => $child['fk_product_id'],'name' => $child['prodcut_name']); - $temp['pdtye'] = array('id' => $child['fk_pd_type_id'],'name' => $child['pd_type_name']); + $temp['pd_type'] = array('id' => $child['fk_pd_type_id'],'name' => $child['pd_type_name']); $final_child[] = $temp; } $tat_master_records[$tat_key]['child'] = $final_child; @@ -652,7 +652,7 @@ class Entity_Management_Controller extends REST_Controller { $data['dataStatus'] = true; $data['status'] = REST_Controller::HTTP_OK; - $data['records'] = $tat_master_records; + $data['records'] = $tat_master_reco5444rds; $this->response($data,REST_Controller::HTTP_OK); }