[Koha-bugs] [Bug 35143] Add hooks for status changes to ILL requests to send_staff_notice
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 14 19:50:02 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35143
--- Comment #2 from Marie-Luce Laflamme <marie-luce.laflamme at inlibro.com> ---
Suggestion of a test plan
Required settings
Enable the native ILL module and the necessary backend code before testing.
Test plan
1- Created a new ILL_NEW_REQUEST template in (tools > Notices & slips)
e.g.
template code: ILL_NEW_REQUEST
and message like:
"A new interlibrary loan request from a patron is awaiting for approval.
Request ID [% illrequest.illrequest_id %] .
Please review this request:
[% ill_full_metadata %]"
2- Add ILL template codes in the system preference "ILLSendStaffNotices"
ILL_REQUEST_CANCEL|ILL_REQUEST_MODIFIED||ILL_NEW_REQUEST
3- Add your email in the system preference "ILLDefaultStaffEmail"
4- Login in to the OPAC
5- Go to the «Interlibrary request» section
6- Place a request
7- Check the message_queue in a terminal
---> At the moment, Koha is not generating the "ILL_NEW_REQUEST" email (issue)
---> it should be added to the message_queue
8- Return to the OPAC
9- Modify the ILL request and save the changes
10- Check your email inbox
--> Koha is sending correctly the ILL_REQUEST_MODIFIED email to staff
11- Go back to the OPAC and cancel the ILLrequest.
12- Check your email inbox
--> Koha is sending correctly the ILL_REQUEST_CANCEL email to staff
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list