git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1534 7926756e-e54e-46e6-9721-ed318f58905epull/6827/head
parent
bb8b2787fc
commit
3666ab992b
@ -1,8 +1,7 @@ |
||||
class CostQuery::Filter::CostTypeId < CostQuery::Filter::Base |
||||
label :field_cost_type |
||||
dont_display! |
||||
|
||||
def self.available_values |
||||
CostType.all.map { |t| [t.name, t.id] } |
||||
[[l(:caption_labor), -1]] + CostType.all.map { |t| [t.name, t.id] } |
||||
end |
||||
end |
||||
|
Loading…
Reference in new issue