Bugzilla – Attachment 2708 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"
kx_fix_past_holiday_fines.patch (text/plain), 661 bytes, created by
Frédérick Capovilla
on 2010-10-28 17:44:42 UTC
(
hide
)
Description:
Comment one line in Overdues.pm that could cause "amountoutstanding > amount"
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2010-10-28 17:44:42 UTC
Size:
661 bytes
patch
obsolete
>diff -aurN src-master/C4/Overdues.pm src-holiday/C4/Overdues.pm >--- src-master/C4/Overdues.pm 2010-10-26 16:43:38.000000000 -0400 >+++ src-holiday/C4/Overdues.pm 2010-10-26 16:57:44.000000000 -0400 >@@ -493,7 +493,8 @@ > # (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
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