diff --git a/application/controllers/servicepurchaseorder.php b/application/controllers/servicepurchaseorder.php index 1b93d2a2..97fe7077 100755 --- a/application/controllers/servicepurchaseorder.php +++ b/application/controllers/servicepurchaseorder.php @@ -350,7 +350,8 @@ $result = $this->purchaseorder_model->GetPODetailforBillingServicePO($PO); { $PONO =$this->input->post('txtPONO'); $newsup=$this->input->post('newsup'); - $newSupId = split("[ - ]+", $newsup); + // $newSupId = split("[ - ]+", $newsup); + $newSupId = preg_split('[-]',$newsup); $POdt =$this->input->post('PODate'); $PODate = $this->getDateformat($POdt); diff --git a/application/views/alterpurchaseorder.php b/application/views/alterpurchaseorder.php index 979d291f..c6760c96 100755 --- a/application/views/alterpurchaseorder.php +++ b/application/views/alterpurchaseorder.php @@ -3198,7 +3198,7 @@ function populateValueMainFormForDeleteItem(rowid) -
+