Bugzilla – Attachment 91659 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), 26.54 KB, created by
Kyle M Hall (khall)
on 2019-07-19 18:21:55 UTC
(
hide
)
Description:
Bug 15284 - Switch default ISSUESLIP notice to Template Toolkit
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-07-19 18:21:55 UTC
Size:
26.54 KB
patch
obsolete
>From 30227cbcd35e00b0482f78ef8f8ad8323ef95b0b 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 >--- > .../mysql/de-DE/mandatory/sample_notices.sql | 72 +++++----- > .../mysql/en/mandatory/sample_notices.sql | 44 +++--- > .../mysql/es-ES/mandatory/sample_notices.sql | 44 +++--- > .../fr-FR/1-Obligatoire/sample_notices.sql | 51 +++---- > .../data/mysql/it-IT/necessari/notices.sql | 74 +++++----- > .../nb-NO/1-Obligatorisk/sample_notices.sql | 127 ++++++------------ > .../mysql/pl-PL/mandatory/sample_notices.sql | 44 +++--- > .../mysql/ru-RU/mandatory/sample_notices.sql | 47 ++++--- > .../mysql/uk-UA/mandatory/sample_notices.sql | 16 +-- > 9 files changed, 257 insertions(+), 262 deletions(-) > >diff --git a/installer/data/mysql/de-DE/mandatory/sample_notices.sql b/installer/data/mysql/de-DE/mandatory/sample_notices.sql >index d710bd6272..9a25dd78da 100644 >--- a/installer/data/mysql/de-DE/mandatory/sample_notices.sql >+++ b/installer/data/mysql/de-DE/mandatory/sample_notices.sql >@@ -56,39 +56,47 @@ VALUES ('members', 'DISCHARGE', 'Entlastung', 'Entlastung für <<borrowers.first > alle Medien zurückgegeben und ausstehende Gebühren beglichen hat.</p>', 1, 'email'); > > INSERT INTO `letter` (module, code, name, title, content, is_html) >-VALUES ('circulation','ISSUESLIP','Ausleihquittung (Quittungsdruck)','Ausleihquittung (Quittungsdruck)', '<h2>Ausleihquittung</h2> >-Ausgeliehen an: <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >+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 %] > >-<<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> >-<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.content>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"><<opac_news.timestamp>></p> >-<hr /> >-</div> >-</news>', 1), >+<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> >+', 1), > ('circulation','ISSUEQSLIP','Kurzquittung','Kurzquittung', '<h2>Ausleihquittung</h2> > Bibliothek: <<branches.branchname>> <br/> > Ausleihe an: <<borrowers.firstname>> <<borrowers.surname>> <br /> >diff --git a/installer/data/mysql/en/mandatory/sample_notices.sql b/installer/data/mysql/en/mandatory/sample_notices.sql >index 210353064f..cc9a94e441 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.sql >+++ b/installer/data/mysql/en/mandatory/sample_notices.sql >@@ -56,29 +56,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> > >@@ -90,7 +95,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 [% patron.title %] [% patron.firstname %] [% patron.initials %] [% patron.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 965850ac91..55fe4530ec 100644 >--- a/installer/data/mysql/es-ES/mandatory/sample_notices.sql >+++ b/installer/data/mysql/es-ES/mandatory/sample_notices.sql >@@ -48,29 +48,34 @@ VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Su > </ul> > </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> > >@@ -82,7 +87,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', '<h3><<branches.branchname>></h3> > Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> > (<<borrowers.cardnumber>>) <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 b3dfec24e5..a506f0f30f 100644 >--- a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql >+++ b/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql >@@ -50,33 +50,38 @@ VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Su > </ul> > </p>',1, '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> >+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>Retards</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Codes à barres : <<items.barcode>><br /> >-Retour le : <<issues.date_due>><br /> >-</p> >-</overdue> >+<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> >diff --git a/installer/data/mysql/it-IT/necessari/notices.sql b/installer/data/mysql/it-IT/necessari/notices.sql >index adde2c45fb..68952d8a40 100644 >--- a/installer/data/mysql/it-IT/necessari/notices.sql >+++ b/installer/data/mysql/it-IT/necessari/notices.sql >@@ -55,41 +55,47 @@ VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Su > </ul> > </p>',1, '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> >+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>Ritardi</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Codice a barre: <<items.barcode>><br /> >-Data di scadenza: <<issues.date_due>><br /> >-</p> >-</overdue> >- >-<hr> >- >-<h4 style="text-align: center; font-style:italic;">Novità </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.content>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Inserite il <<opac_news.timestamp>></p> >-<hr /> >-</div> >-</news>', 1), >+<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> >+', 1), > ('circulation','ISSUEQSLIP','Ricevuta (sintetica)','Ricevuta (sintetica)', '<h3><<branches.branchname>></h3> > Prestato/i a <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> > (<<borrowers.cardnumber>>) <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 794c797b0a..7253e70f85 100644 >--- a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql >+++ b/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql >@@ -71,94 +71,47 @@ VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Su > </ul> > </p>',1, '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> >- >-<hr> >- >-<h4 style="text-align: center; font-style:italic;">Nyheter</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.content>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Publisert <<opac_news.timestamp>></p> >-<hr /> >-</div> >-</news>', 1), >-('circulation','ISSUEQSLIP','UtlÃ¥n (enkel)','UtlÃ¥n (enkel)', '<h3><<branches.branchname>></h3> >-UtlÃ¥nt til <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >- >-<<today>><br /> >- >-<h4>UtlÃ¥nt i dag</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Strekkode: <<items.barcode>><br /> >-Innleveringsfrist: <<issues.date_due>><br /> >-</p> >-</checkedout>', 1), >-('circulation','HOLD_SLIP','Reservasjon','Reservasjon', '<h5>Dato: <<today>></h5> >- >-<h3> Overfør til/Reservasjon hos <<branches.branchname>></h3> >- >-<h3><<borrowers.surname>>, <<borrowers.firstname>></h3> >- >-<ul> >- <li><<borrowers.cardnumber>></li> >- <li><<borrowers.phone>></li> >- <li> <<borrowers.address>><br /> >- <<borrowers.address2>><br /> >- <<borrowers.city >> <<borrowers.zipcode>> >- </li> >- <li><<borrowers.email>></li> >-</ul> >-<br /> >-<h3>RESERVERT</h3> >-<h4><<biblio.title>></h4> >-<h5><<biblio.author>></h5> >-<ul> >- <li><<items.barcode>></li> >- <li><<items.itemcallnumber>></li> >- <li><<reserves.waitingdate>></li> >-</ul> >-<p>Kommentarer: >-<pre><<reserves.reservenotes>></pre> >-</p> >-', 1), >-('circulation','TRANSFERSLIP','Overføringslapp','Overføringslapp', '<h5>Dato: <<today>></h5> >- >-<h3>Overføres til <<branches.branchname>></h3> >+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 %] > >-<h3>EKSEMPLAR</h3> >-<h4><<biblio.title>></h4> >-<h5><<biblio.author>></h5> >-<ul> >- <li><<items.barcode>></li> >- <li><<items.itemcallnumber>></li> >-</ul>', 1); >+<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> >+', 1), > > INSERT INTO `letter` (`module`,`code`,`branchcode`,`name`,`is_html`,`title`,`content`) > VALUES ( >diff --git a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql b/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >index 115a6adc28..16f6778110 100644 >--- a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >+++ b/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >@@ -49,29 +49,34 @@ VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Su > </ul> > </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> > >@@ -83,7 +88,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', '<h3><<branches.branchname>></h3> > Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> > (<<borrowers.cardnumber>>) <br /> >diff --git a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql b/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >index a979698dd1..5b53ffad4a 100644 >--- a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >+++ b/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >@@ -48,29 +48,34 @@ VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Su > </ul> > </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> > >@@ -79,11 +84,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.content>></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', '<h3><<branches.branchname>></h3> > Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> > (<<borrowers.cardnumber>>) <br /> >diff --git a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql b/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >index 63319ad6e7..c63267d4d4 100644 >--- a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >+++ b/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >@@ -147,14 +147,14 @@ INSERT INTO `letter` (module, code, name, title, content, is_html) VALUES > <hr> > <h4 style="text-align: center; font-style:italic;">Ðовини</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.content>></p> >-<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">ÐивÑÑено <<opac_news.timestamp>></p> >-<hr /> >-</div> >-</news>', >- 1), >+ <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> >+', 1), > > ('circulation','ISSUEQSLIP','Ñвидкий лиÑÑок пÑо видаÑÑ','Швидкий лиÑÑок пÑо видаÑÑ', > '<h3><<branches.branchname>></h3> >-- >2.20.1 (Apple Git-117)
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