]> git.koha-community.org Git - koha.git/commit
Bug 22877: Prevent double overdue processing for lost and returned
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 May 2019 14:53:56 +0000 (15:53 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 10 Jun 2019 09:31:50 +0000 (11:31 +0200)
commit39bb183f5387fedc01428e08d8633bf6bf666c81
treed663749d86036bcd4cae79598ae01278185f6b50
parentf9f8c1e3831b87dd2747605008e798f9d4d09f7f
Bug 22877: Prevent double overdue processing for lost and returned

Test plan:
1 - Issue an item to a patron with a backdated due date
2 - Run fines.pl - note you generate a fine for the patron
3 - Run longoverdue.pl - make sure MarkLostItemsAsReturned is turned off
and to charge
4 - Confirm the patron has a lost fee and an overdue
5 - Return the item
6 - With patch applied, patron should now have 1 overdue fine and 1 lost fine

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit d1b6e320860060ffe35e7df7f3df1b8c10517a73)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Circulation.pm