diff --git a/application/controllers/servicepurchaseorder.php b/application/controllers/servicepurchaseorder.php index e57dcd56..eec060e0 100755 --- a/application/controllers/servicepurchaseorder.php +++ b/application/controllers/servicepurchaseorder.php @@ -55,7 +55,11 @@ class servicepurchaseorder extends BaseController function getPODetails() { $PONO = $this->input->post('id'); - $result = $this->purchaseorder_model->GetPODetailforBillingServicePO($PONO); + $PO=$PONO; + //echo $PO; + $PO1=explode(".", $PO); + $P=current($PO1); + $result = $this->purchaseorder_model->GetPODetailforBillingServicePO($P); $HTML=""; for ($i = 0; $i < count($result); $i++) {