Bugzilla – Attachment 91799 Details for
Bug 23316
GetFine needs updating for bug 22521
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23316: (follow-up) for bug 22521 to fix GetFine
Bug-23316-follow-up-for-bug-22521-to-fix-GetFine.patch (text/plain), 1.05 KB, created by
Nick Clemens (kidclamp)
on 2019-07-26 11:33:43 UTC
(
hide
)
Description:
Bug 23316: (follow-up) for bug 22521 to fix GetFine
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-07-26 11:33:43 UTC
Size:
1.05 KB
patch
obsolete
>From c596b32a0e42ec1c0938bf335e4d9f0cb6436c3c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 15 Jul 2019 15:06:14 +0100 >Subject: [PATCH] Bug 23316: (follow-up) for bug 22521 to fix GetFine > >We changed the way we classify fines with bug 22521 but missed one >instance. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > C4/Overdues.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Overdues.pm b/C4/Overdues.pm >index 78ec2e57fa..2a617335bc 100644 >--- a/C4/Overdues.pm >+++ b/C4/Overdues.pm >@@ -637,7 +637,7 @@ sub GetFine { > my ( $itemnum, $borrowernumber ) = @_; > my $dbh = C4::Context->dbh(); > my $query = q|SELECT sum(amountoutstanding) as fineamount FROM accountlines >- where accounttype like 'F%' >+ where accounttype like 'OVERDUE' > AND amountoutstanding > 0 AND borrowernumber=?|; > my @query_param; > push @query_param, $borrowernumber; >-- >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 23316
:
91528
|
91775
| 91799