GET FULL TAT INFO
This commit is contained in:
parent
ec7100fc52
commit
55b3a375b4
@ -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);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user