@@ -, +, @@ - Apply the patch - Have some outstanding debits - Create a manual credit - Set AccountAutoReconcile - Create a manual credit - Sign off :-D --- members/mancredit.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/members/mancredit.pl +++ a/members/mancredit.pl @@ -81,7 +81,8 @@ if ($add){ my $amount = $input->param('amount') || 0; my $type = $input->param('type'); - $patron->account->add_credit({ + my $account = $patron->account; + $account->add_credit({ amount => $amount, description => $description, item_id => $item_id, @@ -90,6 +91,10 @@ if ($add){ user_id => $logged_in_user->id }); + if ( C4::Context->preference('AccountAutoReconcile') ) { + $account->reconcile_balance; + } + print $input->redirect("/cgi-bin/koha/members/boraccount.pl?borrowernumber=$borrowernumber"); } else { --