Add ordergroup_name to GroupOrder
This commit is contained in:
parent
9c4d9d5c20
commit
b8010fedca
7 changed files with 9 additions and 9 deletions
|
|
@ -111,7 +111,7 @@ module OrdersHelper
|
|||
if group_orders.count == 0
|
||||
return txt
|
||||
else
|
||||
desc = group_orders.includes(:ordergroup).map {|g| g.ordergroup.name}.join(', ')
|
||||
desc = group_orders.includes(:ordergroup).map {|g| g.ordergroup_name}.join(', ')
|
||||
content_tag(:abbr, txt, title: desc).html_safe
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue