[Koha-bugs] [Bug 24021] New: Koha allows creation of fines less than 1 cent, but not payment of those fines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 12 16:33:46 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24021

            Bug ID: 24021
           Summary: Koha allows creation of fines less than 1 cent, but
                    not payment of those fines
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Fines and fees
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

To test:
- create a manual invoice on a patron account in the amount of $1.005
- verify that the charge saves successfully
- verify that amount due shows as $1.01 on patron record
- use a report to see that accountlines.amount is 1.005
- try to pay off charge
- verify Koha will not allow payment of $1.01, gives error "You must pay a
value less than or equal to 1.00"
- verify that Koha will not allow you to enter a payment or writeoff amount of
$1.005

I'm not sure if the better answer here is to block creation of fees in
fractions of a cent or allow payment/writeoff of fees in fractions of a cent,
but the mismatch is an issue.

Confirmed behavior of 18.11, 19.05, and master

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list