Bugzilla – Attachment 180613 Details for
Bug 36114
Port default TRANSFERSLIP notice to Template Toolkit syntax
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36114: Adjust TRANSFERSLIP to use Template Toolkit
Bug-36114-Adjust-TRANSFERSLIP-to-use-Template-Tool.patch (text/plain), 1.95 KB, created by
Marion Durand
on 2025-04-04 08:08:04 UTC
(
hide
)
Description:
Bug 36114: Adjust TRANSFERSLIP to use Template Toolkit
Filename:
MIME Type:
Creator:
Marion Durand
Created:
2025-04-04 08:08:04 UTC
Size:
1.95 KB
patch
obsolete
>From 8ef51b81e3033eae320ed1cbd6b375b866a38edc Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Wed, 18 Dec 2024 16:01:16 -0500 >Subject: [PATCH] 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> >--- > installer/data/mysql/en/mandatory/sample_notices.yml | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml >index 86aa88626a..8446707a80 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -1032,16 +1032,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 >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36114
:
175679
| 180613