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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 10 Jun 2019 14:21:32 +0000 (16:21 +0200)
commit67bddf78e245e5ef2dfe1c3040e5c820124a3b99
treec5499f9613791963ce65c4f1f385fd4dea789729
parent6b44e314577ade8b92ae330668510ae94f2f6469
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>
(cherry picked from commit b40e58343ef65aabe0a575a0b3f842b5e22a3600)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/SIP/ILS/Transaction/Checkout.pm