From 94ba314d58fdc1076387822456055ec522771ef0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 23 Dec 2019 15:35:25 +0100 Subject: [PATCH] Bug 24008: Remove minus sign when displaying credit value Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- members/deletemem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/deletemem.pl b/members/deletemem.pl index f0f754a53a..12eac49339 100755 --- a/members/deletemem.pl +++ b/members/deletemem.pl @@ -57,7 +57,7 @@ my $patron = Koha::Patrons->find( $member ); output_and_exit_if_error( $input, $cookie, $template, { module => 'members', logged_in_user => $logged_in_user, current_patron => $patron } ); my $debits = $patron->account->outstanding_debits->total_outstanding; -my $credits = $patron->account->outstanding_credits->total_outstanding; +my $credits = abs $patron->account->outstanding_credits->total_outstanding; my $countissues = $patron->checkouts->count; my $userenv = C4::Context->userenv; -- 2.39.5