]> git.koha-community.org Git - koha.git/commit
Bug 27927: Prevent renewal on lost forgive
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 24 Mar 2021 17:13:57 +0000 (17:13 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sun, 25 Apr 2021 15:45:28 +0000 (15:45 +0000)
commitb571ab2546eace9de294fe117eede3125026ba8c
treef55b7385d3b63d3c4cd9a019af943a978bd1644f
parent00a4924ce2df55010b7cbc0793fde19f08effde6
Bug 27927: Prevent renewal on lost forgive

The `RenewAccruingItemWhenPaid` preference should only renew upon
payment (and writeoff) and not upon automatic forgival triggered by
`WhenLostForgiveFine`.

Test plan
1/ Enable `WhenLostForgiveFine` and `RenewAccruingItemWhenPaid`
2/ Checkout an item and backdate it's due date
3/ Run longeroverdue.pl to mark the item as lost and create the fine
4/ Confirm that the item is not renewed as part of the process
5/ Signoff

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ac233efccf089c9981e81bba30554339007729f4)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit dc7c62ec4d671ca35ce5d87131acb8dc48a0f5b5)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/Account/Line.pm