[Koha-bugs] [Bug 11373] Add "change calculation" feature to the fine payment forms

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 11 18:05:20 CET 2019


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #80 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 83812
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83812&action=edit
Bug 11373: Show the difference between the amount collected and the amount paid
of a fine payment.

This patch adds a feature in the fine payment section. It allows to see the
change due to patrons when the amount collected is higher than the amount paid.

Test plan :
- Apply patch.
- Select a patron with a fine.
- Go to Fines > Pay fines.
- Click the button pay.
- Choose the amount paid equal to the outstanding amount (exemple : 3$).
- Choose the amount collected to be more than the outstanding amount (exemple :
5$).
- Confirm that the change is correct (example : 5$ - 3$ = 2$).
- Click the button confirm.
- Click on Yes in the dialog box.
- Confirm that the payment has been made (example : last amount = 3$).

Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list