Bug 7597 - Part 3 - fines not recording the right info in the stats table
This commit fixes writeoff_all to write off only the amount outstanding for each fine being written off, rather than the original amount owed. 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
db946ffd58
commit
360e2f82e7
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ sub writeoff_all {
|
||||||
|
|
||||||
# my $borrowernum = $input->param("borrowernumber$value");
|
# my $borrowernum = $input->param("borrowernumber$value");
|
||||||
my $itemno = $input->param("itemnumber$value");
|
my $itemno = $input->param("itemnumber$value");
|
||||||
my $amount = $input->param("amount$value");
|
my $amount = $input->param("amountoutstanding$value");
|
||||||
my $accountno = $input->param("accountno$value");
|
my $accountno = $input->param("accountno$value");
|
||||||
WriteOff( $borrowernumber, $accountno, $itemno, $accounttype, $amount, $branch );
|
WriteOff( $borrowernumber, $accountno, $itemno, $accounttype, $amount, $branch );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue