From 886b8d7c6f36c9237f68c6fcbc631df73288fa60 Mon Sep 17 00:00:00 2001 From: Velz2020 Date: Thu, 25 Mar 2021 11:58:52 +0530 Subject: [PATCH] CAMUNDA CHG --- api/application/controllers/Sales_PD_Controller.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }