]> git.koha-community.org Git - koha.git/commit
Bug 18790: Add ability to void payments
authorKyle M Hall <kyle@bywatersolutions.com>
Sat, 10 Jun 2017 11:34:56 +0000 (11:34 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 19 Apr 2018 15:32:21 +0000 (12:32 -0300)
commit5372faf4e5be575f91eacd91ddbfba73c5835bf5
treed349c9523c64814b8d81ab5825a1d8c7f0f3cedb
parent46cf3910a368ce5affdc9517c0a5f28d360bdbcb
Bug 18790: Add ability to void payments

We've had the ability to 'reverse' a payment for a long time, but it
would be much better if we had a true void payment function that
replaces the paid amounts into the fee so that it appears as if the
payment was never made.

Test Plan:
1) Apply this patch and dependent patches
2) Run updatedatabase.pl
3) Create some fines
4) Pay those fines
5) Use the new 'void' button to void the payments
6) Note the fines were restored to their pre-payment amounts

Signed-off-by: Koha-us conference <koha-us@koha-us.net>
Signed-off-by: BWS Sandboxes <ByWaterSandboxes@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Account/Line.pm
installer/data/mysql/account_offset_types.sql
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
members/boraccount.pl
t/db_dependent/Accounts.t