Displaying only quantities for current project
This commit is contained in:
@@ -7,7 +7,7 @@ module QuantitiesHelper
|
||||
end
|
||||
|
||||
def parent_options
|
||||
options = nested_set_options(Quantity, @quantity) do |i|
|
||||
options = nested_set_options(@quantities, @quantity) do |i|
|
||||
raw("#{' ' * i.level}#{i.name}")
|
||||
end
|
||||
options.unshift([t('.null_parent'), nil])
|
||||
|
||||
Reference in New Issue
Block a user