[Koha-bugs] [Bug 5015] fines not calculating properly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 30 07:22:23 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5015

Will Stokes <Will.E.Coyote at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Will.E.Coyote at gmail.com

--- Comment #2 from Will Stokes <Will.E.Coyote at gmail.com>  ---
Investigating this and it seems more of a problem with manual credits than a
problem with the fines calculation.

The second example (balance 93) could well be correct.  Where the amount
outstanding is 0.00 indicates that that fine has been paid in full.  The last 4
lines can be paired up so you have two invoice lines and two corresponding
credit lines, each with amount outstanding now zero so the credit lines have
been used to pay the invoice lines.

On an old but still recent version of koha when you enter a manual credit the
outstanding column also displays the negative value and the total makes sense. 
Testing on latest head though and it's easy to add a manual credit which gets
entered as having no amount outstanding but without actually subtracting from
any invoices with an amount outstanding.  This leads to discrepancy in the
total and I think the first example illustrates that situation.

To my mind, when a manual credit is entered and it is to pay off outstanding
invoices or part of, there should be a selection process to select which items
are to be paid off and in which order.  The interface for this and use cases
need to be thought through.  Potentially the old implementation for manual
credits should be re-instated as current implementation appears buggy.

I will continue to investigate this issue and try and track down the exact
cause.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list