This commit is contained in:
tanghucheng
2022-05-31 16:47:13 +08:00
parent 0876b18db8
commit f3a1f7cf2a
4 changed files with 3 additions and 17 deletions

View File

@@ -252,7 +252,7 @@ class program extends control
$this->view->program = $program;
$this->view->parents = $parents;
$this->view->programList = $this->program->getList();
$this->view->budgetUnitList = $this->program->getBudgetUnitList();
$this->view->budgetUnitList = $this->loadModel('project')->getBudgetUnitList();
$this->view->parentProgram = $parentProgram;
$this->view->availableBudget = $this->program->getBudgetLeft($parentProgram) + (float)$program->budget;