display cost_object correctly

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1382 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent 19b4ff7ebe
commit b04a5dddfc
  1. 1
      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

Loading…
Cancel
Save