Avl Bud Amt issue fixed
This commit is contained in:
parent
b197a5c954
commit
c6e3f281bf
@ -142,8 +142,16 @@ class servicepurchaseorder extends BaseController
|
||||
|
||||
$FYdt = $FYStart." - ".$FYEnd ;
|
||||
$this->load->model('purchaseorder_model');
|
||||
$result = array();
|
||||
|
||||
$result = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||
if($ReqType== CAPITAL)
|
||||
{
|
||||
$result = $this->purchaseorder_model->GetAvailableCapitalBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||
}
|
||||
//print_r($result);
|
||||
$AvilBudAmt = '0';
|
||||
if(count($result)>0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user