sale item report with promotion qty
This commit is contained in:
@@ -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 %>
|
||||
<!-- end all total qty -->
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
end %>
|
||||
|
||||
<% if sale.remark == "promotion"
|
||||
sub_qty += sale.total_item
|
||||
sub_qty += sale.total_item*(-1)
|
||||
end %>
|
||||
<% if count == value %>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user