Bugzilla – Attachment 3076 Details for
Bug 3341
fines calculation erroneous when a repeatable holiday is added.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Comment one line in Overdues.pm that could cause "amountoutstanding > amount" (Correct patch formatting)
0001-Comment-one-line-in-Overdues.pm-that-could-cause-am.patch (text/plain), 982 bytes, created by
Frédérick Capovilla
on 2011-02-07 14:38:14 UTC
(
hide
)
Description:
Comment one line in Overdues.pm that could cause "amountoutstanding > amount" (Correct patch formatting)
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2011-02-07 14:38:14 UTC
Size:
982 bytes
patch
obsolete
>From 809bfb7efed659a836dd1b3d01a8518d1e0951ef Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= <frederick.capovilla@sys-tech.net> >Date: Mon, 7 Feb 2011 09:25:54 -0500 >Subject: [PATCH] Comment one line in Overdues.pm that could cause "amountoutstanding > amount" > >--- > C4/Overdues.pm | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/C4/Overdues.pm b/C4/Overdues.pm >index 032ca93..10b63ee 100644 >--- a/C4/Overdues.pm >+++ b/C4/Overdues.pm >@@ -493,7 +493,8 @@ sub UpdateFine { > # (i.e. , of accounttype 'FU'). Doing so will break accrual. > if ( $data->{'amount'} != $amount ) { > my $diff = $amount - $data->{'amount'}; >- $diff = 0 if ( $data->{amount} > $amount); >+ #Commented for BUG 3341 >+ #$diff = 0 if ( $data->{amount} > $amount); > my $out = $data->{'amountoutstanding'} + $diff; > my $query = " > UPDATE accountlines >-- >1.5.6.5 >
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 3341
:
2708
|
3076
|
3174