diff --git a/app/views/reports/saleitem/index.html.erb b/app/views/reports/saleitem/index.html.erb index 744c792b..5c5189c1 100644 --- a/app/views/reports/saleitem/index.html.erb +++ b/app/views/reports/saleitem/index.html.erb @@ -89,7 +89,7 @@ total_qty += sale.total_item*(-1) end %> <% if sale.remark =="promotion" - total_qty += sale.total_item + total_qty += sale.total_item*(-1) end %> @@ -151,7 +151,7 @@ end %> <% if sale.remark == "promotion" - sub_qty += sale.total_item + sub_qty += sale.total_item*(-1) end %> <% if count == value %>