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
|
|
@ -12,7 +12,7 @@ class OrderByGroups < OrderPdf
|
|||
|
||||
def body
|
||||
# Start rendering
|
||||
@order.group_orders.each do |group_order|
|
||||
@order.group_orders.ordered.each do |group_order|
|
||||
total = 0
|
||||
rows = []
|
||||
dimrows = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue