]> git.koha-community.org Git - koha.git/commit
Bug 23773: Send membership expiry notices by sms too
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 21 Jul 2022 09:39:07 +0000 (11:39 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 18 May 2023 14:35:14 +0000 (11:35 -0300)
commitac86c2ab6d3ae3c4d37ea6dc8aa878a9c5d3b486
treee41c427124c1cad68e0d2b121702801c9f242997
parent409891ed508972e06b868ca55cbe0bcddb3e3380
Bug 23773: Send membership expiry notices by sms too

Test plan:
1. Verify in "About" page that SMS::Send is installed.
   If not, install it.
2. Set system preferences:
   - SMSSendDriver = 'Test'
   - MembershipExpiryDaysNotice = 30
3. In "Notices and Slips" tool, edit the 'MEMBERSHIP_EXPIRY' letter and
   verify that both email and sms parts are filled. Use a different
   title and body for the sms part
4. Create a new borrower with an email address and an SMS number. Set
   their expiry date to a date next week
5. Run misc/cronjobs/membership_expiry.pl --confirm
6. Verify in the patron "Notices" tab that two notices are pending, one
   for email, one for sms

Sponsored-by: Médiathèque de Montauban
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/cronjobs/membership_expiry.pl