From 4d1c4fb1e0fd4a0997c6a0f22afd8f69de72eaea Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Wed, 8 Nov 2017 16:14:31 +0530 Subject: [PATCH] RequestedBy issues fixed --- application/models/purchaseorder_model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php index f676bb10..69a4f72d 100755 --- a/application/models/purchaseorder_model.php +++ b/application/models/purchaseorder_model.php @@ -311,7 +311,8 @@ function GetPOType($ReqNo) endforeach; if($ReqBy=='' || $ReqBy==null){ $this->db->distinct(); - $this->db->select('ReqNo,ReqType,Status,Requestedby,mast.CreatedDate,mast.Schedule_Type,mast.NumberOfService,mast.Service_Period,'-' as FirstName, Dept.DEPCode,Dept.DepartmentName,mast.ReqDate,mast.CostCenterCode,mast.Status'); + $this->db->select('ReqNo,ReqType,Status,Requestedby,mast.CreatedDate,mast.Schedule_Type,mast.NumberOfService,mast.Service_Period, + Dept.DEPCode,Dept.DepartmentName,mast.ReqDate,mast.CostCenterCode,mast.Status'); $this->db->from('T_Requestion_Master mast'); $this->db->join('T_DepartmentDetails Dept', 'mast.RequestedDept = Dept.DEPCode');