Bug 36114: Adjust TRANSFERSLIP to use Template Toolkit

To test:
1. Apply patch
2. reset_all (or start your testing environment in the first place)
3. Find or create an item that belongs to a library other than the logged-in library
4. Make sure the item has a callnumber (edit it to add one if needed)
4. Check the item in to generate a transfer slip
--> Confirm the information is all filled in correctly on the slip

Signed-off-by: Marion Durand <marion.durand@biblibre.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Emily Lamancusa 2024-12-18 16:01:16 -05:00 committed by Lucas Gass
parent a6713d8849
commit dcdb8b058c
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 6 additions and 6 deletions

View File

@ -1042,16 +1042,16 @@ tables:
message_transport_type: email
lang: default
content:
- "<h5>Date: <<today>></h5>"
- "<h5>Date: [% today | $KohaDates %]</h5>"
- "<br>"
- "<h3>Transfer to <<branches.branchname>></h3>"
- "<h3>Transfer to [% branch.branchname %]</h3>"
- "<br>"
- "<h3>ITEM</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>[% item.barcode %]</li>"
- " [% IF item.itemcallnumber %]<li>[% item.itemcallnumber %]</li>[% END %]"
- "</ul>"
- module: claimacquisition