From 50e25d212a0298910a5b4322b475df550985fbea Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 26 Sep 2013 12:22:39 -0400 Subject: [PATCH] Bug 10954: ensure that payment receipt displays the payment made When printing a payment receipt, the payment did 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 Signed-off-by: Paul Poulain Signed-off-by: Galen Charlton --- members/printfeercpt.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/members/printfeercpt.pl b/members/printfeercpt.pl index efd03c1ede..6a86bc3762 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 { -- 2.39.5