From b04a5dddfc1c085bd7f0fabb99ad4ce710bc5023 Mon Sep 17 00:00:00 2001 From: rkh Date: Wed, 14 Jul 2010 09:44:10 +0000 Subject: [PATCH] display cost_object correctly git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1382 7926756e-e54e-46e6-9721-ed318f58905e --- app/helpers/reporting_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/reporting_helper.rb b/app/helpers/reporting_helper.rb index 2e0591d263..2312bc8468 100644 --- a/app/helpers/reporting_helper.rb +++ b/app/helpers/reporting_helper.rb @@ -52,6 +52,7 @@ module ReportingHelper when :tmonth then month_name(value.to_i) when :category_id then IssueCategory.find(value.to_i).name when :cost_type_id then CostType.find(value.to_i).name + when :cost_object then CostObject.find(value.to_i).subject else "??? #{key}: #{value.inspect} ???" end end