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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 5 Jun 2019 12:43:47 +0000 (13:43 +0100)
commit20dde4cc4acf35ba9f5edc76c5271198217994e6
treeb2b90c688edb500aa2d58216c6ec3738f4b464f4
parent72d4b10bf4abcfc36a9f3bac263ad182b6512088
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>
Koha/Account.pm