Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Andrew Isherwood 47895a1a23
Bug 23112: Add circulation to ILL requests
This patch adds the ability to circulate ILL requests. Once a request has a suitable status, a "Check out" button is displayed on the "Manage request" toolbar. Clicking this will enable the user to check out the item either to the user who made the request or an in-house statistical  user. A due date can be specified, but if not circ rules are used.

Prior to the check out, an item is created which is attached to the biblio record that was created when the request was added

This development has been carried out according to the originally stated requirements of the customer that sponsored it, detailed here: https://wiki.koha-community.org/wiki/ILL_Circulation_RFC

Test plan:

1. Ensure the FreeForm ILL backend is available
2. Enable the "CirculateILL" syspref
3. Ensure you have a statistical patron category defined (patron category type "Statistical")
4. Ensure you have at least one patron in your statistical patron category
5. Create a new FreeForm request (make a note of the library you select when creating it)
6. Mark the new request as confirmed by clicking the "Confirm request" button on the "Manage ILL request" page
7. TEST: Observe that a "Check out" button is now displayed in the request toolbar
8. Click the "Check out" button in the "Manage ILL request" page
9. In the "Issue requested item to..." screen:
  a. Do not select a statistical patron at this time
  b. You can at this point choose an item type, this will determine the type of the item that will be created for this request
  c. TEST: Observe that the default selected "Library" matches that that was defined when creating the request
  d. Do not select a due date at this time
10. Click "Submit"
11. TEST: Observe that the "Item checked out" screen displays, issued to the requesting patron with a due date corresponding to appropriate circ rules
12. Click "Return to request"
13. TEST: Observe that the request's status is now "Checked out"
14. Click the "Bibliographic record ID" link
15. TEST: Observe that the bibliographic record now has one item attached to it which is checked out
16. TEST: Observe that the item barcode is "ILL-" + the ILL request ID
17. Return to step 5., however, this time select a statistical patron and test that the item use is recorded and the item is not issued
18. Return to step 5., however, this time manually select a due date and test that the item's due date is set correctly on check out
19. Check in the item
20. TEST: Observe that the request's status is updated to "Returned to library"
21. Now implement a restriction on the patron (perhaps a fine) which would prevent them from checking out an item
22. Return to step 5. follow the instructions to step 10.
23. TEST: Observe that a banner is displayed at the top of the screen informing you that there was a problem checking the item out, containing a link to the patron's account page
24. Resolve the problem with the patron's account
25. Return to step 8.
26. TEST: Observe that the item is now successfully checked out
27. Disable the "CirculateILL" syspref
28. Return to step 5. at step 7. Observe that the "Check out" button is NOT displayed

Sponsored-by: Loughborough University
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-10 10:58:58 +00:00
..
acqui Bug 17611: Change 'Pending order' to 'Quantity ordered' 2020-02-20 08:39:50 +00:00
admin Bug 23112: Add CirculateILL syspref 2020-03-10 10:58:44 +00:00
authorities Bug 23777: Use To.json in authorities.tt 2020-02-21 15:41:18 +00:00
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
batch
catalogue Bug 24219: Preserve sort order when returning to result list 2020-03-06 15:01:50 +00:00
cataloguing Bug 24193: Add CodeMirror linting of JavaScript, CSS, HTML, and YAML 2020-03-02 10:44:14 +00:00
circ Bug 11281: Printing holds awaiting pickup prints both tabs 2020-02-10 09:22:39 +00:00
clubs Bug 24393: Remove event attributes from patron clubs list template 2020-01-20 14:03:51 +00:00
common
course_reserves Bug 15377: (QA follow-up) Fix capitalization and column heading 2020-03-02 10:54:34 +00:00
errors
ill Bug 23112: Add circulation to ILL requests 2020-03-10 10:58:58 +00:00
installer Bug 19735: Add support for max_ver 2020-02-12 16:33:02 +00:00
labels Bug 7468: (follow-up) Add missing filters 2020-01-21 11:29:09 +00:00
mana
members Bug 23051: (follow-up) Fix renew summary display 2020-03-06 10:03:51 +00:00
offline_circ Bug 23098: Reword success message of KOC upload process 2019-06-24 14:44:08 +01:00
onboarding Bug 22655: Adding holds rules to Onboarding tool 2020-02-21 16:01:57 +00:00
patron_lists Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
patroncards Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
plugins Bug 23975: (QA follow-up) Add missing TT filters 2020-03-03 09:19:37 +00:00
pos Bug 24492: (RM follow-up) Redirect to correct page after cashup 2020-03-05 14:16:58 +00:00
reports Bug 24193: Add CodeMirror linting of JavaScript, CSS, HTML, and YAML 2020-03-02 10:44:14 +00:00
reserve Bug 23777: Use To.json in request.tt 2020-02-21 15:41:18 +00:00
reviews
rotating_collections Bug 24390: (QA follow-up) Fix capitalization and simplyfy code a bit 2020-03-02 10:12:59 +00:00
serials Bug 24649: Fix two other missing <li> tags for cloned subfields 2020-02-17 10:37:26 +00:00
services
suggestion Bug 24648: Contextualization of past tense 'Created' 2020-02-19 15:57:21 +00:00
tags Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
test
tools Bug 24492: Add branch details page 2020-03-05 13:04:58 +00:00
virtualshelves Bug 24093: Sorting indicators broken on list contents view 2019-11-25 08:37:01 +00:00
about.tt Bug 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
auth.tt Bug 23042: Correct shib param escaping 2019-11-27 11:30:20 +00:00
intranet-main.tt Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-01-30 08:27:00 +00:00