available budget of import amendment
This commit is contained in:
parent
e77d5b11c2
commit
43206c1b65
@ -110,12 +110,12 @@ class amendmentpurchaseorder extends BaseController
|
||||
{
|
||||
|
||||
|
||||
$AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType);
|
||||
|
||||
$AvlBudget = $this->purchaseorder_model->GetAvailableImportBudgetAmount($CostCode,$Year,$ReqType);
|
||||
|
||||
//print_r($AvlBudget);
|
||||
if(count($AvlBudget)>0)
|
||||
{
|
||||
$data['AvlBudAmt'] = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue'];
|
||||
$data['AvlBudAmt'] = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['TotalValue'];
|
||||
}
|
||||
// print_r($data);
|
||||
$data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetails($PONO);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user