From b3dae8c01891a534d0c43ac0822074a56dce2615 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Thu, 30 Nov 2017 09:34:51 +0630 Subject: [PATCH] update paymentreport index --- app/views/reports/payment_method/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/reports/payment_method/index.html.erb b/app/views/reports/payment_method/index.html.erb index 25d91a7d..a4532457 100755 --- a/app/views/reports/payment_method/index.html.erb +++ b/app/views/reports/payment_method/index.html.erb @@ -92,7 +92,7 @@ <% total = 0 %> <% @pyament_method.each do |payment| %> - <% total += payment.payment_amount %> + <% total += payment.payment_amount + payment.outstanding_amount %> <% if @shift_from.nil? && @shift_to.nil? %> <%= payment.sale_date.utc.getlocal.strftime("%e %b %I:%M%p") rescue '-'%>