SALESPD SESSION SAVE OR NOT SAVE
This commit is contained in:
parent
7e76c70809
commit
05d779b893
@ -756,7 +756,13 @@ class Sales_PD_Controller extends REST_Controller {
|
||||
$records = $this->post('records');
|
||||
$section_data = array();
|
||||
|
||||
|
||||
|
||||
if($records['section_id'] == 'all'){
|
||||
// die();
|
||||
$fields=array('id','sales_pd_id','section_id','status','createdby','createdon');
|
||||
$section_data=$this->Sales_PD_Model->selectCustomRecords($fields,array('sales_pd_id' => $records['sales_pd_id'],'isactive' => 1),SALESPD_SECTION_DATA);
|
||||
}
|
||||
else{
|
||||
$section_data = $this->Sales_PD_Model->selectCustomRecords(array('*'),array('sales_pd_id' => $records['sales_pd_id'],'isactive' => 1,'section_id' => $records['section_id']),SALESPD_SECTION_DATA);
|
||||
//print_r( json_decode($section_data[0]['section_data'],true));die();
|
||||
if($records['section_id'] == 9 && count($section_data))
|
||||
@ -826,6 +832,7 @@ class Sales_PD_Controller extends REST_Controller {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function testAPISalesPD_post()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user