* fix the error of the project status and progress image.

This commit is contained in:
wangchunsheng
2011-09-21 01:46:46 +00:00
parent 5fd33c7456
commit b774853202
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -282,6 +282,7 @@ class projectModel extends model
$hours = $this->dao->select('project, SUM(estimate) AS totalEstimate, SUM(consumed) AS totalConsumed, SUM(`left`) AS totalLeft')
->from(TABLE_TASK)
->where('project')->in(array_keys($projects))
->andWhere('closedReason')->ne('cancel')
->andWhere('status')->ne('cancel')
->andWhere('deleted')->eq(0)
->groupBy('project')