[Koha-bugs] [Bug 17140] Incorrect rounding in total fines calculations, part 2

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 19 12:37:41 CEST 2016


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

Lari Taskula <larit at student.uef.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #54566|0                           |1
        is obsolete|                            |

--- Comment #5 from Lari Taskula <larit at student.uef.fi> ---
Created attachment 54611
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54611&action=edit
Bug 17140: Fix rounding in total fines calculations, part 2

This patch fixes still occuring rounding issue with total fines calculations.

To test:
1. Go to patron's fines tab, make sure there are no outstanding payments.
2. Via "Create manual invoice" tab, create one fine of 1.14
3. Go to Pay fines tab
4. Click "Pay amount" and confirm.
5. Observe error message "You must pay a value less than or equal to 1.14."
6. Run t/db_dependent/Members.t
7. Observe failure in a test case
8. Apply patch.
9. Repeat step 3 and 4
10. Observe that payment goes through
11. Run t/db_dependent/Members.t
12. Observe test passing

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list