* fix project total time.

This commit is contained in:
wangyidong
2011-07-03 06:51:08 +00:00
parent b834486b7c
commit 0dba59e4db

View File

@@ -304,7 +304,7 @@ class projectModel extends model
SUM(`left`) AS totalLeft')
->from(TABLE_TASK)
->where('project')->eq((int)$projectID)
->andWhere('status')->notin('cancel,closed')
->andWhere('status')->ne('cancel')
->andWhere('deleted')->eq(0)
->fetch();
$project->totalEstimate = round($total->totalEstimate, 1);