[Koha-bugs] [Bug 11373] Add a "cash register" feature to the fine payment form.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 21 17:22:28 CET 2017


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

--- Comment #19 from Mehdi Hamidi <mehdi.hamidi at inlibro.com> ---
I rebased the patches and now they apply properly.
I removed the changes in the file C4/Accounts.pm since the sub
makepartialpayment was moved and renamed to sub pay in Koha/Accounts.pm, the
patch works fine with the new changes.

I obsoleted the second patch which contained the tests for C4/Accounts.pm,
because the module has it's own test files.

I added a test plan everyone can test it.

Test Plan
1) Apply patch
2) Select a patron with a fine.
3) Go to the selected details patron.
4) Go to the fines tab.
5) Click the button pay amount or pay selected.
6) Choose the amount paid equal to the outstanding amount(exemple : 3$).
7) Choose the amount collected to be more than the outstanding amount(exemple
:5$)
8) Click the button confirm.
- You should be prompted with a message saying : "Change to give back: 2.00"
9) Click on the button above Confirm payment.

The selected patron should not have an outstanding fines left.

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


More information about the Koha-bugs mailing list