diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php index ad48acca..3a46e0eb 100755 --- a/application/models/purchaseorder_model.php +++ b/application/models/purchaseorder_model.php @@ -1729,7 +1729,7 @@ st.CGST,st.SGST,st.IGST,st.otherallowance FROM T_Service_Tax st } // get po format for acedamic year based function GetPoFormat($PONO=''){ - $poQuery ='select GetPO(PONO) from T_PurchaseOrder_Master where PONO=?'; + $poQuery ='select PONO from T_PurchaseOrder_Master where PONO=?'; $query = $this->db->query($poQuery,array($PONO)); return $query->result();