Order-refactoring part II.
This commit is contained in:
parent
f7b9582261
commit
6fd5d825f9
27 changed files with 228 additions and 231 deletions
|
|
@ -22,7 +22,7 @@ for group_order in @order.group_orders
|
|||
|
||||
total = 0
|
||||
data = []
|
||||
group_order.group_order_articles.each do |goa|
|
||||
group_order.group_order_articles.ordered.each do |goa|
|
||||
price = goa.order_article.price.fc_price
|
||||
quantity = goa.quantity
|
||||
sub_total = price * quantity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue