Bug 23443: Do not checkin an item if checked out to another patron when lost fee...
commitb6baccee51f14b22cc6f2bfb152d811c591207b2
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 Jan 2020 11:39:38 +0000 (14 12:39 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 6 Feb 2020 20:05:27 +0000 (6 20:05 +0000)
tree91a3f27652003647b42bcb887b5ca408ce4d0c92
parent4e750a3a4f371274f0b55671f86c396d53238dfd
Bug 23443: Do not checkin an item if checked out to another patron when lost fee is paid

Test plan:
0 - Do not apply this patch
1 - Check out an item to a patron
2 - Make sure a fee will be charged when lost
3 - Mark the item lost
4 - Make sure the fee will not be refunded on return of the item
5 - Return the item
6 - Check it out to a new patron
7 - Write off the fine for the original patron
=> The item is now checked in
8 - Apply this patch and repeat 1 to 7
=> The item is still checked out

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit e901fb7842aeddd5ac68f5e8004ad3d186789bab)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Circulation.pm