]> git.koha-community.org Git - koha.git/commit
Bug 22982: Paying lost fee does not always remove lost item from checkouts
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 23 May 2019 15:27:23 +0000 (11:27 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 11 Jun 2019 13:44:04 +0000 (15:44 +0200)
commitc4f81ea8f9d165a1cdfa1e5f4a80983f480befc7
tree766352908340962a3059665846a29a6e9852ee6e
parent997ad5043d25e8c32508ba655319cb4836126f80
Bug 22982: Paying lost fee does not always remove lost item from checkouts

Depending on how a lost fee is paid, it may or may not be removed from the
patrons current checkouts. The current expected behavior is for the lost
item to be removed from the patrons checkouts when the lost fee is paid in
full.

This is due to the subroutine for handling of lost fees being included in
the 'pay specific lines' code but not in the 'pay by amount' code.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/Koha/Account.t

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Nadine Pierre <nadine.pierre@inLibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 20dde4cc4acf35ba9f5edc76c5271198217994e6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Account.pm