Bug 36256 - Port default MEMBERSHIP_EXPIRY notice to Template Toolkit syntax
Summary: Port default MEMBERSHIP_EXPIRY notice to Template Toolkit syntax
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Caroline Cyr La Rose
QA Contact: Testopia
URL:
Keywords: Academy, roadmap_24_05
Depends on:
Blocks: 15278
  Show dependency treegraph
 
Reported: 2024-03-06 21:13 UTC by Emily Lamancusa (emlam)
Modified: 2024-12-18 20:27 UTC (History)
1 user (show)

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


Attachments
Bug 36256: Port default MEMBERSHIP_EXPIRY notice to Template Toolkit syntax (1.99 KB, patch)
2024-12-18 20:27 UTC, Caroline Cyr La Rose
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Lamancusa (emlam) 2024-03-06 21:13:25 UTC

    
Comment 1 Caroline Cyr La Rose 2024-12-18 20:27:08 UTC
Created attachment 175675 [details] [review]
Bug 36256: Port default MEMBERSHIP_EXPIRY notice to Template Toolkit syntax

This patch changes the sample MEMBERSHIP_EXPIRY email notice to Template
Toolkit syntax.

To test:
1. Apply patch and reset_all
2. Go to Tools > Notices and slips
3. Check the MEMBERSHIP_EXPIRY email notice, make sure everything looks good (TT syntax, grammar and spelling OK)
4. Add a value in MembershipExpiryDaysNotice
5. Change a patron's account so that it expires in the number of days in MembershipExpiryDaysNotice
6. Add an email address in the patron's account
7. Run /misc/cronjobs/membership_expiry.pl -c
8. Go to the patron's notices and check that the text of the notice was generated correctly and that the grammar and spelling are OK