* code for task #2992.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user