git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1734 7926756e-e54e-46e6-9721-ed318f58905epull/6827/head
parent
d38571d112
commit
9b967295cb
@ -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…
Reference in new issue