[Bug 3341] New: fines calculation erroneous when a repeatable holiday is added.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3341 Summary: fines calculation erroneous when a repeatable holiday is added. Product: Koha Version: HEAD Platform: PC OS/Version: All Status: NEW Severity: major Priority: P5 Component: Circulation AssignedTo: galen.charlton@liblime.com ReportedBy: rch@liblime.com Estimated Hours: 0.0 Change sponsored?: --- Adding a repeatable holiday creates holidays retroactively for Koha's calendar module. fines.pl balks when it sees an overdue fine calculation where amount != amountoutstanding (it assumes a payment was made, so tries to adjust the amountoutstanding appropriately). This fails if the calendar module reports a smaller number of fine-inducing days on one run of fines.pl than it did on the previous. Symptoms: Overdue charges appear on patron accounts with Amount Outstanding > Amount. Steps to reproduce: * run fines.pl with some overdue items. * set calendaring sysprefs to ensure fines calculations take the calendar into account * add a repeatable holiday that will fall within the overdue period of your overdue items * run fines.pl again * the new Amount is the correct fine. Amount Outstanding is now incorrect, as it includes the fines on the days that are now holidays. amountoutstanding > amount is nonsensical from Koha's standpoint, and should not occur. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3341 Ryan Higgins <rch@liblime.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cookie.wolfrom@liblime.com -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3341 Beverly Church <beverly.church@liblime.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |beverly.church@liblime.com -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3341 Beverly Church <beverly.church@liblime.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicole.engard@liblime.com -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3341 Mickey Coalwell <mcoalwell@nekls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mcoalwell@nekls.org -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3341 Mickey Coalwell <mcoalwell@nekls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smoreland@nekls.org -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3341 --- Comment #1 from Mickey Coalwell <mcoalwell@nekls.org> 2009-07-08 14:44:32 --- Note that this erroneous fine calculation disregards the maxfine syspref and cheerfully adds fine amounts exceeding the maximum allowable. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@liblime.com