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

            Bug ID: 16202
           Summary: Rental fees can be generated for fractions of a
                    penny/cent
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

GetIssuingCharges includes a calculation applying any discount to the item
rentalcharge the resulting charge may well include parts of a penny e.g.
1.752643
in one call of the routine the result was being rounded to two decimal places
but in other calls it was not and the resulting amount was saved to the
database. This caused odd behaviour down the line as amounts accrued causing
extra one penny fines to occur or fines not to revert to 0 after user paid the
apparent amount owing. Subroutine should do the rounding before returning the
charge

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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