Bugzilla – Attachment 45337 Details for
Bug 15284
Switch default ISSUESLIP notice to Template Toolkit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15284 - Switch default ISSUESLIP notice to Template Toolkit
Bug-15284---Switch-default-ISSUESLIP-notice-to-Tem.patch (text/plain), 28.92 KB, created by
Kyle M Hall (khall)
on 2015-12-02 17:36:42 UTC
(
hide
)
Description:
Bug 15284 - Switch default ISSUESLIP notice to Template Toolkit
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-12-02 17:36:42 UTC
Size:
28.92 KB
patch
obsolete
>From 8573c478a2eafb7357de925d2ddcf2ff2ea693f5 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 2 Dec 2015 17:34:55 +0000 >Subject: [PATCH] Bug 15284 - Switch default ISSUESLIP notice to Template > Toolkit > >Test Plan: >1) Apply this patch >2) Replace your ISSUESLIP with the following: > >[% USE KohaDates %] ><h3>[% branch.branchname %]</h3> >Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >([% borrower.cardnumber %]) <br /> > >[% today | $KohaDates %]<br /> > ><h4>Checked Out</h4> >[% FOREACH checkout IN borrower.checkouts %] > [% IF ! checkout.is_overdue %] > <p> > [% checkout.item.biblio.title %] <br /> > Barcode: [% checkout.item.barcode %]<br /> > Date due: [% checkout.date_due | $KohaDates %]<br /> > </p> > [% END %] >[% END %] > ><h4>Overdues</h4> >[% FOREACH checkout IN borrower.checkouts %] > [% IF checkout.is_overdue %] > <p> > [% checkout.item.biblio.title %] <br /> > Barcode: [% checkout.item.barcode %]<br /> > Date due: [% checkout.date_due | $KohaDates %]<br /> > </p> > [% END %] >[% END %] > ><hr> > ><h4 style="text-align: center; font-style:italic;">News</h4> ><news> ><div class="newsitem"> ><h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5> ><p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.new>></p> ><p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> ><hr /> ></div> ></news> > >3) Print a slip for a patron, note the data is complete >--- > .../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(-) > >diff --git a/installer/data/mysql/de-DE/mandatory/sample_notices.sql b/installer/data/mysql/de-DE/mandatory/sample_notices.sql >index 560545b..c4e4d3a 100644 >--- a/installer/data/mysql/de-DE/mandatory/sample_notices.sql >+++ b/installer/data/mysql/de-DE/mandatory/sample_notices.sql >@@ -21,40 +21,47 @@ VALUES ('circulation','ODUE','Mahnung','Mahnung','Liebe/r <<borrowers.firstname> > ('members', 'DISCHARGE', 'Bestätigung', 'Bestätigung <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Bestätigung</h1>\r\n\r\nDie Bibliothek <<borrowers.branchcode>> bestätigt, dass\r\n\r\n <<borrowers.firstname>> <<borrowers.surname>>\r\n (Kartennummer <<borrowers.cardnumber>>)\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)', '<h2>Ausleihquittung</h2> >-Bibliothek: <<branches.branchname>> <br/> >-Ausleihe an: <<borrowers.firstname>> <<borrowers.surname>> <br /> >-Ausweisnummer: <<borrowers.cardnumber>> <br /> >-<br /> >-<<today>><br /> >-<br /> >-<h4>Ausleihen</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Signatur: <<items.itemcallnumber>><br/> >-Barcode: <<items.barcode>><br /> >-Fällig am: <<issues.date_due>><br /> >-</p> >-</checkedout> >-<br /> >-<h4>Ãberfällig</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Signatur: <<items.itemcallnumber>><br/> >-Barcode: <<items.barcode>><br /> >-Fällig am: <<issues.date_due>><br /> >-</p> >-</overdue> >+VALUES ('circulation','ISSUESLIP','Ausleihquittung (Quittungsdruck)','Ausleihquittung (Quittungsdruck)', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> >+ >+[% today | $KohaDates %]<br /> >+ >+<h4>Checked Out</h4> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] >+ >+<h4>Overdues</h4> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] >+ >+<hr> >+ >+<h4 style="text-align: center; font-style:italic;">News</h4> > <news> > <div class="newsitem"> > <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5> > <p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.new>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"><<opac_news.timestamp>></p> >+<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','Kurzquittung','Kurzquittung', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >diff --git a/installer/data/mysql/en/mandatory/sample_notices.sql b/installer/data/mysql/en/mandatory/sample_notices.sql >index e886ad8..9c40e90 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.sql >+++ b/installer/data/mysql/en/mandatory/sample_notices.sql >@@ -28,29 +28,34 @@ VALUES ('members', 'DISCHARGE', 'Discharge confirmation', 'Discharge for <<borro > has returned all items.</p>', 1, 'email'); > > INSERT INTO `letter` (module, code, name, title, content, is_html) >-VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '<h3><<branches.branchname>></h3> >-Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> > >-<<today>><br /> >+[% today | $KohaDates %]<br /> > > <h4>Checked Out</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</checkedout> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <h4>Overdues</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</overdue> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <hr> > >@@ -62,7 +67,8 @@ Date due: <<issues.date_due>><br /> > <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >diff --git a/installer/data/mysql/es-ES/mandatory/sample_notices.sql b/installer/data/mysql/es-ES/mandatory/sample_notices.sql >index c732077..142b8b8 100644 >--- a/installer/data/mysql/es-ES/mandatory/sample_notices.sql >+++ b/installer/data/mysql/es-ES/mandatory/sample_notices.sql >@@ -20,29 +20,34 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <<borrowers.f > ('members', 'DISCHARGE', 'Discharge', 'Discharge for <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Discharge</h1>\r\n\r\nThe library <<borrowers.branchcode>> certifies that the following borrower :\r\n\r\n <<borrowers.firstname>> <<borrowers.surname>>\r\n Cardnumber : <<borrowers.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', '<h3><<branches.branchname>></h3> >-Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> > >-<<today>><br /> >+[% today | $KohaDates %]<br /> > > <h4>Checked Out</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</checkedout> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <h4>Overdues</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</overdue> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <hr> > >@@ -54,7 +59,8 @@ Date due: <<issues.date_due>><br /> > <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql b/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql >index 3d16f07..ba3229a 100644 >--- a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql >+++ b/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql >@@ -22,33 +22,38 @@ VALUES > ('members', 'DISCHARGE', 'Quitus', 'Quitus pour <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Quitus</h1>\r\n\r\nLa librairie <<borrowers.branchcode>> certifies que lecteur suivant :\r\n\r\n <<borrowers.firstname>> <<borrowers.surname>>\r\n Numéro de carte : <<borrowers.cardnumber>>\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', '<h3><<branches.branchname>></h3> >-Prêts à <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >- >-<<today>><br /> >- >-<h4>Emprunts</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Code à barres : <<items.barcode>><br /> >-Retour le : <<issues.date_due>><br /> >-</p> >-</checkedout> >- >-<h4>Retards</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Codes à barres : <<items.barcode>><br /> >-Retour le : <<issues.date_due>><br /> >-</p> >-</overdue> >+VALUES ('circulation','ISSUESLIP','Ticket de de prêt','Ticket de prêt', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> >+ >+[% today | $KohaDates %]<br /> >+ >+<h4>Checked Out</h4> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] >+ >+<h4>Overdues</h4> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <hr> > >-<h4 style="text-align: center; font-style:italic;">Nouvelles</h4> >+<h4 style="text-align: center; font-style:italic;">News</h4> > <news> > <div class="newsitem"> > <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5> >@@ -56,7 +61,8 @@ Retour le : <<issues.date_due>><br /> > <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','Ticket rapide','Ticket rapide', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >diff --git a/installer/data/mysql/it-IT/necessari/notices.sql b/installer/data/mysql/it-IT/necessari/notices.sql >index fea8270..baef82f 100644 >--- a/installer/data/mysql/it-IT/necessari/notices.sql >+++ b/installer/data/mysql/it-IT/necessari/notices.sql >@@ -22,41 +22,47 @@ biblio.title>>\r\n----\r\nThank you for visiting <<branches.branchname>>.', 'ema > ('members', 'DISCHARGE', 'Discharge', 'Discharge for <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Discharge</h1>\r\n\r\nThe library <<borrowers.branchcode>> certifies that the following borrower :\r\n\r\n <<borrowers.firstname>> <<borrowers.surname>>\r\n Cardnumber : <<borrowers.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', '<h3><<branches.branchname>></h3> >-Prestito a <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >- >-<<today>><br /> >- >-<h4>Prestito</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Codice a barre: <<items.barcode>><br /> >-Data di scadenza: <<issues.date_due>><br /> >-</p> >-</checkedout> >- >-<h4>Ritardi</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Codice a barre: <<items.barcode>><br /> >-Data di scadenza: <<issues.date_due>><br /> >-</p> >-</overdue> >+VALUES ('circulation','ISSUESLIP','Ricevuta di prestito','Ricevuta di prestito', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> >+ >+[% today | $KohaDates %]<br /> >+ >+<h4>Checked Out</h4> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] >+ >+<h4>Overdues</h4> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <hr> > >-<h4 style="text-align: center; font-style:italic;">Novità </h4> >+<h4 style="text-align: center; font-style:italic;">News</h4> > <news> > <div class="newsitem"> > <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5> > <p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.new>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Inserite il <<opac_news.timestamp>></p> >+<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','Ricevuta (sintetica)','Ricevuta (sintetica)', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >diff --git a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql b/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql >index 7a54bdd..8ef42cb 100644 >--- a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql >+++ b/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql >@@ -43,41 +43,47 @@ VALUES ('circulation','ODUE','Purring','Purring pÃ¥ dokument','<<borrowers.first > ('members', 'DISCHARGE', 'Discharge', 'Discharge for <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Discharge</h1>\r\n\r\nThe library <<borrowers.branchcode>> certifies that the following borrower :\r\n\r\n <<borrowers.firstname>> <<borrowers.surname>>\r\n Cardnumber : <<borrowers.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', '<h3><<branches.branchname>></h3> >-UtlÃ¥nt til <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >- >-<<today>><br /> >- >-<h4>UtlÃ¥nt</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Strekkode: <<items.barcode>><br /> >-Innleveringsfrist: <<issues.date_due>><br /> >-</p> >-</checkedout> >- >-<h4>Forfalte lÃ¥n</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Strekkode: <<items.barcode>><br /> >-Innleveringsfrist: <<issues.date_due>><br /> >-</p> >-</overdue> >+VALUES ('circulation','ISSUESLIP','UtlÃ¥n','UtlÃ¥n', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> >+ >+[% today | $KohaDates %]<br /> >+ >+<h4>Checked Out</h4> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] >+ >+<h4>Overdues</h4> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <hr> > >-<h4 style="text-align: center; font-style:italic;">Nyheter</h4> >+<h4 style="text-align: center; font-style:italic;">News</h4> > <news> > <div class="newsitem"> > <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5> > <p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.new>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Publisert <<opac_news.timestamp>></p> >+<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','UtlÃ¥n (enkel)','UtlÃ¥n (enkel)', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >diff --git a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql b/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >index fdf0fb2..fa58e4e 100644 >--- a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >+++ b/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >@@ -21,29 +21,34 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <<borrowers.f > ('members', 'DISCHARGE', 'Discharge', 'Discharge for <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Discharge</h1>\r\n\r\nThe library <<borrowers.branchcode>> certifies that the following borrower :\r\n\r\n <<borrowers.firstname>> <<borrowers.surname>>\r\n Cardnumber : <<borrowers.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', '<h3><<branches.branchname>></h3> >-Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> > >-<<today>><br /> >+[% today | $KohaDates %]<br /> > > <h4>Checked Out</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</checkedout> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <h4>Overdues</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</overdue> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <hr> > >@@ -55,7 +60,8 @@ Date due: <<issues.date_due>><br /> > <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >diff --git a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql b/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >index d42e2c9..ad52e18 100644 >--- a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >+++ b/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >@@ -20,29 +20,34 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <<borrowers.f > ('members', 'DISCHARGE', 'Discharge', 'Discharge for <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Discharge</h1>\r\n\r\nThe library <<borrowers.branchcode>> certifies that the following borrower :\r\n\r\n <<borrowers.firstname>> <<borrowers.surname>>\r\n Cardnumber : <<borrowers.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', '<h3><<branches.branchname>></h3> >-Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> > >-<<today>><br /> >+[% today | $KohaDates %]<br /> > > <h4>Checked Out</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</checkedout> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <h4>Overdues</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</overdue> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <hr> > >@@ -51,11 +56,11 @@ Date due: <<issues.date_due>><br /> > <div class="newsitem"> > <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5> > <p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.new>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.tim >-estamp>></p> >+<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >diff --git a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql b/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >index 0ebd2ec..4c2d7a9 100644 >--- a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >+++ b/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >@@ -19,29 +19,34 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <<borrowers.f > ('members', 'DISCHARGE', 'Discharge', 'Discharge for <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Discharge</h1>\r\n\r\nThe library <<borrowers.branchcode>> certifies that the following borrower :\r\n\r\n <<borrowers.firstname>> <<borrowers.surname>>\r\n Cardnumber : <<borrowers.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', '<h3><<branches.branchname>></h3> >-Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> > >-<<today>><br /> >+[% today | $KohaDates %]<br /> > > <h4>Checked Out</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</checkedout> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <h4>Overdues</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</overdue> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <hr> > >@@ -50,11 +55,11 @@ Date due: <<issues.date_due>><br /> > <div class="newsitem"> > <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5> > <p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.new>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.tim >-estamp>></p> >+<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+', 1), > ('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '[%- USE KohaDates -%] > <h3>[% branch.branchname %]</h3> > Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >-- >1.7.10.4
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 15284
:
45337
|
70598
|
91659
|
91664