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 <nengard@bywatersolutions.com>

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 <jcamins@cpbibliography.com>
This commit is contained in:
Kyle M Hall 2012-02-28 08:47:43 -05:00 committed by Jared Camins-Esakov
parent 6df5d9e5cf
commit 5c9cd701df
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}