Bugzilla – Attachment 97402 Details for
Bug 24008
Attempting to delete a patron with outstanding credits will warn, but not block the deletion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24008: Remove minus sign when displaying credit value
Bug-24008-Remove-minus-sign-when-displaying-credit.patch (text/plain), 1.05 KB, created by
Martin Renvoize (ashimema)
on 2020-01-15 16:37:00 UTC
(
hide
)
Description:
Bug 24008: Remove minus sign when displaying credit value
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-01-15 16:37:00 UTC
Size:
1.05 KB
patch
obsolete
>From 6c5ed40bb792fbcbc66214c9bb14a32642a95811 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <martin.renvoize@ptfs-europe.com> >--- > members/deletemem.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/deletemem.pl b/members/deletemem.pl >index 699175a40c..e8cb0d24c0 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.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24008
:
95924
|
96142
|
96604
|
97400
|
97401
|
97402
|
97603
|
97604
|
97605