update sale item report for promotion
This commit is contained in:
@@ -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 %>
|
||||||
|
|||||||
Reference in New Issue
Block a user