From e84b69816884b271af40c360b708df3076245f2f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 11 Oct 2019 09:07:14 -0700 Subject: [PATCH] Bug 23806: FinePaymentAutoPopup does not trigger pop-up for writeoff by "Write off" button --- members/pay.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/pay.pl b/members/pay.pl index a5467b2676..4847ac1aa4 100755 --- a/members/pay.pl +++ b/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) ], -- 2.21.0 (Apple Git-122)