From 870006e50f244d5910c2481a2553e58a589ffd47 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 28 Feb 2012 08:47:43 -0500 Subject: [PATCH] Bug 7597 - Part 1 - fines not recording the right info in the stats table Koha was writing off the value of accountlines.amount rather than the value of accountlines.ammountoutstanding. Signed-off-by: Nicole C. Engard Tested all three patches together and was able to write off single and multiple fines and the data was correct in the stats table. --- members/pay.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/pay.pl b/members/pay.pl index e3377bfbff..9533922b73 100755 --- a/members/pay.pl +++ b/members/pay.pl @@ -89,7 +89,7 @@ if ($writeoff_all) { my $accountno = $input->param('accountno'); my $itemno = $input->param('itemnumber'); my $account_type = $input->param('accounttype'); - my $amount = $input->param('amount'); + my $amount = $input->param('amountoutstanding'); writeoff( $accountno, $itemno, $account_type, $amount ); } -- 2.39.5