* Fix story hour detail.

This commit is contained in:
Yagami
2021-01-18 10:13:34 +08:00
parent e49e6d834f
commit 2ce5ef1d5b
6 changed files with 28 additions and 14 deletions

View File

@@ -1665,6 +1665,9 @@ class programModel extends model
$title = "title='{$PRJProgram}'";
}
if($id == 'PRJEstimate') $title = "title={$project->hours->totalEstimate}{$this->config->hourUnit}";
if($id == 'PRJConsume') $title = "title={$project->hours->totalConsumed}{$this->config->hourUnit}";
echo "<td class='c-name " . $class . "' $title>";
switch($id)
{
@@ -1699,10 +1702,10 @@ class programModel extends model
echo $project->teamCount;
break;
case 'PRJEstimate':
echo $project->hours->totalEstimate;
echo $project->hours->totalEstimate . ' ' . $this->config->hourUnit;
break;
case 'PRJConsume':
echo $project->hours->totalConsumed;
echo $project->hours->totalConsumed . ' ' . $this->config->hourUnit;
break;
case 'PRJSurplus':
echo $project->hours->totalLeft;