* Fix bug.
This commit is contained in:
@@ -219,7 +219,7 @@ class program extends control
|
||||
$this->view->PGMList = $this->program->getPGMList();
|
||||
$this->view->budgetUnitList = $this->program->getBudgetUnitList();
|
||||
$this->view->parentProgram = $parentProgram;
|
||||
$this->view->remainBudget = $this->program->getParentRemainBudget($parentProgram) + $program->budget;
|
||||
$this->view->remainBudget = $this->program->getParentRemainBudget($parentProgram) + (float)$program->budget;
|
||||
|
||||
$this->display();
|
||||
}
|
||||
@@ -1043,7 +1043,7 @@ class program extends control
|
||||
$this->view->URSRPairs = $this->loadModel('custom')->getURSRPairs();
|
||||
$this->view->from = $from;
|
||||
$this->view->parentProgram = $parentProgram;
|
||||
$this->view->remainBudget = $this->program->getParentRemainBudget($parentProgram) + $project->budget;
|
||||
$this->view->remainBudget = $this->program->getParentRemainBudget($parentProgram) + (float)$project->budget;
|
||||
$this->view->budgetUnitList = $this->program->getBudgetUnitList();
|
||||
|
||||
$this->display();
|
||||
|
||||
Reference in New Issue
Block a user