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

--- Comment #3 from Olivia Reynolds <[email protected]> ---
Created attachment 202350
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202350&action=edit
Bug 43141: Add type disclaimer modal to request views

This patch includes the new type_disclaimer_text field in the ILL
request views. As there is now more information associated with the
disclaimer, it is all displayed together in a modal. Furthermore, on the
staff side it is possible to clear and fill out the disclaimer on behalf
of a patron.

Test plan:
1.  Enable the ILLModule syspref.
2.  Set the ILLModuleDisclaimerByType syspref to the following:

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

3.  Create an ILL request through the staff UI. Verify you are not
    prompted for a type disclaimer during creation.
4.  View the new ILL request in the staff UI. Verify there is a "Type
    disclaimer" row
    showing "Fill in disclaimer for patron".
5.  Click "Fill in disclaimer for patron", fill in the type declaration,
    and verify you return to viewing the ILL request.
6.  View the same ILL request in the OPAC, and verify there is a type
    disclaimer row with a link to "View details".
7.  Click "View details", and verify appropriate type disclaimer
    information is displayed in a modal.
8.  In the staff view of the ILL request, verify the "Type disclaimer"
    row also now has a link to "View details".
9.  Click "View details", and verify appropriate type disclaimer
    information is displayed in a modal.
10. In the modal, click "Clear disclaimer information".
11. Verify the disclaimer information is deleted, and the row once again
    shows "Fill in disclaimer for patron".

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