Bug 8769: Allow SIP2 return backdating
authorKyle M Hall <kyle@bywatersolutions>
Fri, 4 Oct 2013 13:53:11 +0000 (09:53 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 15:04:38 +0000 (15:04 +0000)
commit42678f3abfce12c49d23edbe58d228cd46463997
tree879b7f5b038f7c3c16fcf4ef50eea56ad32c169c
parente92b6e3dff75e20baeb818828739a4d80945cb60
Bug 8769: Allow SIP2 return backdating

Currently Koha's SIP server ignores the return date part of an 09 ( aka
CHECKIN ) message. Koha should backdate a return, and remove
fines accordingly.

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>
Works as notified, second date field in SIP checkin (return date) is
used as return date. Return shows up in history with correct date.

Comments:
 - patron is fined if return date is before issue date, but that
   is largely irrelevant anyway.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Circulation.pm
C4/SIP/ILS.pm
C4/SIP/ILS/Transaction/Checkin.pm