sale_id not tally for show details

This commit is contained in:
phyusin
2018-09-11 16:33:15 +06:30
parent 70143033e7
commit 49268a9fca
3 changed files with 11 additions and 11 deletions

View File

@@ -80,7 +80,7 @@
count += 1
sub_total = sub_total + sale_item.price
%>
<input type="hidden" id="sale_id" value="<%= @sale_array[0].sale_id %>">
<input type="hidden" id="sale_id" value="<%= @sale.sale_id %>">
<%
# Can't check for discount
# unless sale_item.price == 0