Make budget headings translatable
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
module BudgetHeadingsHelper
|
||||
|
||||
def budget_heading_select_options(budget)
|
||||
budget.headings.order_by_group_name.map do |heading|
|
||||
budget.headings.order_by_name.map do |heading|
|
||||
[heading.name_scoped_by_group, heading.id]
|
||||
end.uniq
|
||||
end
|
||||
end
|
||||
|
||||
def heading_link(assigned_heading = nil, budget = nil)
|
||||
|
||||
Reference in New Issue
Block a user