Fixed bug in with new shared multiple suppliers feature.
This commit is contained in:
parent
25fbb47320
commit
f4a0e29297
3 changed files with 10 additions and 4 deletions
6
app/helpers/suppliers_helper.rb
Normal file
6
app/helpers/suppliers_helper.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
module SuppliersHelper
|
||||
|
||||
def associated_supplier_names(shared_supplier)
|
||||
"(#{shared_supplier.suppliers.map(&:name).join(', ')})"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue