copy file, as tim said

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1734 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 14 years ago
parent d38571d112
commit 9b967295cb
  1. 8
      app/models/cost_query/filter/cost_object_id.rb

@ -0,0 +1,8 @@
class CostQuery::Filter::CostTypeId < CostQuery::Filter::Base
dont_display!
label :field_cost_type
def self.available_values(user)
([[l(:caption_labor), -1]] + CostType.find(:all, :order => 'name').map { |t| [t.name, t.id] })
end
end
Loading…
Cancel
Save