From a34b583169571761f23296ca45ab7ceb239e2ce4 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. --- 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.5