Bug 11210: Writeoff partial amounts
authorDavid Bourgault <david.bourgault@inlibro.com>
Mon, 25 Sep 2017 17:05:01 +0000 (13:05 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 15 Jan 2018 15:26:27 +0000 (16:26 +0100)
commit59542168dc7597e7f03c3a6f9b68ef7df8267617
treec943d4d3d8b836a7a059236c6a7701a317f0ac13
parentefbeed364d2acdda2901a1d13ad2c6731ea0d99b
Bug 11210: Writeoff partial amounts

Minor changes to pay.pl and paycollect.tt to allow writing off a partial amount of a fine.

Test plan:
0) Go to the Fines tab of a test patron's profile
1) Create a fine if there are none (under the Manual invoice tab)
2) Go to the "Pay fines" tab
3) Press the write off button on the corresponding account line

Without patch, you'll be asked to confirm, but will not be able to edit the amount
With patch, you'll be able to edit the amount.

Followed test plan, patch worked as described. Also ran QA test tool and
modified files passed

Signed-off-by: Simon Pouchol <simon.pouchol@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Conflicts:
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit ab2a92c6f585a964795ac376e8e8f00220e7a537)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
members/pay.pl