From e0c2ed661a98f0bc1b4f9fe05a657c86a2eeb8b5 Mon Sep 17 00:00:00 2001
From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Date: Thu, 25 Apr 2024 17:03:20 -0400
Subject: [PATCH] Bug 36125: Adjust default HOLD_SLIP to use TT

To test:
1. Apply patch
2. reset_all (or start your testing environment in the first place)
3. Find a patron and make sure their account contains values for
   all of the following fields:
   First name
   Surname
   Card number
   Phone
   Address
   Address 2
   City
   Zipcode
   Email
4. Place a hold for this patron, specifying a hold note
5. Check in an item to fill the hold and click "Confirm and print slip"
6. Confirm that all information on the hold slip is correct

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
---
 .../mysql/en/mandatory/sample_notices.yml     | 30 +++++++++----------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml
index 9675b3eb4f..6e2ed6d1a8 100644
--- a/installer/data/mysql/en/mandatory/sample_notices.yml
+++ b/installer/data/mysql/en/mandatory/sample_notices.yml
@@ -679,32 +679,32 @@ tables:
           message_transport_type: email
           lang: default
           content:
-            - "<h5>Date: <<today>></h5>"
+            - "<h5>Date: [% today | KohaDates %]</h5>"
             - "<br>"
-            - "<h3> Transfer to/Hold in <<branches.branchname>></h3>"
+            - "<h3> Transfer to/Hold in [% branch.branchname %]</h3>"
             - "<br>"
-            - "<h3><<borrowers.surname>>, <<borrowers.firstname>></h3>"
+            - "<h3>[% borrower.surname %], [% borrower.firstname %]</h3>"
             - "<br>"
             - "<ul>"
-            - "    <li><<borrowers.cardnumber>></li>"
-            - "    <li><<borrowers.phone>></li>"
-            - "    <li> <<borrowers.address>><br>"
-            - "         <<borrowers.address2>><br>"
-            - "         <<borrowers.city>> <<borrowers.zipcode>>"
+            - "    <li>[% borrower.cardnumber %]</li>"
+            - "    <li>[% borrower.phone %]</li>"
+            - "    <li> [% borrower.address %]<br>"
+            - "         [% borrower.address2 %]<br>"
+            - "         [% borrower.city %] [% borrower.zipcode %]"
             - "    </li>"
-            - "    <li><<borrowers.email>></li>"
+            - "    <li>[% borrower.email %]</li>"
             - "</ul>"
             - "<br>"
             - "<h3>ITEM ON HOLD</h3>"
-            - "<h4><<biblio.title>></h4>"
-            - "<h5><<biblio.author>></h5>"
+            - "<h4>[% biblio.title %]</h4>"
+            - "<h5>[% biblio.author %]</h5>"
             - "<ul>"
-            - "   <li><<items.barcode>></li>"
-            - "   <li><<items.itemcallnumber>></li>"
-            - "   <li><<reserves.waitingdate>></li>"
+            - "   <li>[% item.barcode %]</li>"
+            - "   <li>[% item.itemcallnumber %]</li>"
+            - "   <li>[% reserve.waitingdate %]</li>"
             - "</ul>"
             - "<p>Notes:"
-            - "<pre><<reserves.reservenotes>></pre>"
+            - "<pre>[% reserve.reservenotes %]</pre>"
             - "</p>"
 
         - module: circulation
-- 
2.39.2