Bug 36106: Adjust DUE and PREDUE notices to use TT
authorEmily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Thu, 25 Apr 2024 20:54:16 +0000 (16:54 -0400)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 10 May 2024 13:19:04 +0000 (15:19 +0200)
commite9540c6a1fcb7bd87f34d38dfafa7546198aa30c
treecd56717eca8e9ddaaac7396ff1879be78f68bbc8
parent6af529879c98a3d2a8d3869b11ed54a4f1ea11aa
Bug 36106: Adjust DUE and PREDUE notices to use TT

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
        - Leave Digests only unchecked
    Advance notice
        - Select 1 day in advance
        - Check SMS
        - Check Email
        - Leave Digests only unchecked
5. Go to the checkout tab for that patron
6. Set a custom due date for today and check out an item
7. Set a custom due date for tomorrow and check out another item
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: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
installer/data/mysql/en/mandatory/sample_notices.yml