* Fix bug.

This commit is contained in:
qiyu-xie
2021-02-22 15:23:54 +08:00
parent 7f12628903
commit 3f91263010
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1872,7 +1872,7 @@ class programModel extends model
}
if($id == 'PRJBudget')
{
$programBudget = in_array($this->app->getClientLang(), ['zh-cn','zh-tw']) && $project->budget >= 10000 ? number_format($project->budget / 10000, 1) . $this->lang->program->tenThousand : number_format($project->budget, 1);
$programBudget = in_array($this->app->getClientLang(), ['zh-cn','zh-tw']) && $project->budget >= 10000 ? number_format($project->budget / 10000, 1) . $this->lang->program->tenThousand : number_format((float)$project->budget, 1);
$budgetTitle = $project->budget != 0 ? zget($this->lang->program->currencySymbol, $project->budgetUnit) . ' ' . $programBudget : $this->lang->program->future;
$title = "title='$budgetTitle'";