Bugzilla – Attachment 15333 Details for
Bug 8079
opac not showing fines - says 'no'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8079 - opac not showing fines - says 'no'
Bug-8079---opac-not-showing-fines---says-no.patch (text/plain), 1.42 KB, created by
David Cook
on 2013-02-15 06:47:12 UTC
(
hide
)
Description:
Bug 8079 - opac not showing fines - says 'no'
Filename:
MIME Type:
Creator:
David Cook
Created:
2013-02-15 06:47:12 UTC
Size:
1.42 KB
patch
obsolete
>From 8c1d49e35be9c43bcae13a469d55d32313e1534d Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 12 Feb 2013 10:54:23 -0500 >Subject: [PATCH] Bug 8079 - opac not showing fines - says 'no' > >Make charges of type FU be counted for opac-user.pl > >Test Plan: >1) Checkout an item to a patron, back date the date due enough to create fines >2) Run fines.pl >3) Log into the patron's account via the OPAC >4) Note the fines line for that issue says 'No' >5) Apply patch >6) Reload opac-user.pl, not the fines column now says 'Yes' > >Signed-off-by: David Cook <dcook@prosentient.com.au> > >Works great, Kyle. Seeing as my test patron had $4500 in fines for that item, I was glad to see that column switch to "Yes" ;). > >I'm not sure what the difference is between FU and F is, or what L means, but the patch works, so I'm signing off. >--- > opac/opac-user.pl | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index c5a7f5a..f4273cb 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -170,6 +170,8 @@ if ($issues){ > $charges += $ac->{'amountoutstanding'} > if $ac->{'accounttype'} eq 'F'; > $charges += $ac->{'amountoutstanding'} >+ if $ac->{'accounttype'} eq 'FU'; >+ $charges += $ac->{'amountoutstanding'} > if $ac->{'accounttype'} eq 'L'; > } > } >-- >1.7.7.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 8079
:
9524
|
9525
|
15276
|
15333
|
15481