summaryrefslogtreecommitdiffstats
path: root/app/controllers/reports_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-23 12:22:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-23 12:22:31 +0000
commit8d54d9700746636849bd104f4d18db479492505e (patch)
treea8d9c209a929b2c6a63dbbf2cbc7f717d264ad6f /app/controllers/reports_controller.rb
parent7cf2d889d8866226378db250a2c7ec2fc77ef9fc (diff)
downloadredmine-8d54d9700746636849bd104f4d18db479492505e.tar.gz
redmine-8d54d9700746636849bd104f4d18db479492505e.zip
Simple time tracking functionality added. Time can be logged at issue or project level.
There's no aggregation reports for now, it's just possible to see all time entries for a project or an issue. A new "activities" enumeration is added. Permission for a role to log time must be set (new "Time tracking" section in role permissions screen). git-svn-id: http://redmine.rubyforge.org/svn/trunk@368 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/reports_controller.rb')
-rw-r--r--app/controllers/reports_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb
index fa00f7c30..ab648460b 100644
--- a/app/controllers/reports_controller.rb
+++ b/app/controllers/reports_controller.rb
@@ -57,6 +57,7 @@ class ReportsController < ApplicationController
issues_by_priority
issues_by_category
issues_by_author
+ @total_hours = @project.time_entries.sum(:hours)
render :template => "reports/issue_report"
end
end