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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
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/

Reply via email to