RequestedBy issues fixed

This commit is contained in:
gandhimathi Bharathirajan 2017-11-08 16:14:31 +05:30
parent b32c6ad39d
commit 4d1c4fb1e0

View File

@ -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');