diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php index 0b93d7aa..1b059f6a 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -664,7 +664,7 @@ class Sales_PD_Controller extends REST_Controller { //echo 'final';die(); $id = $this->Sales_PD_Model->updateRecords($records,SALES_PD_DATA,array('sales_pd_id' => $records['sales_pd_id'])); - CAMUNDA::completeSalesPDTask($id); + CAMUNDA::completeSalesPDTask($records['sales_pd_id']); $this->prepareSalesPDReport($records['sales_pd_id'],false); sleep(10); @@ -1202,9 +1202,9 @@ public function filterSalesPDList_post() { public function camundaTest_post() { - // echo 'hi'; + echo 'hi'; - CAMUNDA::completeSalesPDTask(1); + // CAMUNDA::completeSalesPDTask(1); //CAMUNDA::startSalesPDInstance(1); } }