Bugzilla – Attachment 97305 Details for
Bug 24146
Paying Accruing Fines prior to return causes another accruing fine when returned
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24146: Increment existing fine
Bug-24146-Increment-existing-fine.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2020-01-13 11:58:12 UTC
(
hide
)
Description:
Bug 24146: Increment existing fine
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-01-13 11:58:12 UTC
Size:
1.14 KB
patch
obsolete
>From 1a4e536c76b7e6439b6416d5d6de3dd479426abb Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 5 Dec 2019 10:14:51 +0000 >Subject: [PATCH] Bug 24146: Increment existing fine > >We should increment an existing fine even if it has been fully paid off >whilst it is still incrementing and not create a new fine. > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/Overdues.pm | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/C4/Overdues.pm b/C4/Overdues.pm >index 09d4119985..9ab0bdc6b1 100644 >--- a/C4/Overdues.pm >+++ b/C4/Overdues.pm >@@ -526,8 +526,7 @@ sub UpdateFine { > my $overdues = Koha::Account::Lines->search( > { > borrowernumber => $borrowernumber, >- debit_type_code => 'OVERDUE', >- amountoutstanding => { '<>' => 0 } >+ debit_type_code => 'OVERDUE' > } > ); > >@@ -561,7 +560,6 @@ sub UpdateFine { > } > } > >- > if ( $accountline ) { > if ( $accountline->amount != $amount ) { > $accountline->adjust( >-- >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 24146
:
95992
|
96005
|
96006
|
96065
|
96066
|
96067
|
96068
|
96069
|
96070
|
96071
|
96072
|
97304
| 97305 |
97306
|
97307