]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 10:28:17 +0000 (12:28 +0200)
commitac233efccf089c9981e81bba30554339007729f4
treea0f08e3fdb3291255ebcc8604845e965046ddfd2
parent6eea10dc538d76af1f1545010439d4fcb3d288ab
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>
Koha/Account/Line.pm