Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into adminbsb_ui_changes

This commit is contained in:
phyusin
2018-06-25 11:25:47 +06:30

View File

@@ -88,7 +88,7 @@
<% if sale.status_type == "Discount" <% if sale.status_type == "Discount"
total_qty += sale.total_item*(-1) total_qty += sale.total_item*(-1)
end %> end %>
<% if sale.remark =="promotion" <% if sale.status_type =="promotion" && @type == "promotion"
total_qty += sale.total_item*(-1) total_qty += sale.total_item*(-1)
end %> end %>
<!-- end all total qty --> <!-- end all total qty -->
@@ -150,7 +150,7 @@
sub_qty += sale.total_item*(-1) sub_qty += sale.total_item*(-1)
end %> end %>
<% if sale.remark == "promotion" <% if sale.status_type == "promotion" && @type == "promotion"
sub_qty += sale.total_item*(-1) sub_qty += sale.total_item*(-1)
end %> end %>
<% if count == value %> <% if count == value %>