Bug 19457: Handle 'PREVISSUE' return by CanBookBeIssued from SIP (CheckPrevCheckout)
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 12 Sep 2018 16:38:39 +0000 (09:38 -0700)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Jun 2019 08:36:55 +0000 (09:36 +0100)
commitb40e58343ef65aabe0a575a0b3f842b5e22a3600
treef1e67e281ff3c1f9e553b15eb9e5a50e127e35b9
parentac423d5dcf2c7503a8ca78cbafdb94dfc43dfdb6
Bug 19457: Handle 'PREVISSUE' return by CanBookBeIssued from SIP (CheckPrevCheckout)

If CheckPrevCheckout is set to Do, then checkouts are blocked at the SIPServer

To test:
- Do not apply this patch
- Set CheckPrevCheckout to "Do", or "Unless overridden, do"
Verify the SIP server is blocking checkouts with this setting set
- Apply this patch
- Note that the checkout is now allowed, with a screen message telling
the borrower they've issued the item before.

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>
C4/SIP/ILS/Transaction/Checkout.pm