This commit is contained in:
tianshujie98
2021-07-30 10:36:18 +08:00
parent e67b31f6a9
commit c9c76ded4f
2 changed files with 9 additions and 2 deletions
+8 -1
View File
@@ -1347,6 +1347,13 @@ class projectModel extends model
$title = "title='{$project->name}'";
}
if($id == 'end')
{
$project->end = $project->end == LONG_TIME ? $this->lang->project->longTime : $project->end;
$class .= ' c-name';
$title = "title='{$project->end}'";
}
if($id == 'budget')
{
$projectBudget = in_array($this->app->getClientLang(), ['zh-cn','zh-tw']) ? round((float)$project->budget / 10000, 2) . $this->lang->project->tenThousand : round((float)$project->budget, 2);
@@ -1390,7 +1397,7 @@ class projectModel extends model
echo $project->begin;
break;
case 'end':
echo $project->end == LONG_TIME ? $this->lang->project->longTime : $project->end;
echo $project->end;
break;
case 'status':
echo "<span class='status-task status-{$project->status}'> " . zget($this->lang->project->statusList, $project->status) . "</span>";