Bug 7597 - Part 3 - fines not recording the right info in the stats table
[koha_gimpoz] / members / pay.pl
index 9343c90..3aecbe6 100755 (executable)
@@ -182,7 +182,7 @@ sub writeoff_all {
 
             #    my $borrowernum    = $input->param("borrowernumber$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");
             WriteOff( $borrowernumber, $accountno, $itemno, $accounttype, $amount, $branch );
         }