Bug 24021 - Koha allows creation of fines less than 1 cent, but not payment of those fines
Summary: Koha allows creation of fines less than 1 cent, but not payment of those fines
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-12 15:33 UTC by Andrew Fuerste-Henry
Modified: 2022-02-14 20:55 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2019-11-12 15:33:46 UTC
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