From 833a4905c5d4715774bcd39f1a4b8e410056079a Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Thu, 17 Aug 2017 11:58:47 +0530 Subject: [PATCH] ForgotPassword, Draft for other status issue fixed in PDF --- application/models/requistion_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/requistion_model.php b/application/models/requistion_model.php index 2de55a5e..8848e912 100755 --- a/application/models/requistion_model.php +++ b/application/models/requistion_model.php @@ -59,7 +59,7 @@ ifnull(Po.Quantity,0) as POQTY,sta.StatusName left join T_PurchaseOrder_Master POmast on POmast.PONO=Po.PONO and Po.MaterialCode = Req.MaterialCode join T_Status sta on sta.StatusCode = Req.Status - where Req.ReqNo = ? and POmast.Status=?'; + where Req.ReqNo = ? and POmast.Status != ?'; $query = $this->db->query($subQuery, array($ReqNo,PO_AMENDED));