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.
This commit is contained in:
parent
ceb81cfc52
commit
870006e50f
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ if ($writeoff_all) {
|
||||||
my $accountno = $input->param('accountno');
|
my $accountno = $input->param('accountno');
|
||||||
my $itemno = $input->param('itemnumber');
|
my $itemno = $input->param('itemnumber');
|
||||||
my $account_type = $input->param('accounttype');
|
my $account_type = $input->param('accounttype');
|
||||||
my $amount = $input->param('amount');
|
my $amount = $input->param('amountoutstanding');
|
||||||
writeoff( $accountno, $itemno, $account_type, $amount );
|
writeoff( $accountno, $itemno, $account_type, $amount );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue