sale item report with promotion qty

This commit is contained in:
Aung Myo
2018-06-22 15:12:35 +06:30
parent d48ac0847f
commit 703c4de50e

View File

@@ -89,7 +89,7 @@
total_qty += sale.total_item*(-1) total_qty += sale.total_item*(-1)
end %> end %>
<% if sale.remark =="promotion" <% if sale.remark =="promotion"
total_qty += sale.total_item total_qty += sale.total_item*(-1)
end %> end %>
<!-- end all total qty --> <!-- end all total qty -->
@@ -151,7 +151,7 @@
end %> end %>
<% if sale.remark == "promotion" <% if sale.remark == "promotion"
sub_qty += sale.total_item sub_qty += sale.total_item*(-1)
end %> end %>
<% if count == value %> <% if count == value %>
<tr> <tr>