From 4efa775606216055f2f5c9777fbdc815861571c0 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 26 Sep 2013 12:22:39 -0400 Subject: [PATCH] Bug 10954 - Payment receipt does not display the payment made When printing a payment receipt, the payment does not display, only the total currently owed. Test Plan: 1) Create a payment for a borrower 2) Print the payment with the "print" button to the right of the payment 3) Note the missing payment line 4) Apply this patch 5) Repeat step 2 6) Note the payment line now displays Signed-off-by: cedric.vita@dracenie.com --- members/printfeercpt.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/members/printfeercpt.pl b/members/printfeercpt.pl index efd03c1..6a86bc3 100755 --- a/members/printfeercpt.pl +++ b/members/printfeercpt.pl @@ -47,7 +47,7 @@ my ($template, $loggedinuser, $cookie) my $borrowernumber=$input->param('borrowernumber'); my $action = $input->param('action') || ''; -my $accountno = $input->param('accountno'); +my $accountlines_id = $input->param('accountlines_id'); #get borrower details my $data=GetMember('borrowernumber' => $borrowernumber); @@ -73,7 +73,7 @@ my @accountrows; # this is for the tmpl-loop my $toggle; for (my $i=0;$i<$numaccts;$i++){ - next if ($accts->[$i]{'accountno'} ne $accountno); + next if ( $accts->[$i]{'accountlines_id'} ne $accountlines_id ); if($i%2){ $toggle = 0; } else { -- 1.7.2.5