GET FULL TAT INFO

This commit is contained in:
velz 2019-01-05 15:51:37 +05:30
parent ec7100fc52
commit 55b3a375b4

View File

@ -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);
}