diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index c564e74e..3e135ed0 100755 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -37,14 +37,15 @@ class purchaseorder extends BaseController function requisition() { - - $Req_No=''; - $IsArray=''; + $data['DeptList'] = $this->purchaseorder_model->getDepartmentListForAllReq(); $data['stList'] = $this->purchaseorder_model->getStatusListforAllReq(); - - $data['ReqList'] = $this->purchaseorder_model->getRawPOMaterialList($Req_No,$IsArray); - + /* Cost code from Requisition - Client Review Fix + Start here */ + // $data['ReqList'] = $this->purchaseorder_model->getRequistionListbySearch(); + + $data['ReqList'] = $this->purchaseorder_model->getAllRequistionListToCreatePO(); + /* End Here */ $this->global['pageTitle'] = 'Siddharth : Create PO from Requisition List'; $this->loadViews("createPOfromRequistion", $this->global, $data,Null);