Bugzilla – Attachment 79095 Details for
Bug 20656
Print summary for patron shows paid fines and formats payments badly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20656: Don't print lines that have no balance on print summary
Bug-20656-Dont-print-lines-that-have-no-balance-on.patch (text/plain), 1.09 KB, created by
Nick Clemens (kidclamp)
on 2018-09-19 12:05:57 UTC
(
hide
)
Description:
Bug 20656: Don't print lines that have no balance on print summary
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-09-19 12:05:57 UTC
Size:
1.09 KB
patch
obsolete
>From a3fb888b38877251e31d75beb8a45d872052db67 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 24 Apr 2018 20:57:17 +0000 >Subject: [PATCH] Bug 20656: Don't print lines that have no balance on print > summary > >To test: >1 - Add at least two fines to a patron >2 - Pay off one of them >3 - Print summary - all 3 lines show >4 - Apply patch >5 - Print summary - only line with balance shows > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > members/summary-print.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/summary-print.pl b/members/summary-print.pl >index 342685b..352b497 100755 >--- a/members/summary-print.pl >+++ b/members/summary-print.pl >@@ -49,7 +49,7 @@ output_and_exit_if_error( $input, $cookie, $template, { module => 'members', log > > my $total = $patron->account->balance; > my $accts = Koha::Account::Lines->search( >- { borrowernumber => $patron->borrowernumber }, >+ { borrowernumber => $patron->borrowernumber, amountoutstanding => { '!=' => 0 } }, > { order_by => { -desc => 'accountlines_id' } } > ); > >-- >2.1.4
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 20656
:
74829
|
74830
|
76775
|
76776
|
79002
|
79003
|
79024
|
79095
|
79096
|
79097
|
79138
|
79139
|
79140
|
79176