From 1d07ce83b2289ccb3cb7a28c30c1ff4e617b22c0 Mon Sep 17 00:00:00 2001 From: Andrew Fuerste Henry Date: Fri, 10 Jan 2025 19:56:43 +0000 Subject: [PATCH] Bug 32211: Update DUEDGST and PREDUEDGST default notices to use TT update to correct CHECKOUT capitalization To test: 1. Apply patch 2. reset_all (or start your testing environment in the first place) 3. Enable SMS Notices a) Find the system preference SMSSendDriver b) Enter "Email" as the value for SMSSendDriver and save 4. Go to a patron account, and set the following messaging preferences: Item due: - Check SMS - Check Email - Check Digests only for both Advance notice - Select 1 day in advance - Check SMS - Check Email - Check Digest only for both 5. Go to the checkout tab for that patron 6. Set a custom due date for today and check out 2+ items 7. Set a custom due date for tomorrow and check out 2+ more items 8. Run the cron job to generate notices: misc/cronjobs/advance_notices.pl -v -c 9. Open the Notices tab on that patron's account --> The patron should have four notices: Item due reminder (one for SMS and one for email) Advance notice of item due (one for SMS and one for email) 10. Open each notice and confirm that all information is correct Signed-off-by: Brendan Lawlor --- installer/data/mysql/en/mandatory/sample_notices.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index 3aa28bf5bc..0efc142bb0 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -741,7 +741,7 @@ tables: - "Dear [% borrower.firstname %] [% borrower.surname %]," - "" - "The following item(s) are now due:" - - "[% FOREACH checkout IN CHECKOUTS %]" + - "[% FOREACH checkout IN checkouts %]" - "[% checkout.title %], [% checkout.author %] ([% checkout.barcode %])" - "[% END %]" - "Thank you." -- 2.39.5