sort ordergroups in order screen and pdfs
This commit is contained in:
parent
8ca95f396f
commit
b11706f30a
6 changed files with 7 additions and 5 deletions
|
|
@ -14,7 +14,7 @@ class OrderByArticles < OrderPdf
|
|||
@order.order_articles.ordered.each do |order_article|
|
||||
rows = []
|
||||
dimrows = []
|
||||
for goa in order_article.group_order_articles
|
||||
for goa in order_article.group_order_articles.ordered
|
||||
rows << [goa.group_order.ordergroup.name,
|
||||
"#{goa.quantity} + #{goa.tolerance}",
|
||||
goa.result,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue