From abea897b362ee359b9526dde3e03118f6f578fd0 Mon Sep 17 00:00:00 2001 From: Charlotte Cordwell Date: Wed, 17 Jan 2018 23:10:35 +0000 Subject: [PATCH] Bug 15283: Switch default ISSUEQSLIP notice to Template Toolkit Please test if changes are correct. --- .../data/mysql/en/mandatory/sample_notices.sql | 26 +++++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.sql b/installer/data/mysql/en/mandatory/sample_notices.sql index 0eb0051..6a68934 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.sql +++ b/installer/data/mysql/en/mandatory/sample_notices.sql @@ -64,20 +64,24 @@ Date due: <>

', 1), -('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '

<>

-Checked out to <> <> <> <>
-(<>)
+('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%] +

[% branch.branchname %]

+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
-<>
+[% today | $KohaDates %]

Checked Out Today

- -

-<>
-Barcode: <>
-Date due: <>
-

-
', 1), +[% FOREACH checkout IN borrower.checkouts %] + [% IF checkout.is_from_today %] +

+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due %]
+

+ [% END %] +[% END %] +', 1), ('circulation','HOLD_SLIP','Hold Slip','Hold Slip', '
Date: <>

Transfer to/Hold in <>

-- 2.1.4