[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
Thu Aug 18 14:28:08 CEST 2016


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

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

This patch fixes still occuring 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.
7. Repeat step 3 and 4
8. Observe that payment goes through
9. Run t/db_dependent/Members.t
10. Observe test passing

-- 
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