Bugzilla – Attachment 91775 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), 1022 bytes, created by
Chris Cormack
on 2019-07-25 21:44:34 UTC
(
hide
)
Description:
Bug 23316: Follow-up for bug 22521 to fix GetFine
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2019-07-25 21:44:34 UTC
Size:
1022 bytes
patch
obsolete
>From 71de29186e4f33de0f18f0d9d6e4408bfdd169e3 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> >--- > C4/Overdues.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Overdues.pm b/C4/Overdues.pm >index 78ec2e57faf..2a617335bca 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