Make budget groups translatable

This commit is contained in:
Julian Herrero
2019-01-21 11:35:38 +01:00
parent 90d0a6e416
commit 1c35ec99c1
16 changed files with 141 additions and 31 deletions

View File

@@ -3,7 +3,7 @@ module BudgetHeadingsHelper
def budget_heading_select_options(budget)
budget.headings.order_by_group_name.map do |heading|
[heading.name_scoped_by_group, heading.id]
end
end.uniq
end
def heading_link(assigned_heading = nil, budget = nil)