* [bug#60141,done,0.5h] watfall project isn't show percent field error.

This commit is contained in:
tianshujie
2025-02-28 15:57:47 +08:00
committed by 曹延义
parent aedd806554
commit f8def07072
+1
View File
@@ -1097,6 +1097,7 @@ class execution extends control
$isStage = isset($output['type']) && $output['type'] == 'stage';
if(!empty($project) && in_array($project->model, $this->config->project->waterfallList))
{
if($project->model == 'waterfall') $isStage = true;
$this->view->parentStage = isset($output['parentStage']) ? $output['parentStage'] : 0;
$this->view->parentStages = $this->loadModel('programplan')->getParentStageList($projectID, 0, 0, 'withparent|noclosed|' . ($isStage ? 'stage' : 'notstage'));
}