update sale item report
This commit is contained in:
@@ -73,7 +73,9 @@
|
||||
|
||||
<% @sale_data.each do |sale| %>
|
||||
|
||||
<% total_qty += sale.total_item %>
|
||||
<% if sale.total_item > 0
|
||||
total_qty += sale.total_item
|
||||
end %>
|
||||
|
||||
<% if !acc_arr.include?(sale.account_id) %>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user