Bugzilla – Attachment 96604 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), 1010 bytes, created by
Jonathan Druart
on 2019-12-23 14:36:09 UTC
(
hide
)
Description:
Bug 24008: Remove minus sign when displaying credit value
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-12-23 14:36:09 UTC
Size:
1010 bytes
patch
obsolete
>From f4288f1820c62e640e667064bd5f84c47f05fd81 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 > >--- > 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.11.0
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