Koha-clms/C4/SIP/ILS/Transaction
Kyle M Hall a02c645fe0 Bug 23057: If checked_in_ok is set and item is not checked out, alert flag is supressed for *any* reason
Acknowledgements: Patch also contains original code by David Cook. Patches were squashed for ease of use.

This patch fixes a bug from Bug 15221 and hopefully also makes it so that the alert flag
is suppressed when checked_in_ok is set and an item is not checked out.
To test:
0) Create patron in web interface with a cardnumber and userid of "staff" with a password
that matches the account in SIPconfig.xml. Also set their branch to CPL
(also matching SIPconfig.xml).
1) Create an item with a barcode of 'test'
2) Choose a patron to check out to and record their borrowernumber
In one terminal:
3) cd to your git directory (e.g. /home/koha/koha)
4) perl ./C4/SIP/SIPServer.pm ~/koha-dev/etc/SIPconfig.xml
In another terminal:
5) cd to your git directory (e.g. /home/koha/koha)
6) perl ./misc/sip_cli_emulator.pl -l CPL -su staff -sp <password> --port=6001 --address=localhost --item test -m checkin --patron <borrowernumber>
NOTE: You need to replace <borrowernumber> with the borrowernumber from Step 2, and <password> with the password from Step 0.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2019-07-19 21:54:51 +00:00
..
Checkin.pm Bug 23057: If checked_in_ok is set and item is not checked out, alert flag is supressed for *any* reason 2019-07-19 21:54:51 +00:00
Checkout.pm Bug 19457: Handle 'PREVISSUE' return by CanBookBeIssued from SIP (CheckPrevCheckout) 2019-06-14 20:40:49 +00:00
FeePayment.pm Bug 16899: Add ability to disallow overpayments 2017-10-27 14:10:29 -03:00
Hold.pm Bug 19059: Move C4::Reserves::CancelReserve to Koha::Hold->cancel 2017-09-12 12:42:58 -03:00
Renew.pm Bug 15494: Update display of renewal errors 2018-11-07 21:39:38 +00:00
RenewAll.pm Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00