update paymentreport index
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
<tbody>
|
||||
<% total = 0 %>
|
||||
<% @pyament_method.each do |payment| %>
|
||||
<% total += payment.payment_amount %>
|
||||
<% total += payment.payment_amount + payment.outstanding_amount %>
|
||||
<tr>
|
||||
<% if @shift_from.nil? && @shift_to.nil? %>
|
||||
<td><%= payment.sale_date.utc.getlocal.strftime("%e %b %I:%M%p") rescue '-'%></td>
|
||||
|
||||
Reference in New Issue
Block a user