From 534999b461bb5723b20459010ba47b853d474df2 Mon Sep 17 00:00:00 2001 From: phyusin Date: Fri, 1 Dec 2017 14:14:59 +0630 Subject: [PATCH] check foc when click Discount --- app/views/origami/discounts/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/origami/discounts/index.html.erb b/app/views/origami/discounts/index.html.erb index 3035d1c1..72f4fd3c 100755 --- a/app/views/origami/discounts/index.html.erb +++ b/app/views/origami/discounts/index.html.erb @@ -38,7 +38,7 @@ <% @sale_data.sale_items.each do |sale_item| %> <% sub_total += sale_item.qty*sale_item.unit_price - if sale_item.price != 0 && sale_item.remark != "void" + if sale_item.price != 0 && sale_item.remark != "void" && sale_item.remark != "foc" %> >