From 859c58e139c0258d4ea4f6d7179e026feecb5f06 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 28 Feb 2012 08:47:43 -0500 Subject: [PATCH] [SIGNED-OFF] 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/members/pay.pl b/members/pay.pl index e3377bf..9533922 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 ); } -- 1.7.2.3