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

--- Comment #16 from Olivia Reynolds <[email protected]> ---
Created attachment 211791
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211791&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.
Multiple prompts may be sent over time for the same request, but each
prompt can only be used once and they are tracked separately. A new
messaging preference is used for this notice type.

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

all:
 fields:
  - text: Field one
    av_category_code: YES_NO
    code: one
    interface: opac
  - text: Field two
    av_category_code: YES_NO
    code: two
    interface: opac

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