* code for task #2992.

This commit is contained in:
wangyidong
2017-05-08 10:31:41 +08:00
parent 52011a079c
commit 8e78fa7abf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ $lang->project->goback = "返回任务列表";
$lang->project->noweekend = '去除周末';
$lang->project->withweekend = '显示周末';
$lang->project->interval = '间隔';
$lang->project->fixFirstWithLeft = '是否将该天剩余工时也设置为该值?';
$lang->project->fixFirstWithLeft = '是否将首天剩余工时也设置为该值?';
/* 统计。*/
$lang->project->charts = new stdclass();
+1 -1
View File
@@ -1563,7 +1563,7 @@ class projectModel extends model
$data = fixer::input('post')
->add('project', $projectID)
->add('date', $project->begin)
->add('left', (empty($burn) or $withLeft) ? $this->post->estimate : $burn->left)
->add('left', $withLeft ? $this->post->estimate : $burn->left)
->add('consumed', empty($burn) ? 0 : $burn->consumed)
->get();
if(!is_numeric($data->estimate)) return false;