[Koha-bugs] [Bug 30979] Add ability for OPAC users to checkout to themselves

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 20 01:02:21 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30979

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #10 from David Nind <david at davidnind.com> ---
I had a go at testing what has been done so are - the basic checkout seems to
work well.

An example use case could be a small corporate/in house library for an
organisation without dedicated/full time library staff that wants to let staff
"self-service" so they can checkout and return items without having to use a
manual process (such as recording items checked out or in on a register at the
door).

Here are my testing notes (using KTD):

Setup
1. Apply patches, updatedatabase, flush_memcached, restart_all
2. Enable OpacTrustedCheckout system preference

Testing the API
1. Get details of items for a record:
   - Visit http://127.0.0.1:8080/api/v1/public/items?external_id=39999000005097
     ==> should return details for the item

Test the self-checkout feature:
1. Go to the OPAC home page
2. Login as a patron (in this case I used koha), and note that in the OPAC
header there is now a Self checkout option after Cart and Lists
3. Click on Self checkout ==> window pops up asking you to enter a barcode
4. Enter a barcode for an item that is available, for example: 39999000006094
   ==> Message should say: "Item '39999000006094' was checked out", and an
option to enter another barcode, as well as Submit and Close buttons
5. Click close and check your account > your summary: item checked out should
be listed
6. Repeat step 4 with the same barcode, this time the result should be:
   ==> Message says: "Item '39999000006094' needs confirmation for the
following: RENEW_ISSUE" 
   . Click Confirm (note: currently does nothing, if this is allowed as can
renew already from the your summary page)
7. Checkout an item to another patron using the staff interface
   . Example: checked out 39999000011418 to Mary Burton
9. Use the self-checkout to try and checkout this item:
   ==> Message says: "Item '39999000011418' needs confirmation for the
following:
ISSUED_TO_ANOTHERissued_borrowernumberissued_cardnumberissued_firstnameissued_surname"
   . Click confirm (note: currently does nothing)
10. Use the self-checkout to try and checkout an item on hold:
   . Place a hold for an item using the staff interface. Example: Placed a
record level hold for Programming the Perl DBI (biblionumber = 13)
   ==> Message says "Item '39999000000559' needs confirmation for the
following:
RESERVEDresborrowernumberresbranchcoderescardnumberreserve_idresfirstnameresreservedateressurname"
with Confirm and Close buttons
   . Click confirm (note: currently does nothing)
11. Use the self checkout to try and checkout an item on hold for your OPAC
patron:
   . Place a record-level hold for an item using the staff interface (used Perl
Better Practices, biblionumber = 19)
   . Check in an item for the record and confirm the hold (used
39999000008036), should show status as awaiting pickup
   . Use the self checkout to try and checkout this item to the patron the hold
was placed for (39999000008036 and patron koha in this instance)
   ==> Item should be successfully checked out with message "Item
'39999000008036' was checked out", with options to enter another barcode,
Submit and Close buttons
   ==> Click close and check your account > your summary: item checked out
should be listed
12. Try and checkout and item not for loan:
   . Update an item for a record so that is not for loan
   . Try and checkout using the self-checkout
   ==> message says: "Item '39999000005158' cannot be checked out for the
following reasons: NOT_FOR_LOANitem_notforloan"
13. Try and checkout an item recorded as Withdrawn:
    . Update an item for a record so that it is withdrawn
   . Try and checkout using the self-checkout
   ==> message says: "Item '39999000005097' cannot be checked out for the
following reasons: WTHDRAWN"

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list