* [task#149051,doing,0.2h] add desc for template.

This commit is contained in:
tianshujie
2025-09-10 09:11:14 +08:00
parent 99557f6291
commit 95644e813e
5 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ $lang->weekly->ac = 'Actual Cost(AC)';
$lang->weekly->sv = 'Schedule Variance(SV%)';
$lang->weekly->cv = 'Cost Variance(CV%)';
$lang->weekly->totalCount = 'Total : %u tasks';
$lang->weekly->totalCount = 'Total : %u tasks';
$lang->weekly->builtinDesc = "The system's built-in {$lang->projectCommon} weekly report template automatically generates this week's report under the {$lang->projectCommon} every Monday.";
$lang->weekly->exportWeeklyReport = 'Export Weekly Report';
+2 -1
View File
@@ -39,7 +39,8 @@ $lang->weekly->ac = 'Actual Cost(AC)';
$lang->weekly->sv = 'Schedule Variance(SV%)';
$lang->weekly->cv = 'Cost Variance(CV%)';
$lang->weekly->totalCount = 'Total : %u tasks';
$lang->weekly->totalCount = 'Total : %u tasks';
$lang->weekly->builtinDesc = "The system's built-in {$lang->projectCommon} weekly report template automatically generates this week's report under the {$lang->projectCommon} every Monday.";
$lang->weekly->exportWeeklyReport = 'Export Weekly Report';
+2 -1
View File
@@ -39,7 +39,8 @@ $lang->weekly->ac = 'Actual Cost(AC)';
$lang->weekly->sv = 'Schedule Variance(SV%)';
$lang->weekly->cv = 'Cost Variance(CV%)';
$lang->weekly->totalCount = 'Total : %u tasks';
$lang->weekly->totalCount = 'Total : %u tasks';
$lang->weekly->builtinDesc = "The system's built-in {$lang->projectCommon} weekly report template automatically generates this week's report under the {$lang->projectCommon} every Monday.";
$lang->weekly->exportWeeklyReport = 'Export Weekly Report';
+2 -1
View File
@@ -39,7 +39,8 @@ $lang->weekly->ac = '实际花费的成本(AC)';
$lang->weekly->sv = '进度偏差率(SV%)';
$lang->weekly->cv = '成本偏差率(CV%)';
$lang->weekly->totalCount = '总计 : %u 个任务';
$lang->weekly->totalCount = '总计 : %u 个任务';
$lang->weekly->builtinDesc = "系统内置的{$lang->projectCommon}周报模板,每周一在{$lang->projectCommon}下自动生成本周周报。";
$lang->weekly->exportWeeklyReport = '导出周报';
+1
View File
@@ -707,6 +707,7 @@ class weeklyModel extends model
$template->acl = 'open';
$template->builtIn = 1;
$template->templateType = 'reportTemplate';
$template->templateDesc = $this->lang->weekly->builtinDesc;
$template->cycle = 'week';
$template->cycleConfig = json_encode($cycleConfig);
$template->objects = ',' . implode(',', $objects) . ',';