Bug 36126: Adjust default HOLD 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:
    Hold filled:
        - Check SMS
        - Check Email
        - Leave Digests only unchecked
5. Leave SMS number and all email address fields blank for that patron
6. Place a hold for that patron
7. Check in an item to fill the hold
8. Open the Notices tab on that patron's account
--> The patron should have a Print "hold filled" notice, since they
don't have an email address or SMS number in the system
9. Add a Primary email and SMS number to the patron account
10. Place another hold for that patron
11. Check in an item to fill the hold
12. Go back to the Notices tab on that patron's account
--> The patron should now have Email and SMS "hold filled" notices as well
13. 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>
This commit is contained in:
Emily Lamancusa 2024-04-29 16:01:59 -04:00 committed by Katrin Fischer
parent 8026d8b24c
commit 6af529879c
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -1773,18 +1773,18 @@ tables:
message_transport_type: email
lang: default
content:
- "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
- "Dear [% borrower.firstname %] [% borrower.surname %],"
- ""
- "You have a hold available for pickup as of <<reserves.waitingdate>>:"
- "You have a hold available for pickup as of [% hold.waitingdate | $KohaDates %]:"
- ""
- "Title: <<biblio.title>>"
- "Author: <<biblio.author>>"
- "Copy: <<items.copynumber>>"
- "Location: <<branches.branchname>>"
- "<<branches.branchaddress1>>"
- "<<branches.branchaddress2>>"
- "<<branches.branchaddress3>>"
- "<<branches.branchcity>> <<branches.branchzip>>"
- "Title: [% biblio.title %]"
- "Author: [% biblio.author %]"
- "Copy: [% item.copynumber %]"
- "Location: [% branch.branchname %]"
- "[% branch.branchaddress1 %]"
- "[% branch.branchaddress2 %]"
- "[% branch.branchaddress3 %]"
- "[% branch.branchcity %] [% branch.branchzip %]"
- module: reserves
code: HOLDDGST
@ -1829,13 +1829,13 @@ tables:
branchcode: ""
name: "Hold available for pickup"
is_html: 0
title: "Hold available for pickup at <<branches.branchname>>"
title: "Hold available for pickup at [% branch.branchname %]"
message_transport_type: sms
lang: default
content:
- "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
- "Dear [% borrower.firstname %] [% borrower.surname %],"
- ""
- "Your hold for <<biblio.title>> is available for pickup."
- "Your hold for [% biblio.title %] is available for pickup."
- module: reserves
code: HOLD
@ -1846,9 +1846,9 @@ tables:
message_transport_type: print
lang: default
content:
- "<<branches.branchname>>"
- "<<branches.branchaddress1>>"
- "<<branches.branchaddress2>>"
- "[% branch.branchname %]"
- "[% branch.branchaddress1 %]"
- "[% branch.branchaddress2 %]"
- ""
- ""
- "Change service requested"
@ -1859,9 +1859,9 @@ tables:
- ""
- ""
- ""
- "<<borrowers.firstname>> <<borrowers.surname>>"
- "<<borrowers.address>>"
- "<<borrowers.city>> <<borrowers.zipcode>>"
- "[% borrower.firstname %] [% borrower.surname %]"
- "[% borrower.address %]"
- "[% borrower.city %] [% borrower.zipcode %]"
- ""
- ""
- ""
@ -1872,13 +1872,13 @@ tables:
- ""
- ""
- ""
- "<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>"
- "[% borrower.firstname %] [% borrower.surname %] [% borrower.cardnumber %]"
- ""
- "You have a hold available for pickup as of <<reserves.waitingdate>>:"
- "You have a hold available for pickup as of [% hold.waitingdate | $KohaDates %]:"
- ""
- "Title: <<biblio.title>>"
- "Author: <<biblio.author>>"
- "Copy: <<items.copynumber>>"
- "Title: [% biblio.title %]"
- "Author: [% biblio.author %]"
- "Copy: [% item.copynumber %]"
- ""
- module: reserves