update receipt no detail report
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
<% sale_payments = result.sale_payments %>
|
||||
<% if sale_payments.length > 0%>
|
||||
<% sale_payments.each do |rec| %>
|
||||
<% next if rec.payment_method == 'credit_note' && result.payments_for_credits_amount < rec.payment_amount %>
|
||||
<% if rec.payment_amount > 0 %>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
@@ -155,6 +155,7 @@
|
||||
</tr>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if result.amount_changed != 0 %>
|
||||
<tr>
|
||||
<td> </td>
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
<% sale_payments = SalePayment.get_sale_payments(result) %>
|
||||
<% sale_payments = result.sale_payments %>
|
||||
<% if sale_payments.length > 0%>
|
||||
<% sale_payments.each do |rec| %>
|
||||
<%if rec.payment_amount.to_f > 0 %>
|
||||
|
||||
Reference in New Issue
Block a user