Bugzilla – Attachment 113997 Details for
Bug 27079
UpdateFine adds refunds for fines paid off before return
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27079: (QA follow-up) Round both sides for clarity
Bug-27079-QA-follow-up-Round-both-sides-for-clarit.patch (text/plain), 815 bytes, created by
Martin Renvoize (ashimema)
on 2020-11-25 17:17:55 UTC
(
hide
)
Description:
Bug 27079: (QA follow-up) Round both sides for clarity
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-11-25 17:17:55 UTC
Size:
815 bytes
patch
obsolete
>From a1c9723f4bf07e9dc6124e7c2f98ee27d375fa2f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 25 Nov 2020 17:17:17 +0000 >Subject: [PATCH] Bug 27079: (QA follow-up) Round both sides for clarity > >--- > C4/Overdues.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Overdues.pm b/C4/Overdues.pm >index 607af71f5c..d484c67b0f 100644 >--- a/C4/Overdues.pm >+++ b/C4/Overdues.pm >@@ -574,7 +574,7 @@ sub UpdateFine { > } > > if ( $accountline ) { >- if ( $accountline->amount != Koha::Number::Price->new($amount)->round ) { >+ if ( Koha::Number::Price->new($accountline->amount)->round != Koha::Number::Price->new($amount)->round ) { > $accountline->adjust( > { > amount => $amount, >-- >2.20.1
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 27079
:
113981
|
113983
|
113984
|
113997
|
113999
|
114000
|
114001
|
114018
|
114019
|
114020
|
114029