@@ -, +, @@
Toolkit
[% IF ! checkout.is_overdue %]
[% checkout.item.biblio.title %]
Barcode: [% checkout.item.barcode %]
Date due: [% checkout.date_due | $KohaDates %]
[% END %]
[% IF checkout.is_overdue %]
[% checkout.item.biblio.title %]
Barcode: [% checkout.item.barcode %]
Date due: [% checkout.date_due | $KohaDates %]
[% END %]
---
.../data/mysql/de-DE/mandatory/sample_notices.sql | 63 +++++++++++---------
.../data/mysql/en/mandatory/sample_notices.sql | 44 ++++++++------
.../data/mysql/es-ES/mandatory/sample_notices.sql | 44 ++++++++------
.../mysql/fr-FR/1-Obligatoire/sample_notices.sql | 56 +++++++++--------
installer/data/mysql/it-IT/necessari/notices.sql | 58 ++++++++++--------
.../mysql/nb-NO/1-Obligatorisk/sample_notices.sql | 58 ++++++++++--------
.../data/mysql/pl-PL/mandatory/sample_notices.sql | 44 ++++++++------
.../data/mysql/ru-RU/mandatory/sample_notices.sql | 47 ++++++++-------
.../data/mysql/uk-UA/mandatory/sample_notices.sql | 47 ++++++++-------
9 files changed, 257 insertions(+), 204 deletions(-)
--- a/installer/data/mysql/de-DE/mandatory/sample_notices.sql
+++ a/installer/data/mysql/de-DE/mandatory/sample_notices.sql
@@ -21,40 +21,47 @@ VALUES ('circulation','ODUE','Mahnung','Mahnung','Liebe/r <
('members', 'DISCHARGE', 'Bestätigung', 'Bestätigung <> <>', 'Bestätigung
\r\n\r\nDie Bibliothek <> bestätigt, dass\r\n\r\n <> <>\r\n (Kartennummer <>)\r\n\r\nalle ausgeliehenen Medien zurückgegeben hat.', 'email');
INSERT INTO `letter` (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Ausleihquittung (Quittungsdruck)','Ausleihquittung (Quittungsdruck)', 'Ausleihquittung
-Bibliothek: <>
-Ausleihe an: <> <>
-Ausweisnummer: <>
-
-<>
-
-Ausleihen
-
-
-<>
-Signatur: <>
-Barcode: <>
-Fällig am: <>
-
-
-
-Überfällig
-
-
-<>
-Signatur: <>
-Barcode: <>
-Fällig am: <>
-
-
+VALUES ('circulation','ISSUESLIP','Ausleihquittung (Quittungsdruck)','Ausleihquittung (Quittungsdruck)', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
+
+[% today | $KohaDates %]
+
+Checked Out
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
+
+Overdues
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
+
+
+
+News
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Kurzquittung','Kurzquittung', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--- a/installer/data/mysql/en/mandatory/sample_notices.sql
+++ a/installer/data/mysql/en/mandatory/sample_notices.sql
@@ -28,29 +28,34 @@ VALUES ('members', 'DISCHARGE', 'Discharge confirmation', 'Discharge for <', 1, 'email');
INSERT INTO `letter` (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '<>
-Checked out to <> <> <> <>
-(<>)
+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
-<>
+[% today | $KohaDates %]
Checked Out
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
Overdues
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
@@ -62,7 +67,8 @@ Date due: <>
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--- a/installer/data/mysql/es-ES/mandatory/sample_notices.sql
+++ a/installer/data/mysql/es-ES/mandatory/sample_notices.sql
@@ -20,29 +20,34 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <> <>', 'Discharge
\r\n\r\nThe library <> certifies that the following borrower :\r\n\r\n <> <>\r\n Cardnumber : <>\r\n\r\nreturned all his documents.', 'email');
INSERT INTO `letter` (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '<>
-Checked out to <> <> <> <>
-(<>)
+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
-<>
+[% today | $KohaDates %]
Checked Out
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
Overdues
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
@@ -54,7 +59,8 @@ Date due: <>
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--- a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql
+++ a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql
@@ -22,33 +22,38 @@ VALUES
('members', 'DISCHARGE', 'Quitus', 'Quitus pour <> <>', 'Quitus
\r\n\r\nLa librairie <> certifies que lecteur suivant :\r\n\r\n <> <>\r\n Numéro de carte : <>\r\n\r\na bien retourné tous ses documents.', 'email');
INSERT INTO `letter` (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Ticket de de prêt','Ticket de prêt', '<>
-Prêts à <> <> <> <>
-(<>)
-
-<>
-
-Emprunts
-
-
-<>
-Code à barres : <>
-Retour le : <>
-
-
-
-Retards
-
-
-<>
-Codes à barres : <>
-Retour le : <>
-
-
+VALUES ('circulation','ISSUESLIP','Ticket de de prêt','Ticket de prêt', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
+
+[% today | $KohaDates %]
+
+Checked Out
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
+
+Overdues
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
-Nouvelles
+News
<>
@@ -56,7 +61,8 @@ Retour le : <>
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Ticket rapide','Ticket rapide', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--- a/installer/data/mysql/it-IT/necessari/notices.sql
+++ a/installer/data/mysql/it-IT/necessari/notices.sql
@@ -22,41 +22,47 @@ biblio.title>>\r\n----\r\nThank you for visiting <>.', 'ema
('members', 'DISCHARGE', 'Discharge', 'Discharge for <> <>', 'Discharge
\r\n\r\nThe library <> certifies that the following borrower :\r\n\r\n <> <>\r\n Cardnumber : <>\r\n\r\nreturned all his documents.', 'email');
INSERT INTO letter (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Ricevuta di prestito','Ricevuta di prestito', '<>
-Prestito a <> <> <> <>
-(<>)
-
-<>
-
-Prestito
-
-
-<>
-Codice a barre: <>
-Data di scadenza: <>
-
-
-
-Ritardi
-
-
-<>
-Codice a barre: <>
-Data di scadenza: <>
-
-
+VALUES ('circulation','ISSUESLIP','Ricevuta di prestito','Ricevuta di prestito', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
+
+[% today | $KohaDates %]
+
+Checked Out
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
+
+Overdues
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
-Novità
+News
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Ricevuta (sintetica)','Ricevuta (sintetica)', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--- a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql
+++ a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql
@@ -43,41 +43,47 @@ VALUES ('circulation','ODUE','Purring','Purring på dokument','<> <>', 'Discharge
\r\n\r\nThe library <> certifies that the following borrower :\r\n\r\n <> <>\r\n Cardnumber : <>\r\n\r\nreturned all his documents.', 'email');
INSERT INTO `letter` (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Utlån','Utlån', '<>
-Utlånt til <> <> <> <>
-(<>)
-
-<>
-
-Utlånt
-
-
-<>
-Strekkode: <>
-Innleveringsfrist: <>
-
-
-
-Forfalte lån
-
-
-<>
-Strekkode: <>
-Innleveringsfrist: <>
-
-
+VALUES ('circulation','ISSUESLIP','Utlån','Utlån', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
+
+[% today | $KohaDates %]
+
+Checked Out
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
+
+Overdues
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
-Nyheter
+News
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Utlån (enkel)','Utlån (enkel)', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--- a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql
+++ a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql
@@ -21,29 +21,34 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <> <>', 'Discharge
\r\n\r\nThe library <> certifies that the following borrower :\r\n\r\n <> <>\r\n Cardnumber : <>\r\n\r\nreturned all his documents.', 'email');
INSERT INTO `letter` (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '<>
-Checked out to <> <> <> <>
-(<>)
+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
-<>
+[% today | $KohaDates %]
Checked Out
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
Overdues
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
@@ -55,7 +60,8 @@ Date due: <>
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--- a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql
+++ a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql
@@ -20,29 +20,34 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <> <>', 'Discharge
\r\n\r\nThe library <> certifies that the following borrower :\r\n\r\n <> <>\r\n Cardnumber : <>\r\n\r\nreturned all his documents.', 'email');
INSERT INTO `letter` (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '<>
-Checked out to <> <> <> <>
-(<>)
+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
-<>
+[% today | $KohaDates %]
Checked Out
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
Overdues
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
@@ -51,11 +56,11 @@ Date due: <>
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--- a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql
+++ a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql
@@ -19,29 +19,34 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <> <>', 'Discharge
\r\n\r\nThe library <> certifies that the following borrower :\r\n\r\n <> <>\r\n Cardnumber : <>\r\n\r\nreturned all his documents.');
INSERT INTO `letter` (module, code, name, title, content, is_html)
-VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '<>
-Checked out to <> <> <> <>
-(<>)
+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %]
+[% branch.branchname %]
+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
+([% borrower.cardnumber %])
-<>
+[% today | $KohaDates %]
Checked Out
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF ! checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
Overdues
-
-
-<>
-Barcode: <>
-Date due: <>
-
-
+[% FOREACH checkout IN borrower.checkouts %]
+ [% IF checkout.is_overdue %]
+
+ [% checkout.item.biblio.title %]
+ Barcode: [% checkout.item.barcode %]
+ Date due: [% checkout.date_due | $KohaDates %]
+
+ [% END %]
+[% END %]
@@ -50,11 +55,11 @@ Date due: <>
-', 1),
+
+', 1),
('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%]
[% branch.branchname %]
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %]
--