From 5c9cd701dfd8f83e0880f12389c2170bdf65b5fa 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. Signed-off-by: Jared Camins-Esakov --- members/pay.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/pay.pl b/members/pay.pl index a06f73d7ad..ba94d8cb26 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