sub total fixed in origami shows

This commit is contained in:
Yan
2017-06-26 14:16:22 +06:30
parent ecc9ab53ec
commit 00c19fdd67
5 changed files with 8 additions and 7 deletions

View File

@@ -174,7 +174,7 @@
count = 0
@order_items.each do |order_item |
count += 1
sub_total = sub_total + order_item.price
sub_total = sub_total + (order_item.price * order_item.qty)
unless order_item.price == 0 %>
<tr>