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

--- Comment #7 from Olivia Reynolds <[email protected]> ---
Created attachment 202354
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202354&action=edit
Bug 43141: Allow sending type disclaimer prompts

This patch allows sending a notice to the patron associated with an ILL
request, giving them a unique link to fill in a type disclaimer. Only
one link is created for each request and patron, but the notice may be
resent. A new messaging preference is used for this notice type.

Test plan:
1.  Reset KTD to pick up the database updates and new sample notice.
2.  Enable the ILLModule syspref.
3.  Set the ILLModuleDisclaimerByType syspref to the following:

all:
 text: Test text
 av_category_code: YES_NO
 interface: opac

4.  Create an ILL request through the staff UI, assigned to a patron.
5.  View the new ILL request. Verify there is a "Prompt type disclaimer
    to user" option in the "Send notice to patron" dropdown.
6.  Click "Prompt type disclaimer to user" and verify sending the notice
    is successful.
7.  Verify the patron has received a notice containing a link to fill in
    the type disclaimer.
8.  Visit this unique link in a logged-out session. Verify the type
    disclaimer form is displayed.
9.  Fill out and submit the type disclaimer form. Verify there is a
    confirmation screen.
10. Visit the unique link again in a logged-out session. Verify the
    confirmation screen is displayed instead of the form.
11. Return to the ILL request view in the staff interface. Verify the
    type disclaimer information has been filled out correctly.
12. Prove t/db_dependent/Koha/ILL/Requests.t

Sponsored-by: NHS England

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to