[Koha-bugs] [Bug 25127] New: Fines with an amountoutstanding of 0 can be created due to maxFine but cannot be forgiven

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 13 14:46:44 CEST 2020


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

            Bug ID: 25127
           Summary: Fines with an amountoutstanding of 0 can be created
                    due to maxFine but cannot be forgiven
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Fines and fees
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

To recreate:
1 - Set maxFine to 7.50
2 - Manually create some overdues for a patron in the amounts of:
    6.99, .1, .1, .1, .1, .1, .01
    (create a manual debits then 'UPDATE accountlines SET debit_type_code =
"OVERDUE";'
3 - Set fines for an item type to .1
4 - Checkout an item of that type to patron and backdate so it is overdue
5 - Run fines.pl
6 - Check the DB, they have a new fine of "0"
7 - Checkin the item, checking 'forgive fines' option
8 - ISE "Debit amount passed is not positive"

-- 
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