https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26076
Bug ID: 26076
Summary: Paying selected accountlines in full may result in the
error "You must pay a value less than or equal to $x"
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Circulation
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
This appears to be a bug due to inaccuracies in floating point math. I've been
unable to reproduce it on demand. Sometimes when using the "Write off selected"
button, Koha will give the error that the payment is more than the amount owed,
even though they are the same. The solution I've implemented is to move the
summation from Perl code to the database query. This video demonstrates the
issue and afterward, shows the error goes away after the patch is applied:
https://monosnap.com/file/pG69HC7iI9mU9kkuoCtbkVzVTffKlE
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/