diff --git a/app/views/origami/discounts/index.html.erb b/app/views/origami/discounts/index.html.erb index c1250e39..ba7bf989 100644 --- a/app/views/origami/discounts/index.html.erb +++ b/app/views/origami/discounts/index.html.erb @@ -31,7 +31,7 @@ <% @sale_data.sale_items.each do |sale_item| %> <% sub_total += sale_item.qty*sale_item.unit_price - unless sale_item.price == 0 + if sale_item.price != 0 && sale_item.remark != "void" %> > diff --git a/dump.rdb b/dump.rdb index 1967e324..0e8d606f 100644 Binary files a/dump.rdb and b/dump.rdb differ