Add ordergroup_name to GroupOrder

This commit is contained in:
Patrick Gansterer 2016-02-25 02:08:04 +01:00 committed by wvengen
parent 9c4d9d5c20
commit b8010fedca
7 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@
- if not defined?(heading) or heading
%tr.list-heading
%th{colspan: 9}
%h4.name= group_order.ordergroup.name
%h4.name= group_order.ordergroup_name
- total = 0
- for goa in group_order.group_order_articles.ordered.includes(:order_article)
- total += goa.total_price