Available budget amount issue sorted out
This commit is contained in:
parent
37292c3b12
commit
27d52075da
@ -94,7 +94,14 @@ class requisitionform extends BaseController
|
||||
$userID = $this->session->userdata ( 'userId' );
|
||||
|
||||
$data['ReqDetails'] = $this->requistion_model->getRequistDetails($ReqNo,'Yes');
|
||||
|
||||
$this->load->model('purchaseorder_model');
|
||||
$POType= $this->purchaseorder_model->GetPOType($ReqNo);
|
||||
$ReqPOType = '';
|
||||
if(count($POType) > 0)
|
||||
{
|
||||
$ReqPOType = $POType[0]['POType'];
|
||||
}
|
||||
$data['ReqPOType'] = $ReqPOType='' ? $ReqType:$ReqPOType;
|
||||
|
||||
$data['LineItem'] = $this->requistion_model->getEditRequistItemList($ReqNo);
|
||||
$data['CostCenter'] = $this->requistion_model->getCostCenterUserID($userID);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user