[Koha-bugs] [Bug 29985] New: Cashup summary shows unexplainable odd amounts
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 31 22:34:11 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29985
Bug ID: 29985
Summary: Cashup summary shows unexplainable odd amounts
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: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
CC: martin.renvoize at ptfs-europe.com
I performed some transactions testing bug 27779 in a fresh ktd instance. I used
amounts like 4.50 or 10.00 or 1.55, nothing with more decimals, but I still
ended up with this:
Cash register: This is a register.
Period: to 2022-01-31 21:22:40
Type Total
Total 0.0499999999999998
Cash -0.0499999999999998
I have no idea how this can happen, since all amounts in my accountlines and
account_offsets are only in 5 cent steps.
With the patch from 27779 applies it also shows even amounts:
Cash register: This is a register.
Period: to 2022-01-31 21:22:40
Type Total
Refund against Manual fee - 6
Refund against New card fee - 6
Manual fee 4.55
USB Stick 1.5
Total 0.0499999999999998
Cash -0.0499999999999998
As this should only be additions/subtractions, I have no idea how this could
happen unless we have a bug somewhere?
Also display should be using Price (CurrencyFormat) system preference, but it
doesn't, display remains unchanged with FR option.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list