From 80f9e9ab61dfef5b23af8480862d1730f9e36063 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 19 Oct 2022 15:34:54 +0800 Subject: [PATCH] * Fix bug #28499. --- module/execution/model.php | 4 ++-- module/project/view/execution.html.php | 4 ++-- module/task/model.php | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index ee546cacb1..b855ef84b0 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -4638,14 +4638,14 @@ class executionModel extends model } } } - echo '' . zget($users, $execution->PM) . ''; echo "" . zget($this->lang->project->statusList, $execution->status) . ''; - echo '' . html::ring($execution->hours->progress) . ''; + echo '' . zget($users, $execution->PM) . ''; echo helper::isZeroDate($execution->begin) ? '' : '' . $execution->begin . ''; echo helper::isZeroDate($execution->end) ? '' : '' . $execution->end . ''; echo "" . $execution->hours->totalEstimate . $this->lang->execution->workHourUnit . ''; echo "" . $execution->hours->totalConsumed . $this->lang->execution->workHourUnit . ''; echo "" . $execution->hours->totalLeft . $this->lang->execution->workHourUnit . ''; + echo '' . html::ring($execution->hours->progress) . ''; echo ""; echo ''; common::printIcon('execution', 'start', "executionID={$execution->id}", $execution, 'list', '', '', 'iframe', true); diff --git a/module/project/view/execution.html.php b/module/project/view/execution.html.php index 24183757e2..0c47eaabf2 100644 --- a/module/project/view/execution.html.php +++ b/module/project/view/execution.html.php @@ -79,14 +79,14 @@ - execution->owner;?> project->status;?> - project->progress;?> + execution->owner;?> programplan->begin;?> programplan->end;?> task->estimateAB;?> task->consumedAB;?> task->leftAB;?> + project->progress;?> execution->burn;?> actions;?> diff --git a/module/task/model.php b/module/task/model.php index 3998071e55..e97f896780 100755 --- a/module/task/model.php +++ b/module/task/model.php @@ -4053,14 +4053,14 @@ class taskModel extends model } } $list .= ''; - $list .= '' . zget($users, $task->assignedTo, '') . ''; $list .= "" . $this->processStatus('task', $task) . ''; - $list .= ''; + $list .= '' . zget($users, $task->assignedTo, '') . ''; $list .= helper::isZeroDate($task->estStarted) ? '' : '' . $task->estStarted . ''; $list .= helper::isZeroDate($task->deadline) ? '' : '' . $task->deadline . ''; - $list .= '' . $task->estimate . $this->lang->execution->workHourUnit . ''; - $list .= '' . $task->consumed . $this->lang->execution->workHourUnit . ''; - $list .= '' . $task->left . $this->lang->execution->workHourUnit . ''; + $list .= '' . $task->estimate . $this->lang->execution->workHourUnit . ''; + $list .= '' . $task->consumed . $this->lang->execution->workHourUnit . ''; + $list .= '' . $task->left . $this->lang->execution->workHourUnit . ''; + $list .= ''; $list .= ''; $list .= ''; $list .= $this->buildOperateMenu($task, 'browse');