Bug 36717 - Merge "Patrons (custom slip)" and "Patrons (custom message)" in Notices
Summary: Merge "Patrons (custom slip)" and "Patrons (custom message)" in Notices
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Renvoize
QA Contact: Testopia
URL:
Keywords:
Depends on: 29393 32986
Blocks:
  Show dependency treegraph
 
Reported: 2024-04-29 15:46 UTC by Caroline Cyr La Rose
Modified: 2024-05-16 16:24 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2024-04-29 15:46:33 UTC
With the introduction of custom email messages in Bug 29393, we discussed (https://chat.koha-community.org/koha-community/pl/ixoy58im47dhpr4gmwtn9sdbjw) the opportunity to merge the "Patrons (custom slip)" notice type introduced in Bug 32986 and the new "Patrons (custom message)" notice type.

The "custom slips" would be notices with the print message transport type, and the "custom messages" (email messages) would be notices with the email message transport type.

To get there:
1. Go to Tools > Notices and slips
2. Click New notice
--> Notice there is a category "Patrons (custom slip)" and (after bug 29393) "Patrons (custom message)"

Create and use a custom slip
3. Click "Patrons (custom slip)"
4. Enter a code and a name (e.g. TESTSLIP, Test slip)
5. Click the "Print" tab
6. Enter content in the "Message subject" and "Message body" fields
7. Click "Save"
8. Go to a patron's account
9. Click "Print"
--> There should be an option to "Print test slip" (or whatever name you gave it)

Create and use a custom message
10. Go back to Tools > Notices and slips > New notice
11. Click "Patrons (custom message)"
12. Enter a code and a name (e.g. TESTMESSAGE, Test message)
13. Click the "Email" tab
14. Enter content in the "Message subject" and "Message body" fields
15. Click "Save"
16. Go to a patron's account
17. Make sure the patron has an email address
18. Click "Add message"
19. In "Add message for" choose Email
--> In "Patron notice" there should be "Test message" (or whatever name you gave it)

The proposition was to merge the two notice types and only show the ones with the "Print" message transport type filled in the "Print" menu, and only show the ones with the "Email" message transport type filled in the "Add message" menu.