Requistion Form Issue Fixed
This commit is contained in:
parent
ae54f82fcf
commit
0655e453be
@ -34,14 +34,11 @@ class requisitionform extends BaseController
|
|||||||
$userID = $this->session->userdata ( 'userId' );
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
// $data['ReqList'] = $this->requistion_model->getRequistListUserID($userID);
|
// $data['ReqList'] = $this->requistion_model->getRequistListUserID($userID);
|
||||||
//$data['Status'] = $this->requistion_model->CheckDraftStatus($userID);
|
$data['Status'] = $this->requistion_model->CheckDraftStatus($userID);
|
||||||
|
|
||||||
$data['TotNoOfLine'] =$this->requistion_model->getRequistionList($userID);
|
$data['TotNoOfLine'] =$this->requistion_model->getRequistionList($userID);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$this->loadViews("requisitionlisting", $this->global, $data, NULL);
|
$this->loadViews("requisitionlisting", $this->global, $data, NULL);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -97,14 +94,11 @@ class requisitionform extends BaseController
|
|||||||
$userID = $this->session->userdata ( 'userId' );
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
|
|
||||||
$data['ReqDetails'] = $this->requistion_model->getRequistDetails($ReqNo,'Yes');
|
$data['ReqDetails'] = $this->requistion_model->getRequistDetails($ReqNo,'Yes');
|
||||||
$CostCenterCode = '';
|
|
||||||
foreach ($data['ReqDetails'] as $Req)
|
|
||||||
{
|
$data['LineItem'] = $this->requistion_model->getEditRequistItemList($ReqNo);
|
||||||
$CostCenterCode =$Req->CostCenterCode;
|
//print_r( $data['LineItem']);
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
$data['LineItem'] = $this->requistion_model->getEditRequistItemList($ReqNo,'Yes');
|
|
||||||
$data['CostCenter'] = $this->requistion_model->getCostCenterUserID($userID);
|
$data['CostCenter'] = $this->requistion_model->getCostCenterUserID($userID);
|
||||||
$data['MaterialCode'] = $this->requistion_model->EditMaterialCode($ReqNo, $ReqType);
|
$data['MaterialCode'] = $this->requistion_model->EditMaterialCode($ReqNo, $ReqType);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user