@@ -, +, @@ writeoff by "Write off" button --- members/pay.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/members/pay.pl +++ a/members/pay.pl @@ -112,7 +112,7 @@ elsif ( $input->param('confirm_writeoff') ) { . "&error_over=1" ); } else { - Koha::Account->new( { patron_id => $borrowernumber } )->pay( + $payment_id = Koha::Account->new( { patron_id => $borrowernumber } )->pay( { amount => $amount, lines => [ scalar Koha::Account::Lines->find($accountlines_id) ], --