Fixed wrong articles total in group_order#show.
Conflicts: app/views/group_orders/show.html.haml
This commit is contained in:
parent
d4b9370541
commit
93f4239db6
1 changed files with 1 additions and 2 deletions
|
@ -48,7 +48,6 @@
|
|||
= t '.articles.order_not_open'
|
||||
%th= t '.articles.total_price'
|
||||
%tbody
|
||||
- total = 0 #set counter for order-sum
|
||||
- for category_name, order_articles in @order.articles_grouped_by_category
|
||||
%tr.article-category
|
||||
%td
|
||||
|
@ -75,7 +74,7 @@
|
|||
%td{colspan: "6"}=h oa.article.note
|
||||
%tr{class: cycle('even', 'odd', name: 'articles')}
|
||||
%th{colspan: "5"}= t '.articles.sum'
|
||||
%th= number_to_currency(total)
|
||||
%th= number_to_currency(@group_order.price)
|
||||
%br/
|
||||
= link_to_top
|
||||
- else
|
||||
|
|
Loading…
Reference in a new issue