Bug 35187: Make sure HTML notices use explicit line breaks
[koha.git] / installer / data / mysql / en / mandatory / sample_notices.yml
1 ---
2 #
3 #  Copyright 2019 Koha Development Team
4 #
5 #  This file is part of Koha.
6 #
7 # Koha is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # Koha is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with Koha; if not, see <http://www.gnu.org/licenses>.
19 # *************************************************************
20 #                       SAMPLE NOTICES
21 # *************************************************************
22
23 description:
24   - "Sample notices"
25
26 tables:
27   - letter:
28       translatable: [ name, title, content ]
29       multiline: [ content ]
30       rows:
31         - module: acquisition
32           code: ACQ_NOTIF_ON_RECEIV
33           branchcode: ""
34           name: "Notification on receiving"
35           is_html: 0
36           title: "Order received"
37           message_transport_type: email
38           lang: default
39           content:
40             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
41             - ""
42             - " The order <<aqorders.ordernumber>> (<<biblio.title>>) has been received."
43             - ""
44             - "Your library."
45
46         - module: catalogue
47           code: TICKET_ACKNOWLEDGE
48           branchcode: ""
49           name: "Concern acknowledgement"
50           is_html: 1
51           title: "Catalog concern acknowledgment"
52           message_transport_type: email
53           lang: default
54           content:
55             - "[%- PROCESS 'html_helpers.inc' -%]"
56             - "Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br>"
57             - "<br>"
58             - "Thank you for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br>"
59             - "<br>"
60             - "You reported: <br>"
61             - "[%- ticket.body -%]<br>"
62             - "<br>"
63             - "Thank you"
64
65         - module: catalogue
66           code: TICKET_RESOLVE
67           branchcode: ""
68           name: "Concern resolved"
69           is_html: 1
70           title: "Catalog concern resolved"
71           message_transport_type: email
72           lang: default
73           content:
74             - "[%- PROCESS 'html_helpers.inc' -%]"
75             - "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br>"
76             - "<br>"
77             - "The library has now marked your concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%] as resolved.<br>"
78             - "<br>"
79             - "The following comment was left: <br>"
80             - "[%- ticket_update.message -%]<br>"
81             - "<br>"
82             - "Thank you"
83
84         - module: catalogue
85           code: TICKET_UPDATE
86           branchcode: ""
87           name: "Concern updated"
88           is_html: 1
89           title: "Catalog concern updated"
90           message_transport_type: email
91           lang: default
92           content:
93             - "[%- PROCESS 'html_helpers.inc' -%]"
94             - "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br>"
95             - "<br>"
96             - "The library has added an update to the concern you reported against [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%].<br>"
97             - "<br>"
98             - "The following comment was left: <br>"
99             - "[%- ticket_update.message -%]<br>"
100             - "<br>"
101             - "Thank you"
102
103         - module: catalogue
104           code: TICKET_NOTIFY
105           branchcode: ""
106           name: "Concern notification"
107           is_html: 1
108           title: "Catalog concern reported"
109           message_transport_type: email
110           lang: default
111           content:
112             - "[%- PROCESS 'html_helpers.inc' -%]"
113             - "[%- USE Koha -%]"
114             - "Dear cataloger,<br>"
115             - "[%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%] reported the following concern with <a href='[%- Koha.Preference('staffClientBaseURL') -%]/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ticket.biblio.biblionumber %]' >[%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%]</a><br>"
116             - "<br>"
117             - "[%- ticket.body -%]<br>"
118             - "<br>"
119             - "You can mark this concern as resolved from the <a href='[%- Koha.Preference('staffClientBaseURL') -%]/cgi-bin/koha/cataloguing/concerns.pl'>concern management page</a>."
120
121         - module: circulation
122           code: ACCOUNT_CREDIT
123           branchcode: ""
124           name: "Account payment"
125           is_html: 1
126           title: "Account payment"
127           message_transport_type: print
128           lang: default
129           content:
130             - "[%- USE AuthorisedValues -%]"
131             - "[%- USE KohaDates -%]"
132             - "[%- USE Price -%]"
133             - "[%- PROCESS \"accounts.inc\" -%]"
134             - "<table>"
135             - "    [% IF ( LibraryName ) %]"
136             - "    <tr>"
137             - "      <th colspan=\"2\" class=\"centerednames\">"
138             - "        <h3>[% LibraryName | html %]</h3>"
139             - "      </th>"
140             - "    </tr>"
141             - "    [% END %]"
142             - "    [% IF credit.library %]"
143             - "    <tr>"
144             - "      <th colspan=\"2\" class=\"centerednames\">"
145             - "        <h2>[% credit.library.branchname | html %]</h2>"
146             - "      </th>"
147             - "    </tr>"
148             - "    [% END %]"
149             - "    <tr>"
150             - "      <th colspan=\"2\" class=\"centerednames\">"
151             - "        <h3>[% today | $KohaDates %]</h3>"
152             - "      </th>"
153             - "    </tr>"
154             - "    <tr>"
155             - "      <td>Transaction ID: </td>"
156             - "      <td>[% credit.accountlines_id %]</td>"
157             - "    </tr>"
158             - "    <tr>"
159             - "      <td>Operator ID: </td>"
160             - "      <td>[% credit.manager_id %]</td>"
161             - "    </tr>"
162             - "    [% IF credit.payment_type %]"
163             - "    <tr>"
164             - "      <td>Payment type: </td>"
165             - "      <td>[% AuthorisedValues.GetByCode('PAYMENT_TYPE', credit.payment_type) %]</td>"
166             - "    </tr>"
167             - "    [% END %]"
168             - "    <tr>"
169             - "      <th colspan=\"2\" class=\"centerednames\">"
170             - "        <h2><u>[%- PROCESS credit_type_description credit_type = credit.credit_type -%] receipt</u></h2>"
171             - "      </th>"
172             - "    </tr>"
173             - "    [% IF ( credit.credit_type_code == 'PAYMENT' ) %]"
174             - "    <tr>"
175             - "      <th colspan=\"2\">"
176             - "        Received with thanks from  [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />"
177             - "        Card number: [% credit.patron.cardnumber | html %]<br />"
178             - "      </th>"
179             - "    </tr>"
180             - "    [% ELSIF ( credit.credit_type_code == 'CREDIT' ) %]"
181             - "    <tr>"
182             - "      <th colspan=\"2\">"
183             - "        Credit added to account for [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />"
184             - "        Card number: [% credit.patron.cardnumber | html %]<br />"
185             - "      </th>"
186             - "    </tr>"
187             - "    [% ELSIF ( credit.credit_type_code == 'WRITEOFF' ) %]"
188             - "    <tr>"
189             - "      <th colspan=\"2\">"
190             - "        Writeoff added to account for [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />"
191             - "        Card number: [% credit.patron.cardnumber | html %]<br />"
192             - "      </th>"
193             - "    </tr>"
194             - "    [% END %]"
195             - "    [% IF credit.amountoutstanding + 0 != 0 %]"
196             - "    <tr>"
197             - "      <th>Description of credit</th>"
198             - "      <th>Amount</th>"
199             - "    </tr>"
200             - "    <tr>"
201             - "      <td>[%- PROCESS credit_type_description credit_type = credit.credit_type -%]</td>"
202             - "      <td>[% credit.amount * -1 | $Price %]</td>"
203             - "    </tr>"
204             - "    <tr>"
205             - "      <th style=\"text-align:right;\">Total available:</th>"
206             - "      <td>[% credit.amountoutstanding * -1 | $Price %]</td>"
207             - "    </tr>"
208             - "    [% END %]"
209             - "    [% IF credit.amount != credit.amountoutstanding %]"
210             - "    <tr>"
211             - "      <th>Description of charges</th>"
212             - "      <th>Amount</th>"
213             - "    </tr>"
214             - "    [% FOREACH offset IN credit.credit_offsets %]"
215             - "    <tr>"
216             - "      <td>[% PROCESS account_type_description account=offset.debit %][% IF ( offset.debit.itemnumber ) %] - [% offset.debit.item.biblio.title %][% END %]</td>"
217             - "      <td>[% offset.amount * -1 | $Price %]</td>"
218             - "    </tr>"
219             - "    [% END %]"
220             - "    [% END %]"
221             - "  <tfoot>"
222             - "    <tr class=\"highlight\">"
223             - "      <td>Total:</td>"
224             - "      <td>[% credit.amount * -1 | $Price %]</td>"
225             - "    </tr>"
226             - "    [% IF change.defined %]"
227             - "    <tr>"
228             - "      <td>Change given: </td>"
229             - "      <td>[% change | $Price %]</td>"
230             - "    </tr>"
231             - "    [% END %]"
232             - "    <tr>"
233             - "      <td colspan=\"2\"></td>"
234             - "    </tr>"
235             - "    <tr>"
236             - "      <td>Account balance as on date:</td>"
237             - "      <td>[% credit.patron.account.balance * -1 | $Price %]</td>"
238             - "    </tr>"
239             - "  </tfoot>"
240             - "</table>"
241
242         - module: circulation
243           code: ACCOUNT_DEBIT
244           branchcode: ""
245           name: "Account fee"
246           is_html: 1
247           title: "Account fee"
248           message_transport_type: print
249           lang: default
250           content:
251             - "[% USE Price %]"
252             - "[% USE KohaDates %]"
253             - "[% PROCESS \"accounts.inc\" %]"
254             - "<table>"
255             - "    [% IF ( LibraryName ) %]"
256             - "    <tr>"
257             - "      <th colspan=\"3\" class=\"centerednames\">"
258             - "        <h3>[% LibraryName | html %]</h3>"
259             - "      </th>"
260             - "    </tr>"
261             - "    [% END %]"
262             - "    [% IF debit.library %]"
263             - "    <tr>"
264             - "      <th colspan=\"3\" class=\"centerednames\">"
265             - "        <h2>[% debit.library.branchname | html %]</h2>"
266             - "      </th>"
267             - "    </tr>"
268             - "    [% END %]"
269             - "    <tr>"
270             - "      <td colspan=\"2\" style=\"text-align:right;\">Fee ID: </td>"
271             - "      <td>[% debit.accountlines_id %]</td>"
272             - "    </tr>"
273             - "    [% IF credit.manager_id %]"
274             - "    <tr>"
275             - "      <td colspan=\"2\" style=\"text-align:right;\">Operator ID: </td>"
276             - "      <td>[% credit.manager_id %]</td>"
277             - "    </tr>"
278             - "    [% END %]"
279             - "    <tr>"
280             - "      <th colspan=\"3\" class=\"centerednames\">"
281             - "        <h2><u>Invoice</u></h2>"
282             - "      </th>"
283             - "    </tr>"
284             - "    <tr>"
285             - "      <th colspan=\"3\" >"
286             - "        Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />"
287             - "        Card number: [% debit.patron.cardnumber | html %]<br />"
288             - "      </th>"
289             - "    </tr>"
290             - "    [% IF debit.amountoutstanding != 0 %]"
291             - "    <tr>"
292             - "      <th>Date</th>"
293             - "      <th>Description of charges</th>"
294             - "      <th>Amount</th>"
295             - "    </tr>"
296             - "    <tr>"
297             - "      <td>[% debit.date | $KohaDates %]</td>"
298             - "      <td>[% PROCESS account_type_description account=debit %]</td>"
299             - "      <td>[% debit.amount | $Price %]</td>"
300             - "    </tr>"
301             - "    <tr>"
302             - "      <td colspan=\"2\" style=\"text-align:right;\">Total owed:</td>"
303             - "      <td>[% debit.amount | $Price %]</td>"
304             - "    </tr>"
305             - "    [% END %]"
306             - "    [% IF debit.amount != debit.amountoutstanding %]"
307             - "    <tr>"
308             - "      <th>Date</th>"
309             - "      <th>Description of payments</th>"
310             - "      <th>Amount</th>"
311             - "    </tr>"
312             - "    [% FOREACH offset IN debit.debit_offsets %]"
313             - "    <tr>"
314             - "      <td>[% offset.credit.date | $KohaDates %]</td>"
315             - "      <td>[% PROCESS account_type_description account=offset.credit %]</td>"
316             - "      <td>[% offset.amount * -1 | $Price %]</td>"
317             - "    </tr>"
318             - "    [% END %]"
319             - "    <tr class=\"highlight\">"
320             - "      <td colspan=\"2\" style=\"text-align:right;\">Total paid:</td>"
321             - "      <td>[% debit.amount - debit.amountoutstanding | $Price %]</td>"
322             - "    </tr>"
323             - "    [% END %]"
324             - "    </tr>"
325             - "      <td colspan=\"3\"></td>"
326             - "    <tr>"
327             - "  <tfoot>"
328             - "    <tr>"
329             - "      <th colspan=\"2\" style=\"text-align:right;\">Total outstanding:</th>"
330             - "      <td>[% debit.amountoutstanding | $Price %]</td>"
331             - "    </tr>"
332             - "  </tfoot>"
333             - "</table>"
334
335         - module: circulation
336           code: ACCOUNT_PAYMENT
337           branchcode: ""
338           name: "Account payment"
339           is_html: 0
340           title: "Account payment"
341           message_transport_type: email
342           lang: default
343           content:
344             - "[%- USE Price -%]"
345             - "A payment of [% credit.amount * -1 | $Price %] has been applied to your account."
346             - ""
347             - "This payment affected the following fees:"
348             - "[%- FOREACH o IN offsets %]"
349             - "Description: [% o.debit.description %]"
350             - "Amount paid: [% o.amount * -1 | $Price %]"
351             - "Amount remaining: [% o.debit.amountoutstanding | $Price %]"
352             - "[% END %]"
353
354         - module: circulation
355           code: ACCOUNT_WRITEOFF
356           branchcode: ""
357           name: "Account writeoff"
358           is_html: 0
359           title: "Account writeoff"
360           message_transport_type: email
361           lang: default
362           content:
363             - "[%- USE Price -%]"
364             - "An account writeoff of [% credit.amount * -1 | $Price %] has been applied to your account."
365             - ""
366             - "This writeoff affected the following fees:"
367             - "[%- FOREACH o IN offsets %]"
368             - "Description: [% o.debit.description %]"
369             - "Amount paid: [% o.amount * -1 | $Price %]"
370             - "Amount remaining: [% o.debit.amountoutstanding | $Price %]"
371             - "[% END %]"
372
373         - module: circulation
374           code: AR_CANCELED
375           branchcode: ""
376           name: "Article request - canceled"
377           is_html: 0
378           title: "Article request canceled"
379           message_transport_type: email
380           lang: default
381           content:
382             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),"
383             - ""
384             - "Your request for an article from <<biblio.title>> (<<items.barcode>>) has been canceled for the following reason:"
385             - ""
386             - "<<reason>>"
387             - ""
388             - "Article requested:"
389             - "Title: <<article_requests.title>>"
390             - "Author: <<article_requests.author>>"
391             - "Volume: <<article_requests.volume>>"
392             - "Issue: <<article_requests.issue>>"
393             - "Date: <<article_requests.date>>"
394             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
395             - "Pages: <<article_requests.pages>>"
396             - "Chapters: <<article_requests.chapters>>"
397             - "Notes: <<article_requests.patron_notes>>"
398             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
399             - ""
400             - "Your library"
401
402         - module: circulation
403           code: AR_COMPLETED
404           branchcode: ""
405           name: "Article request - completed"
406           is_html: 0
407           title: "Article request completed"
408           message_transport_type: email
409           lang: default
410           content:
411             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),"
412             - ""
413             - "We have completed your request for an article from <<biblio.title>> (<<items.barcode>>)."
414             - ""
415             - "Article requested:"
416             - "Title: <<article_requests.title>>"
417             - "Author: <<article_requests.author>>"
418             - "Volume: <<article_requests.volume>>"
419             - "Issue: <<article_requests.issue>>"
420             - "Date: <<article_requests.date>>"
421             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
422             - "Pages: <<article_requests.pages>>"
423             - "Chapters: <<article_requests.chapters>>"
424             - "Notes: <<article_requests.patron_notes>>"
425             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
426             - ""
427             - "[% IF article_request.format == 'PHOTOCOPY' %]You may pick up your article at [% branch.branchname %].[% ELSIF article_request.format == 'SCAN' %]You can download the scanned materials via the following URL(s): [% article_request.urls %].[% END %]"
428             - ""
429             - "Thank you!"
430
431         - module: circulation
432           code: AR_PENDING
433           branchcode: ""
434           name: "Article request - pending"
435           is_html: 0
436           title: "Pending article request"
437           message_transport_type: email
438           lang: default
439           content:
440             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)"
441             - ""
442             - "Your request for an article from <<biblio.title>> (<<items.barcode>>) is now in pending state."
443             - ""
444             - "Article requested:"
445             - "Title: <<article_requests.title>>"
446             - "Author: <<article_requests.author>>"
447             - "Volume: <<article_requests.volume>>"
448             - "Issue: <<article_requests.issue>>"
449             - "Date: <<article_requests.date>>"
450             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
451             - "Pages: <<article_requests.pages>>"
452             - "Chapters: <<article_requests.chapters>>"
453             - "Notes: <<article_requests.patron_notes>>"
454             - ""
455             - ""
456             - "Thank you!"
457
458         - module: circulation
459           code: AR_REQUESTED
460           branchcode: ""
461           name: "Article request - new"
462           is_html: 0
463           title: "Article request received"
464           message_transport_type: email
465           lang: default
466           content:
467             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)"
468             - ""
469             - "We have received your request for an article from <<biblio.title>> (<<items.barcode>>)."
470             - ""
471             - "Article requested:"
472             - "Title: <<article_requests.title>>"
473             - "Author: <<article_requests.author>>"
474             - "Volume: <<article_requests.volume>>"
475             - "Issue: <<article_requests.issue>>"
476             - "Date: <<article_requests.date>>"
477             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
478             - "Pages: <<article_requests.pages>>"
479             - "Chapters: <<article_requests.chapters>>"
480             - "Notes: <<article_requests.patron_notes>>"
481             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
482             - ""
483             - "Thank you!"
484
485         - module: circulation
486           code: AR_PROCESSING
487           branchcode: ""
488           name: "Article request - processing"
489           is_html: 0
490           title: "Article request processing"
491           message_transport_type: email
492           lang: default
493           content:
494             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),"
495             - ""
496             - "We are now processing your request for an article from <<biblio.title>> (<<items.barcode>>)."
497             - ""
498             - "Article requested:"
499             - "Title: <<article_requests.title>>"
500             - "Author: <<article_requests.author>>"
501             - "Volume: <<article_requests.volume>>"
502             - "Issue: <<article_requests.issue>>"
503             - "Date: <<article_requests.date>>"
504             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
505             - "Pages: <<article_requests.pages>>"
506             - "Chapters: <<article_requests.chapters>>"
507             - "Notes: <<article_requests.patron_notes>>"
508             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
509             - ""
510             - "Thank you!"
511
512         - module: circulation
513           code: AR_SLIP
514           branchcode: ""
515           name: "Article request - print slip"
516           is_html: 0
517           title: "Article request"
518           message_transport_type: print
519           lang: default
520           content:
521             - "Article request:"
522             - ""
523             - "<<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),"
524             - ""
525             - "Title: <<biblio.title>>"
526             - "Barcode: <<items.barcode>>"
527             - ""
528             - "Article requested:"
529             - "Title: <<article_requests.title>>"
530             - "Author: <<article_requests.author>>"
531             - "Volume: <<article_requests.volume>>"
532             - "Issue: <<article_requests.issue>>"
533             - "Date: <<article_requests.date>>"
534             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
535             - "Pages: <<article_requests.pages>>"
536             - "Chapters: <<article_requests.chapters>>"
537             - "Notes: <<article_requests.patron_notes>>"
538             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
539
540         - module: circulation
541           code: CHECKIN
542           branchcode: ""
543           name: "Item check-in (digest)"
544           is_html: 0
545           title: "Check-ins"
546           message_transport_type: email
547           lang: default
548           content:
549             - "The following items have been checked in:"
550             - "----"
551             - "[% biblio.title %]"
552             - "----"
553             - "Thank you."
554
555         - module: circulation
556           code: CHECKIN
557           branchcode: ""
558           name: "Item check-in (digest)"
559           is_html: 0
560           title: "Check-ins"
561           message_transport_type: sms
562           lang: default
563           content:
564             - "The following items have been checked in:"
565             - "----"
566             - "[% biblio.title %]"
567             - "----"
568             - "Thank you."
569
570         - module: circulation
571           code: CHECKOUT
572           branchcode: ""
573           name: "Item check-out (digest)"
574           is_html: 0
575           title: "Checkouts"
576           message_transport_type: email
577           lang: default
578           content:
579             - "The following items have been checked out:"
580             - "----"
581             - "[% biblio.title %]"
582             - "----"
583             - "Thank you for visiting [% branch.branchname %]."
584
585         - module: circulation
586           code: CHECKOUT
587           branchcode: ""
588           name: "Item check-out (digest)"
589           is_html: 0
590           title: "Checkouts"
591           message_transport_type: sms
592           lang: default
593           content:
594             - "The following items have been checked out:"
595             - "----"
596             - "[% biblio.title %]"
597             - "----"
598             - "Thank you for visiting [% branch.branchname %]."
599
600         - module: circulation
601           code: CHECKOUT_NOTE
602           branchcode: ""
603           name: "Checkout note on item set by patron"
604           is_html: 0
605           title: "Checkout note"
606           message_transport_type: email
607           lang: default
608           content:
609             - "<<borrowers.firstname>> <<borrowers.surname>> has added a note to the item <<biblio.title>> - <<biblio.author>> (<<biblio.biblionumber>>)."
610
611         - module: circulation
612           code: DUE
613           branchcode: ""
614           name: "Item due reminder"
615           is_html: 0
616           title: "Item due reminder"
617           message_transport_type: email
618           lang: default
619           content:
620             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
621             - ""
622             - "The following item is now due:"
623             - ""
624             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
625
626         - module: circulation
627           code: DUE
628           branchcode: ""
629           name: "Item due reminder"
630           is_html: 0
631           title: "Item due reminder"
632           message_transport_type: sms
633           lang: default
634           content:
635             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
636             - ""
637             - "The following item is now due:"
638             - ""
639             - "<<biblio.title>>"
640
641         - module: circulation
642           code: DUEDGST
643           branchcode: ""
644           name: "Item due reminder (digest)"
645           is_html: 0
646           title: "Item due reminder"
647           message_transport_type: email
648           lang: default
649           content:
650             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
651             - ""
652             - "The following item(s) are now due:"
653             - ""
654             - "<<items.content>>"
655             - ""
656             - "Thank you."
657
658         - module: circulation
659           code: DUEDGST
660           branchcode: ""
661           name: "Item due reminder (digest)"
662           is_html: 0
663           title: "Item due reminder"
664           message_transport_type: sms
665           lang: default
666           content:
667             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
668             - ""
669             - "You have <<count>> item(s) that are now due"
670             - ""
671             - "Thank you."
672
673         - module: circulation
674           code: HOLD_SLIP
675           branchcode: ""
676           name: "Hold slip"
677           is_html: 1
678           title: "Hold slip"
679           message_transport_type: email
680           lang: default
681           content:
682             - "<h5>Date: <<today>></h5>"
683             - "<br>"
684             - "<h3> Transfer to/Hold in <<branches.branchname>></h3>"
685             - "<br>"
686             - "<h3><<borrowers.surname>>, <<borrowers.firstname>></h3>"
687             - "<br>"
688             - "<ul>"
689             - "    <li><<borrowers.cardnumber>></li>"
690             - "    <li><<borrowers.phone>></li>"
691             - "    <li> <<borrowers.address>><br />"
692             - "         <<borrowers.address2>><br />"
693             - "         <<borrowers.city>> <<borrowers.zipcode>>"
694             - "    </li>"
695             - "    <li><<borrowers.email>></li>"
696             - "</ul>"
697             - "<br />"
698             - "<h3>ITEM ON HOLD</h3>"
699             - "<h4><<biblio.title>></h4>"
700             - "<h5><<biblio.author>></h5>"
701             - "<ul>"
702             - "   <li><<items.barcode>></li>"
703             - "   <li><<items.itemcallnumber>></li>"
704             - "   <li><<reserves.waitingdate>></li>"
705             - "</ul>"
706             - "<p>Notes:"
707             - "<pre><<reserves.reservenotes>></pre>"
708             - "</p>"
709
710         - module: circulation
711           code: ISSUEQSLIP
712           branchcode: ""
713           name: "Issue quick slip"
714           is_html: 1
715           title: "Issue quick slip"
716           message_transport_type: email
717           lang: default
718           content:
719             - "[%~ USE KohaDates ~%]"
720             - "<h3><<branches.branchname>></h3>"
721             - "Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />"
722             - "(<<borrowers.cardnumber>>) <br />"
723             - "<br>"
724             - "<<today>><br />"
725             - "<br>"
726             - "<h4>Checked out today</h4>"
727             - "<checkedout>"
728             - "<p>"
729             - "<<biblio.title>> <br />"
730             - "Barcode: <<items.barcode>><br />"
731             - "Date due: <<issues.date_due>><br />"
732             - "</p>"
733             - "</checkedout>"
734
735         - module: circulation
736           code: ISSUESLIP
737           branchcode: ""
738           name: "Issue slip"
739           is_html: 1
740           title: "Issue slip"
741           message_transport_type: email
742           lang: default
743           content:
744             - "<h3><<branches.branchname>></h3>"
745             - "Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />"
746             - "(<<borrowers.cardnumber>>) <br />"
747             - "<br>"
748             - "<<today>><br />"
749             - "<br>"
750             - "<h4>Checked out</h4>"
751             - "<checkedout>"
752             - "<p>"
753             - "<<biblio.title>> <br />"
754             - "Barcode: <<items.barcode>><br />"
755             - "Date due: <<issues.date_due>><br />"
756             - "</p>"
757             - "</checkedout>"
758             - "<br>"
759             - "<h4>Overdues</h4>"
760             - "<overdue>"
761             - "<p>"
762             - "<<biblio.title>> <br />"
763             - "Barcode: <<items.barcode>><br />"
764             - "Date due: <<issues.date_due>><br />"
765             - "</p>"
766             - "</overdue>"
767             - "<br>"
768             - "<hr>"
769             - "<br>"
770             - "[% IF additional_contents.count %]"
771             - "<h4 style=\"text-align: center; font-style:italic;\">News</h4>"
772             - "[% FOREACH content IN additional_contents %]"
773             - "<div class=\"newsitem\">"
774             - "<h5 style=\"margin-bottom: 1px; margin-top: 1px\"><b>[% content.title %]</b></h5>"
775             - "<p style=\"margin-bottom: 1px; margin-top: 1px\">[% content.content %]</p>"
776             - "<p class=\"newsfooter\" style=\"font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px\">Posted on [% content.published_on | $KohaDates %]</p>"
777             - "<hr />"
778             - "</div>"
779             - "[% END %]"
780             - "[% END %]"
781
782         - module: circulation
783           code: ODUE
784           branchcode: ""
785           name: "Overdue notice"
786           is_html: 0
787           title: "Item overdue"
788           message_transport_type: email
789           lang: default
790           content:
791             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
792             - ""
793             - "According to our current records, you have items that are overdue.Your library does not charge late fines, but please return or renew them at the branch below as soon as possible."
794             - ""
795             - "<<branches.branchname>>"
796             - "<<branches.branchaddress1>>"
797             - "<<branches.branchaddress2>> <<branches.branchaddress3>>"
798             - "Phone: <<branches.branchphone>>"
799             - "Fax: <<branches.branchfax>>"
800             - "Email: <<branches.branchemail>>"
801             - ""
802             - "If you have registered a password with the library, and you have a renewal available, you may renew online. If an item becomes more than 30 days overdue, you will be unable to use your library card until the item is returned."
803             - ""
804             - "The following item(s) is/are currently overdue:"
805             - ""
806             - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>"
807             - ""
808             - "Thank-you for your prompt attention to this matter."
809             - ""
810             - "<<branches.branchname>> Staff"
811             - ""
812
813         - module: circulation
814           code: OVERDUES_SLIP
815           branchcode: ""
816           name: "Overdues slip"
817           is_html: 0
818           title: "Overdues slip"
819           message_transport_type: print
820           lang: default
821           content:
822             - "The following item(s) is/are currently overdue:"
823             - ""
824             - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>"
825             - ""
826
827         - module: circulation
828           code: PREDUE
829           branchcode: ""
830           name: "Advance notice of item due"
831           is_html: 0
832           title: "Advance notice of item due"
833           message_transport_type: email
834           lang: default
835           content:
836             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
837             - ""
838             - "The following item will be due soon:"
839             - ""
840             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
841
842         - module: circulation
843           code: PREDUE
844           branchcode: ""
845           name: "Advance notice of item due"
846           is_html: 0
847           title: "Advance notice of item due"
848           message_transport_type: sms
849           lang: default
850           content:
851             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
852             - ""
853             - "The following item will be due soon:"
854             - ""
855             - "<<biblio.title>>"
856
857         - module: circulation
858           code: PREDUEDGST
859           branchcode: ""
860           name: "Advance notice of item due (digest)"
861           is_html: 0
862           title: "Advance notice of item due"
863           message_transport_type: email
864           lang: default
865           content:
866             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
867             - ""
868             - "The following item(s) will be due soon:"
869             - ""
870             - "<<items.content>>"
871             - ""
872             - "Thank you."
873
874         - module: circulation
875           code: PREDUEDGST
876           branchcode: ""
877           name: "Advance notice of item due (digest)"
878           is_html: 0
879           title: "Advance notice of item due"
880           message_transport_type: sms
881           lang: default
882           content:
883             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
884             - ""
885             - "You have <<count>> item(s) that will be due soon."
886             - ""
887             - "Thank you."
888
889         - module: circulation
890           code: RENEWAL
891           branchcode: ""
892           name: "Item renewals"
893           is_html: 0
894           title: "Item renewals"
895           message_transport_type: email
896           lang: default
897           content:
898             - "The following items have been renewed:"
899             - "----"
900             - "<<biblio.title>>"
901             - "----"
902             - "Thank you for visiting <<branches.branchname>>."
903
904         - module: circulation
905           code: SR_SLIP
906           branchcode: ""
907           name: "Stock rotation slip"
908           is_html: 0
909           title: "Stock rotation report"
910           message_transport_type: email
911           lang: default
912           content:
913             - "Stock rotation report for [% branch.name %]:"
914             - ""
915             - "[% IF branch.items.size %][% branch.items.size %] items to be processed for this branch."
916             - "[% ELSE %]No items to be processed for this branch"
917             - "[% END %][% FOREACH item IN branch.items %][% IF item.reason != 'in-demand' %]Title: [% item.title %]"
918             - "Author: [% item.author %]"
919             - "Call number: [% item.callnumber %]"
920             - "Location: [% item.location %]"
921             - "Barcode: [% item.barcode %]"
922             - "On loan?: [% item.onloan %]"
923             - "Status: [% item.reason %]"
924             - "Current library: [% item.branch.branchname %] [% item.branch.branchcode %]"
925             - ""
926             - "[% END %][% END %]"
927
928         - module: circulation
929           code: TRANSFERSLIP
930           branchcode: ""
931           name: "Transfer slip"
932           is_html: 1
933           title: "Transfer slip"
934           message_transport_type: email
935           lang: default
936           content:
937             - "<h5>Date: <<today>></h5>"
938             - "<br>"
939             - "<h3>Transfer to <<branches.branchname>></h3>"
940             - "<br>"
941             - "<h3>ITEM</h3>"
942             - "<h4><<biblio.title>></h4>"
943             - "<h5><<biblio.author>></h5>"
944             - "<ul>"
945             - "   <li><<items.barcode>></li>"
946             - "   <li><<items.itemcallnumber>></li>"
947             - "</ul>"
948
949         - module: claimacquisition
950           code: ACQCLAIM
951           branchcode: ""
952           name: "Acquisition claim"
953           is_html: 0
954           title: "Item not received"
955           message_transport_type: email
956           lang: default
957           content:
958             - "<<aqbooksellers.name>>"
959             - "<<aqbooksellers.address1>>"
960             - "<<aqbooksellers.address2>>"
961             - "<<aqbooksellers.address3>>"
962             - "<<aqbooksellers.address4>>"
963             - "<<aqbooksellers.phone>>"
964             - ""
965             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (<<aqorders.quantity>> ordered) ($<<aqorders.listprice>> each) has not been received.</order>"
966
967         - module: ill
968           code: ILL_PICKUP_READY
969           branchcode: ""
970           name: "ILL request ready for pickup"
971           is_html: 0
972           title: "Interlibrary loan request ready for pickup"
973           message_transport_type: email
974           lang: default
975           content:
976             - "Dear [% borrower.firstname %] [% borrower.surname %],"
977             - ""
978             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:"
979             - ""
980             - "- [% ill_bib_title %] - [% ill_bib_author %]"
981             - ""
982             - "is ready for pick up from [% branch.branchname %]."
983             - ""
984             - "Kind regards"
985             - ""
986             - "[% branch.branchname %]"
987             - "[% branch.branchaddress1 %]"
988             - "[% branch.branchaddress2 %]"
989             - "[% branch.branchaddress3 %]"
990             - "[% branch.branchcity %]"
991             - "[% branch.branchstate %]"
992             - "[% branch.branchzip %]"
993             - "[% branch.branchphone %]"
994             - "[% branch.branchillemail %]"
995             - "[% branch.branchemail %]"
996
997         - module: ill
998           code: ILL_REQUEST_UNAVAIL
999           branchcode: ""
1000           name: "ILL request unavailable"
1001           is_html: 0
1002           title: "Interlibrary loan request unavailable"
1003           message_transport_type: email
1004           lang: default
1005           content:
1006             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1007             - ""
1008             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1009             - ""
1010             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1011             - ""
1012             - "is unfortunately unavailable."
1013             - ""
1014             - "Kind regards"
1015             - ""
1016             - "[% branch.branchname %]"
1017             - "[% branch.branchaddress1 %]"
1018             - "[% branch.branchaddress2 %]"
1019             - "[% branch.branchaddress3 %]"
1020             - "[% branch.branchcity %]"
1021             - "[% branch.branchstate %]"
1022             - "[% branch.branchzip %]"
1023             - "[% branch.branchphone %]"
1024             - "[% branch.branchillemail %]"
1025             - "[% branch.branchemail %]"
1026
1027         - module: ill
1028           code: ILL_REQUEST_CANCEL
1029           branchcode: ""
1030           name: "ILL request cancelled"
1031           is_html: 0
1032           title: "Interlibrary loan request cancelled"
1033           message_transport_type: email
1034           lang: default
1035           content:
1036             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:"
1037             - ""
1038             - "[% ill_full_metadata %]"
1039
1040         - module: ill
1041           code: ILL_REQUEST_MODIFIED
1042           branchcode: ""
1043           name: "ILL request modified"
1044           is_html: 0
1045           title: "Interlibrary loan request modified"
1046           message_transport_type: email
1047           lang: default
1048           content:
1049             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:"
1050             - ""
1051             - "[% ill_full_metadata %]"
1052
1053         - module: ill
1054           code: ILL_PARTNER_REQ
1055           branchcode: ""
1056           name: "ILL request to partners"
1057           is_html: 0
1058           title: "Interlibrary loan request to partners"
1059           message_transport_type: email
1060           lang: default
1061           content:
1062             - "Dear Sir/Madam,"
1063             - ""
1064             - "We would like to request an interlibrary loan for a title matching the following description:"
1065             - ""
1066             - "[% ill_full_metadata %]"
1067             - ""
1068             - "Please let us know if you are able to supply this to us."
1069             - ""
1070             - "Kind regards"
1071             - ""
1072             - "[% branch.branchname %]"
1073             - "[% branch.branchaddress1 %]"
1074             - "[% branch.branchaddress2 %]"
1075             - "[% branch.branchaddress3 %]"
1076             - "[% branch.branchcity %]"
1077             - "[% branch.branchstate %]"
1078             - "[% branch.branchzip %]"
1079             - "[% branch.branchphone %]"
1080             - "[% branch.branchillemail %]"
1081             - "[% branch.branchemail %]"
1082
1083         - module: ill
1084           code: ILL_REQUEST_UPDATE
1085           branchcode: ""
1086           name: "ILL request update"
1087           is_html: 0
1088           title: "Interlibrary loan request update"
1089           message_transport_type: email
1090           lang: default
1091           content:
1092             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1093             - ""
1094             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1095             - ""
1096             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1097             - ""
1098             - "has been updated."
1099             - ""
1100             - "Details of the update are below:"
1101             - ""
1102             - "[% additional_text %]"
1103             - ""
1104             - "Kind regards"
1105             - ""
1106             - "[% branch.branchname %]"
1107             - "[% branch.branchaddress1 %]"
1108             - "[% branch.branchaddress2 %]"
1109             - "[% branch.branchaddress3 %]"
1110             - "[% branch.branchcity %]"
1111             - "[% branch.branchstate %]"
1112             - "[% branch.branchzip %]"
1113             - "[% branch.branchphone %]"
1114             - "[% branch.branchillemail %]"
1115             - "[% branch.branchemail %]"
1116
1117         - module: ill
1118           code: ILL_PICKUP_READY
1119           branchcode: ""
1120           name: "ILL request ready for pickup"
1121           is_html: 0
1122           title: "Interlibrary loan request ready for pickup"
1123           message_transport_type: sms
1124           lang: default
1125           content:
1126             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1127             - ""
1128             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:"
1129             - ""
1130             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1131             - ""
1132             - "is ready for pick up from [% branch.branchname %]."
1133             - ""
1134             - "Kind regards"
1135             - ""
1136             - "[% branch.branchname %]"
1137             - "[% branch.branchaddress1 %]"
1138             - "[% branch.branchaddress2 %]"
1139             - "[% branch.branchaddress3 %]"
1140             - "[% branch.branchcity %]"
1141             - "[% branch.branchstate %]"
1142             - "[% branch.branchzip %]"
1143             - "[% branch.branchphone %]"
1144             - "[% branch.branchillemail %]"
1145             - "[% branch.branchemail %]"
1146
1147         - module: ill
1148           code: ILL_REQUEST_UNAVAIL
1149           branchcode: ""
1150           name: "ILL request unavailable"
1151           is_html: 0
1152           title: "Interlibrary loan request unavailable"
1153           message_transport_type: sms
1154           lang: default
1155           content:
1156             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1157             - ""
1158             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1159             - ""
1160             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1161             - ""
1162             - "is unfortunately unavailable."
1163             - ""
1164             - "Kind regards"
1165             - ""
1166             - "[% branch.branchname %]"
1167             - "[% branch.branchaddress1 %]"
1168             - "[% branch.branchaddress2 %]"
1169             - "[% branch.branchaddress3 %]"
1170             - "[% branch.branchcity %]"
1171             - "[% branch.branchstate %]"
1172             - "[% branch.branchzip %]"
1173             - "[% branch.branchphone %]"
1174             - "[% branch.branchillemail %]"
1175             - "[% branch.branchemail %]"
1176
1177         - module: ill
1178           code: ILL_REQUEST_CANCEL
1179           branchcode: ""
1180           name: "ILL request cancelled"
1181           is_html: 0
1182           title: "Interlibrary loan request cancelled"
1183           message_transport_type: sms
1184           lang: default
1185           content:
1186             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:"
1187             - ""
1188             - "[% ill_full_metadata %]"
1189
1190         - module: ill
1191           code: ILL_REQUEST_MODIFIED
1192           branchcode: ""
1193           name: "ILL request modified"
1194           is_html: 0
1195           title: "Interlibrary loan request modified"
1196           message_transport_type: sms
1197           lang: default
1198           content:
1199             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:"
1200             - ""
1201             - "[% ill_full_metadata %]"
1202
1203         - module: ill
1204           code: ILL_PARTNER_REQ
1205           branchcode: ""
1206           name: "ILL request to partners"
1207           is_html: 0
1208           title: "Interlibrary loan request to partners"
1209           message_transport_type: sms
1210           lang: default
1211           content:
1212             - "Dear Sir/Madam,"
1213             - ""
1214             - "We would like to request an interlibrary loan for a title matching the following description:"
1215             - ""
1216             - "[% ill_full_metadata %]"
1217             - ""
1218             - "Please let us know if you are able to supply this to us."
1219             - ""
1220             - "Kind regards"
1221             - ""
1222             - "[% branch.branchname %]"
1223             - "[% branch.branchaddress1 %]"
1224             - "[% branch.branchaddress2 %]"
1225             - "[% branch.branchaddress3 %]"
1226             - "[% branch.branchcity %]"
1227             - "[% branch.branchstate %]"
1228             - "[% branch.branchzip %]"
1229             - "[% branch.branchphone %]"
1230             - "[% branch.branchillemail %]"
1231             - "[% branch.branchemail %]"
1232
1233         - module: ill
1234           code: ILL_REQUEST_UPDATE
1235           branchcode: ""
1236           name: "ILL request update"
1237           is_html: 0
1238           title: "Interlibrary loan request update"
1239           message_transport_type: sms
1240           lang: default
1241           content:
1242             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1243             - ""
1244             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1245             - ""
1246             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1247             - ""
1248             - "has been updated."
1249             - ""
1250             - "Details of the update are below:"
1251             - ""
1252             - "[% additional_text %]"
1253             - ""
1254             - "Kind regards"
1255             - ""
1256             - "[% branch.branchname %]"
1257             - "[% branch.branchaddress1 %]"
1258             - "[% branch.branchaddress2 %]"
1259             - "[% branch.branchaddress3 %]"
1260             - "[% branch.branchcity %]"
1261             - "[% branch.branchstate %]"
1262             - "[% branch.branchzip %]"
1263             - "[% branch.branchphone %]"
1264             - "[% branch.branchillemail %]"
1265             - "[% branch.branchemail %]"
1266
1267         - module: members
1268           code: DISCHARGE
1269           branchcode: ""
1270           name: "Discharge confirmation"
1271           is_html: 1
1272           title: "Discharge for <<borrowers.firstname>> <<borrowers.surname>>"
1273           message_transport_type: email
1274           lang: default
1275           content:
1276             - ""
1277             - "<<today>>"
1278             - "<h1>Discharge confirmation</h1>"
1279             - "<p><<branches.branchname>> certifies that the following borrower:<br>"
1280             - "<<borrowers.firstname>> <<borrowers.surname>> (cardnumber: <<borrowers.cardnumber>>)<br>"
1281             - "has returned all items.</p>"
1282
1283         - module: members
1284           code: MEMBERSHIP_EXPIRY
1285           branchcode: ""
1286           name: "Account expiration"
1287           is_html: 0
1288           title: "Account expiration"
1289           message_transport_type: email
1290           lang: default
1291           content:
1292             - "Dear <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>,"
1293             - ""
1294             - "Your library card will expire soon, on:"
1295             - ""
1296             - "<<borrowers.dateexpiry>>"
1297             - ""
1298             - "Thank you,"
1299             - ""
1300             - "Librarian"
1301             - ""
1302             - "<<branches.branchname>>"
1303
1304         - module: members
1305           code: MEMBERSHIP_RENEWED
1306           branchcode: ""
1307           name: "Account renewal"
1308           is_html: 0
1309           title: "Account renewal"
1310           message_transport_type: email
1311           lang: default
1312           content:
1313             - "[%- USE Price -%]"
1314             - "Dear [% borrower.title %] [% borrower.firstname %] [% borrower.surname %],"
1315             - ""
1316             - "Your library account has been renewed. The new expiry date is: [% borrower.dateexpiry %]."
1317             - "[% IF borrower.category.enrolmentfee > 0 %]\nAn enrollment fee of [% borrower.category.enrolmentfee | $Price with_symbol => 1 %] has been applied.\n[% END %]"
1318             - "Thank you,"
1319             - ""
1320             - "Your library,"
1321             - ""
1322             - "[% branch.branchname %]"
1323
1324         - module: members
1325           code: OPAC_REG_VERIFY
1326           branchcode: ""
1327           name: "OPAC self-registration verification email"
1328           is_html: 0
1329           title: "Verify your account"
1330           message_transport_type: email
1331           lang: default
1332           content:
1333             - "Hello!"
1334             - ""
1335             - "Your library account has been created. Please verify your email address by clicking this link to complete the signup process:"
1336             - ""
1337             - "<<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower_modifications.verification_token>>"
1338             - ""
1339             - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
1340
1341         - module: members
1342           code: PASSWORD_CHANGE
1343           branchcode: ""
1344           name: "Notification of password change"
1345           is_html: 0
1346           title: "Library account password change notification"
1347           message_transport_type: email
1348           lang: default
1349           content:
1350             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1351             - ""
1352             - "We want to notify you that your password has been changed. If you did not change it yourself (or requested that change), please contact library staff."
1353             - ""
1354             - "Your library."
1355
1356         - module: members
1357           code: PASSWORD_RESET
1358           branchcode: ""
1359           name: "Online password reset"
1360           is_html: 1
1361           title: "Koha password recovery"
1362           message_transport_type: email
1363           lang: default
1364           content:
1365             - "<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>."
1366             - "</p>"
1367             - "<p>"
1368             - "You can now create your new password using the following link:"
1369             - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
1370             - "</p>"
1371             - "<p>This link will be valid for 2 days from this email's reception, then you must reapply if you do not change your password.</p>"
1372             - "<p>Thank you.</p>"
1373
1374         - module: members
1375           code: STAFF_PASSWORD_RESET
1376           branchcode: ""
1377           name: "Online password reset"
1378           is_html: 1
1379           title: "Koha password reset"
1380           message_transport_type: email
1381           lang: default
1382           content:
1383             - "<p>A librarian has reset the password for the account <strong><<user>></strong>."
1384             - "</p>"
1385             - "<p>"
1386             - "Please create your new password using the following link:"
1387             - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
1388             - "</p>"
1389             - "<p>This link will be valid for 5 days from this email's reception, then you must reapply if you do not change your password.</p>"
1390             - "<p>Thank you.</p>"
1391
1392         - module: members
1393           code: SHARE_ACCEPT
1394           branchcode: ""
1395           name: "Notification about an accepted share"
1396           is_html: 0
1397           title: "Share on list <<listname>> accepted"
1398           message_transport_type: email
1399           lang: default
1400           content:
1401             - "Dear patron,"
1402             - ""
1403             - "We want to inform you that <<borrowers.firstname>> <<borrowers.surname>> accepted your invitation to share your list <<listname>> in our library catalog."
1404             - ""
1405             - "Thank you."
1406             - ""
1407             - "Your library."
1408
1409         - module: members
1410           code: SHARE_INVITE
1411           branchcode: ""
1412           name: "Invitation for sharing a list"
1413           is_html: 0
1414           title: "Share list <<listname>>"
1415           message_transport_type: email
1416           lang: default
1417           content:
1418             - "Dear patron,"
1419             - ""
1420             - "One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share a list <<listname>> in our library catalog."
1421             - ""
1422             - "To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar."
1423             - ""
1424             - "<<shareurl>>"
1425             - ""
1426             - "In case you are not a patron in our library or do not want to accept this invitation, please ignore this mail. Note also that this invitation expires within two weeks."
1427             - ""
1428             - "Thank you."
1429             - ""
1430             - "Your library."
1431
1432         - module: members
1433           code: WELCOME
1434           branchcode: ""
1435           name: "Welcome notice "
1436           is_html: 1
1437           title: "[% USE Koha %][% IF Koha.Preference('LibraryName') %]Welcome to [% Koha.Preference('LibraryName') %][% ELSE %]Welcome to the library[% END %]"
1438           message_transport_type: email
1439           lang: default
1440           content:
1441             - "[% USE Koha %]"
1442             - "Hello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %].<br>"
1443             - "<br>"
1444             - "Thank you for joining [% IF Koha.Preference('LibraryName') %][% Koha.Preference('LibraryName') %][% ELSE %]the library[% END %]<br>"
1445             - "<br>"
1446             - "You can search for all our materials in our <a href='[% Koha.Preference('OPACBaseURL') %]'>catalog</a>.<br>"
1447             - "<br>"
1448             - "Your library card number is [% borrower.cardnumber %]<br>"
1449             - "<br>"
1450             - "If you have any problems or questions regarding your account, please contact the library."
1451
1452         - module: members
1453           code: 2FA_OTP_TOKEN
1454           branchcode: ""
1455           name: "two-authentication step token"
1456           is_html: 0
1457           title: "Two-authentication token"
1458           message_transport_type: email
1459           lang: default
1460           content:
1461             - "Dear [% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])"
1462             - ""
1463             - "Your authentication token is [% otp_token %]."
1464             - "It is valid one minute."
1465
1466         - module: members
1467           code: ACCOUNTS_SUMMARY
1468           branchcode: ""
1469           name: "Account balance slip"
1470           is_html: 1
1471           title: "Account summary for [% borrower.firstname %] [% borrower.surname %]"
1472           message_transport_type: print
1473           lang: default
1474           content:
1475             - "[% USE Branches %]"
1476             - "[% USE Koha %]"
1477             - "[% USE KohaDates %]"
1478             - "[% USE Price %]"
1479             - "[% PROCESS 'accounts.inc' %]"
1480             - "<table>"
1481             - "  [% IF ( Koha.Preference('LibraryName') ) %]"
1482             - "    <tr>"
1483             - "      <th colspan='4' class='centerednames'>"
1484             - "        <h1>[% Koha.Preference('LibraryName') | html %]</h1>"
1485             - "      </th>"
1486             - "    </tr>"
1487             - "  [% END %]"
1488             - ""
1489             - "  <tr>"
1490             - "    <th colspan='4' class='centerednames'>"
1491             - "      <h2>[% Branches.GetName( borrower.branchcode ) | html %]</h2>"
1492             - "    </th>"
1493             - "  </tr>"
1494             - ""
1495             - "  <tr>"
1496             - "    <th colspan='4' class='centerednames'>"
1497             - "      <h3>Outstanding accounts</h3>"
1498             - "    </th>"
1499             - "  </tr>"
1500             - ""
1501             - "  <tr>"
1502             - "    <th colspan='4' class='centerednames'>"
1503             - "      <h4>Debts</h4>"
1504             - "    </th>"
1505             - "  </tr>"
1506             - "  [% IF borrower.account.outstanding_debits.total_outstanding %]"
1507             - "  <tr>"
1508             - "    <th>Date</th>"
1509             - "    <th>Charge</th>"
1510             - "    <th>Amount</th>"
1511             - "    <th>Outstanding</th>"
1512             - "  </tr>"
1513             - "  [% FOREACH debit IN borrower.account.outstanding_debits %]"
1514             - "  <tr>"
1515             - "    <td>[% debit.date | $KohaDates %]</td>"
1516             - "    <td>"
1517             - "      [% PROCESS account_type_description account=debit %]"
1518             - "      [%- IF debit.description %], [% debit.description | html %][% END %]"
1519             - "    </td>"
1520             - "    <td class='debit'>[% debit.amount | $Price %]</td>"
1521             - "    <td class='debit'>[% debit.amountoutstanding | $Price %]</td>"
1522             - "  </tr>"
1523             - "  [% END %]"
1524             - "  [% ELSE %]"
1525             - "  <tr>"
1526             - "    <td colspan='4'>There are no outstanding debts on your account</td>"
1527             - "  </tr>"
1528             - "  [% END %]"
1529             - ""
1530             - "  <tr>"
1531             - "    <th colspan='4' class='centerednames'>"
1532             - "      <h4>Credits</h4>"
1533             - "    </th>"
1534             - "  </tr>"
1535             - "  [% IF borrower.account.outstanding_credits.total_outstanding %]"
1536             - "  <tr>"
1537             - "    <th>Date</th>"
1538             - "    <th>Credit</th>"
1539             - "    <th>Amount</th>"
1540             - "    <th>Outstanding</th>"
1541             - "  </tr>"
1542             - "  [% FOREACH credit IN borrower.account.outstanding_credits %]"
1543             - "  <tr>"
1544             - "    <td>[% credit.date | $KohaDates%]</td>"
1545             - "    <td>"
1546             - "      [% PROCESS account_type_description account=credit %]"
1547             - "      [%- IF credit.description %], [% credit.description | html %][% END %]"
1548             - "    </td>"
1549             - "    <td class='credit'>[% credit.amount *-1 | $Price %]</td>"
1550             - "    <td class='credit'>[% credit.amountoutstanding *-1 | $Price %]</td>"
1551             - "  </tr>"
1552             - "  [% END %]"
1553             - "  [% ELSE %]"
1554             - "  <tr>"
1555             - "    <td colspan='4'>There are no outstanding credits on your account</td>"
1556             - "  </tr>"
1557             - "  [% END %]"
1558             - ""
1559             - "  <tfoot>"
1560             - "    <td colspan='3'>"
1561             - "      [% IF borrower.account.balance < 0 %]"
1562             - "        Total credit as of [% today | $KohaDates %]:"
1563             - "      [% ELSE %]"
1564             - "        Total outstanding dues as of [% today | $KohaDates %]:"
1565             - "      [% END %]"
1566             - "    </td>"
1567             - "    [% IF ( borrower.account.balance <= 0 ) %]<td class='credit'>[% borrower.account.balance * -1 | $Price %]</td>"
1568             - "    [% ELSE %]<td class='debit'>[% borrower.account.balance | $Price %]</td>[% END %]"
1569             - "  </tfoot>"
1570             - "</table>"
1571
1572         - module: orderacquisition
1573           code: ACQORDER
1574           branchcode: ""
1575           name: "Acquisition order"
1576           is_html: 0
1577           title: "Order"
1578           message_transport_type: email
1579           lang: default
1580           content:
1581             - "<<aqbooksellers.name>>"
1582             - "<<aqbooksellers.address1>>"
1583             - "<<aqbooksellers.address2>>"
1584             - "<<aqbooksellers.address3>>"
1585             - "<<aqbooksellers.address4>>"
1586             - "<<aqbooksellers.phone>>"
1587             - ""
1588             - "Please order for the library:"
1589             - ""
1590             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (quantity: <<aqorders.quantity>>) ($<<aqorders.listprice>> each).</order>"
1591             - ""
1592             - "Thank you,"
1593             - ""
1594             - "<<branches.branchname>>"
1595
1596         - module: pos
1597           code: RECEIPT
1598           branchcode: ""
1599           name: "Point of sale receipt"
1600           is_html: 1
1601           title: "Receipt"
1602           message_transport_type: print
1603           lang: default
1604           content:
1605             - "[% USE KohaDates %]"
1606             - "[% USE Branches %]"
1607             - "[% USE Price %]"
1608             - "[% PROCESS \"accounts.inc\" %]"
1609             - "<table>"
1610             - "[% IF ( LibraryName ) %]"
1611             - " <tr>"
1612             - "    <th colspan=\"2\" class=\"centerednames\">"
1613             - "        <h3>[% LibraryName | html %]</h3>"
1614             - "    </th>"
1615             - " </tr>"
1616             - "[% END %]"
1617             - " <tr>"
1618             - "    <th colspan=\"2\" class=\"centerednames\">"
1619             - "        <h2>[% Branches.GetName( credit.branchcode ) | html %]</h2>"
1620             - "    </th>"
1621             - " </tr>"
1622             - "<tr>"
1623             - "    <th colspan=\"2\" class=\"centerednames\">"
1624             - "        <h3>[% credit.date | $KohaDates %]</h3>"
1625             - "</tr>"
1626             - "<tr>"
1627             - "  <td>Transaction ID: </td>"
1628             - "  <td>[% credit.accountlines_id %]</td>"
1629             - "</tr>"
1630             - "<tr>"
1631             - "  <td>Operator ID: </td>"
1632             - "  <td>[% credit.manager_id %]</td>"
1633             - "</tr>"
1634             - "<tr>"
1635             - "  <td>Payment type: </td>"
1636             - "  <td>[% credit.payment_type %]</td>"
1637             - "</tr>"
1638             - " <tr></tr>"
1639             - " <tr>"
1640             - "    <th colspan=\"2\" class=\"centerednames\">"
1641             - "        <h2><u>Fee receipt</u></h2>"
1642             - "    </th>"
1643             - " </tr>"
1644             - " <tr></tr>"
1645             - " <tr>"
1646             - "    <th>Description of charges</th>"
1647             - "    <th>Amount</th>"
1648             - "  </tr>"
1649             - ""
1650             - "  [% FOREACH debit IN credit.debits %]"
1651             - "    <tr>"
1652             - "        <td>[% PROCESS account_type_description account=debit %]</td>"
1653             - "        <td>[% debit.amount * -1 | $Price %]</td>"
1654             - "    </tr>"
1655             - "  [% END %]"
1656             - ""
1657             - "<tfoot>"
1658             - "  <tr class=\"highlight\">"
1659             - "    <td>Total: </td>"
1660             - "    <td>[% credit.amount * -1| $Price %]</td>"
1661             - "  </tr>"
1662             - "  <tr>"
1663             - "    <td>Tendered: </td>"
1664             - "    <td>[% collected | $Price %]</td>"
1665             - "  </tr>"
1666             - "  <tr>"
1667             - "    <td>Change: </td>"
1668             - "    <td>[% change | $Price %]</td>"
1669             - "    </tr>"
1670             - "</tfoot>"
1671             - "</table>"
1672
1673         - module: pos
1674           code: RECEIPT
1675           branchcode: ""
1676           name: "Point of sale receipt"
1677           is_html: 1
1678           title: "Receipt"
1679           message_transport_type: email
1680           lang: default
1681           content:
1682             - "[% USE KohaDates %]"
1683             - "[% USE Branches %]"
1684             - "[% USE Price %]"
1685             - "[% PROCESS \"accounts.inc\" %]"
1686             - "<table>"
1687             - "    [% IF ( LibraryName ) %]"
1688             - "    <tr>"
1689             - "      <th colspan=\"2\" class=\"centerednames\">"
1690             - "        <h3>[% LibraryName | html %]</h3>"
1691             - "      </th>"
1692             - "    </tr>"
1693             - "    [% END %]"
1694             - "    [% IF credit.library %]"
1695             - "    <tr>"
1696             - "      <th colspan=\"2\" class=\"centerednames\">"
1697             - "        <h2>[% payment.library.branchname | html %]</h2>"
1698             - "      </th>"
1699             - "    </tr>"
1700             - "    [% END %]"
1701             - "    <tr>"
1702             - "      <th colspan=\"2\" class=\"centerednames\">"
1703             - "        <h3>[% payment.date | $KohaDates %]</h3>"
1704             - "      </th>"
1705             - "    </tr>"
1706             - "    <tr>"
1707             - "      <td>Transaction ID: </td>"
1708             - "      <td>[% payment.accountlines_id %]</td>"
1709             - "    </tr>"
1710             - "    <tr>"
1711             - "      <td>Operator ID: </td>"
1712             - "      <td>[% payment.manager_id %]</td>"
1713             - "    </tr>"
1714             - "    <tr>"
1715             - "      <td>Payment type: </td>"
1716             - "      <td>[% payment.payment_type %]</td>"
1717             - "    </tr>"
1718             - "    <tr>"
1719             - "      <th colspan=\"2\" class=\"centerednames\">"
1720             - "        <h2><u>Payment receipt</u></h2>"
1721             - "      </th>"
1722             - "    </tr>"
1723             - "    <tr>"
1724             - "      <th>Description of charges</th>"
1725             - "      <th>Amount</th>"
1726             - "    </tr>"
1727             - "    [% FOREACH offset IN payment.credit_offsets %]"
1728             - "    <tr>"
1729             - "        <td>[% PROCESS account_type_description account=debit %]</td>"
1730             - "        <td>[% debit.amount * -1 | $Price %]</td>"
1731             - "    </tr>"
1732             - "    [% END %]"
1733             - "  <tfoot>"
1734             - "    <tr class=\"highlight\">"
1735             - "      <td>Total:</td>"
1736             - "      <td>[% payment.amount * -1 | $Price %]</td>"
1737             - "    </tr>"
1738             - "    <tr>"
1739             - "      <td>Tendered: </td>"
1740             - "      <td>[% collected | $Price %]</td>"
1741             - "    </tr>"
1742             - "    <tr>"
1743             - "      <td>Change given:</td>"
1744             - "      <td>[% change | $Price %]</td>"
1745             - "    </tr>"
1746             - "  </tfoot>"
1747             - "</table>"
1748
1749         - module: reserves
1750           code: CANCEL_HOLD_ON_LOST
1751           branchcode: ""
1752           name: "Hold has been cancelled"
1753           is_html: 0
1754           title: "Hold has been cancelled"
1755           message_transport_type: email
1756           lang: default
1757           content:
1758             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1759             - ""
1760             - "We regret to inform you, that the following item can not be provided due to it being missing. Your hold was cancelled."
1761             - ""
1762             - "Title: [% biblio.title %]"
1763             - "Author: [% biblio.author %]"
1764             - "Copy: [% item.copynumber %]"
1765             - "Location: [% branch.branchname %]"
1766
1767         - module: reserves
1768           code: HOLD
1769           branchcode: ""
1770           name: "Hold available for pickup"
1771           is_html: 0
1772           title: "Hold available for pickup at <<branches.branchname>>"
1773           message_transport_type: email
1774           lang: default
1775           content:
1776             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1777             - ""
1778             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1779             - ""
1780             - "Title: <<biblio.title>>"
1781             - "Author: <<biblio.author>>"
1782             - "Copy: <<items.copynumber>>"
1783             - "Location: <<branches.branchname>>"
1784             - "<<branches.branchaddress1>>"
1785             - "<<branches.branchaddress2>>"
1786             - "<<branches.branchaddress3>>"
1787             - "<<branches.branchcity>> <<branches.branchzip>>"
1788
1789         - module: reserves
1790           code: HOLDDGST
1791           branchcode: ""
1792           name: "Hold(s) available for pickup"
1793           is_html: 0
1794           title: "Hold(s) available for pickup"
1795           message_transport_type: email
1796           lang: default
1797           content:
1798             - "You have one or more holds available for pickup:"
1799             - "----"
1800             - "Title: [% hold.biblio.title %]"
1801             - "Author: [% hold.biblio.author %]"
1802             - "Copy: [% hold.item.copynumber %]"
1803             - "Waiting since: [% hold.waitingdate %]"
1804             - "Waiting at: [% hold.branch.branchname %]"
1805             - "[% hold.branch.branchaddress1 %]"
1806             - "[% hold.branch.branchaddress2 %]"
1807             - "[% hold.branch.branchaddress3 %]"
1808             - "[% hold.branch.branchcity %] [% hold.branch.branchzip %]"
1809             - "----"
1810             - "Thank you!"
1811
1812         - module: reserves
1813           code: HOLDDGST
1814           branchcode: ""
1815           name: "Hold(s) available for pickup"
1816           is_html: 0
1817           title: "Hold(s) available for pickup"
1818           message_transport_type: sms
1819           lang: default
1820           content:
1821             - "You have one or more holds available for pickup:"
1822             - ""
1823             - "----"
1824             - "Title: [% hold.biblio.title %]"
1825             - "----"
1826
1827         - module: reserves
1828           code: HOLD
1829           branchcode: ""
1830           name: "Hold available for pickup"
1831           is_html: 0
1832           title: "Hold available for pickup at <<branches.branchname>>"
1833           message_transport_type: sms
1834           lang: default
1835           content:
1836             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1837             - ""
1838             - "Your hold for <<biblio.title>> is available for pickup."
1839
1840         - module: reserves
1841           code: HOLD
1842           branchcode: ""
1843           name: "Hold available for pickup"
1844           is_html: 0
1845           title: "Hold available for pickup (print notice)"
1846           message_transport_type: print
1847           lang: default
1848           content:
1849             - "<<branches.branchname>>"
1850             - "<<branches.branchaddress1>>"
1851             - "<<branches.branchaddress2>>"
1852             - ""
1853             - ""
1854             - "Change service requested"
1855             - ""
1856             - ""
1857             - ""
1858             - ""
1859             - ""
1860             - ""
1861             - ""
1862             - "<<borrowers.firstname>> <<borrowers.surname>>"
1863             - "<<borrowers.address>>"
1864             - "<<borrowers.city>> <<borrowers.zipcode>>"
1865             - ""
1866             - ""
1867             - ""
1868             - ""
1869             - ""
1870             - ""
1871             - ""
1872             - ""
1873             - ""
1874             - ""
1875             - "<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>"
1876             - ""
1877             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1878             - ""
1879             - "Title: <<biblio.title>>"
1880             - "Author: <<biblio.author>>"
1881             - "Copy: <<items.copynumber>>"
1882             - ""
1883
1884         - module: reserves
1885           code: HOLDPLACED
1886           branchcode: ""
1887           name: "Hold placed on item"
1888           is_html: 0
1889           title: "Hold placed on item"
1890           message_transport_type: email
1891           lang: default
1892           content:
1893             - "A hold has been placed on the following item : <<biblio.title>> (<<biblio.biblionumber>>) by the user <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1894
1895         - module: reserves
1896           code: HOLD_CHANGED
1897           branchcode: ""
1898           name: "Canceled hold available for different patron"
1899           is_html: 0
1900           title: "Canceled hold available for different patron"
1901           message_transport_type: email
1902           lang: default
1903           content:
1904             - "The patron picking up <<biblio.title>> (<<items.barcode>>) has changed to <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1905             - "Please update the hold information for this item."
1906             - "Title: <<biblio.title>>"
1907             - "Author: <<biblio.author>>"
1908             - "Item: <<items.itemcallnumber>>"
1909             - "Pickup location: <<branches.branchname>>"
1910
1911         - module: reserves
1912           code: HOLD_REMINDER
1913           branchcode: ""
1914           name: "Waiting hold reminder"
1915           is_html: 0
1916           title: "You have waiting holds."
1917           message_transport_type: email
1918           lang: default
1919           content:
1920             - "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe following holds are waiting at [% branch.branchname %]:\n\n[% FOREACH hold IN holds %]\n    [% hold.biblio.title %] : waiting since [% hold.waitingdate | $KohaDates %]\n[% END %]"
1921
1922         - module: reserves
1923           code: NEW_CURBSIDE_PICKUP
1924           branchcode: ""
1925           name: "New curbside pickup"
1926           is_html: 0
1927           title: "You have scheduled a curbside pickup for [% branch.branchname %]"
1928           message_transport_type: email
1929           lang: default
1930           content:
1931             - "[%- USE KohaDates -%]"
1932             - "[%- SET cp = curbside_pickup -%]"
1933             - ""
1934             - "You have a curbside pickup scheduled for [% cp.scheduled_pickup_datetime | $KohaDates with_hours => 1 %] at [% cp.library.branchname %]."
1935             - "Any holds waiting for you at the pickup time will be included in this pickup. At this time, that list includes:\n[%- FOREACH h IN cp.patron.holds %]\n[%- IF h.branchcode == cp.branchcode && h.found == 'W' %]\n* [% h.biblio.title %], [% h.biblio.author %] ([% h.item.barcode %])\n[%- END %]\n[%- END %]"
1936             - ""
1937             - "Once you have arrived, please call your library or log into your account and click the \"Alert staff of your arrival\" button to let them know you are there."
1938
1939         - module: serial
1940           code: SERIAL_ALERT
1941           branchcode: ""
1942           name: "New serial issue"
1943           is_html: 0
1944           title: "New serial issue is now available"
1945           message_transport_type: email
1946           lang: default
1947           content:
1948             - "<<borrowers.firstname>> <<borrowers.surname>>,"
1949             - ""
1950             - "The following issue is now available:"
1951             - ""
1952             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
1953             - ""
1954             - "Please pick it up at your convenience."
1955
1956         - module: suggestions
1957           code: ACCEPTED
1958           branchcode: ""
1959           name: "Suggestion accepted"
1960           is_html: 0
1961           title: "Purchase suggestion accepted"
1962           message_transport_type: email
1963           lang: default
1964           content:
1965             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1966             - ""
1967             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1968             - ""
1969             - "The library has reviewed your suggestion today. The item will be ordered as soon as possible. You will be notified by mail when the order is completed, and again when the item arrives at the library."
1970             - ""
1971             - "If you have any questions, please email us at <<branches.branchemail>>."
1972             - ""
1973             - "Thank you,"
1974             - ""
1975             - "<<branches.branchname>>"
1976
1977         - module: suggestions
1978           code: AVAILABLE
1979           branchcode: ""
1980           name: "Suggestion available"
1981           is_html: 0
1982           title: "Suggested purchase available"
1983           message_transport_type: email
1984           lang: default
1985           content:
1986             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1987             - ""
1988             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1989             - ""
1990             - "We are pleased to inform you that the item you requested is now part of the collection."
1991             - ""
1992             - "If you have any questions, please email us at <<branches.branchemail>>."
1993             - ""
1994             - "Thank you,"
1995             - ""
1996             - "<<branches.branchname>>"
1997
1998         - module: suggestions
1999           code: NEW_SUGGESTION
2000           branchcode: ""
2001           name: "New suggestion"
2002           is_html: 1
2003           title: "New suggestion"
2004           message_transport_type: email
2005           lang: default
2006           content:
2007             - "<h3>Suggestion pending approval</h3>"
2008             - "    <p><h4>Suggested by</h4>"
2009             - "    <ul>"
2010             - "    <li><<borrowers.firstname>> <<borrowers.surname>></li>"
2011             - "    <li><<borrowers.cardnumber>></li>"
2012             - "    <li><<borrowers.phone>></li>"
2013             - "    <li><<borrowers.email>></li>"
2014             - "    </ul>"
2015             - "    </p>"
2016             - "    <p><h4>Title suggested</h4>"
2017             - "    <ul>"
2018             - "    <li><b>Library:</b> <<branches.branchname>></li>"
2019             - "    <li><b>Title:</b> <<suggestions.title>></li>"
2020             - "    <li><b>Author:</b> <<suggestions.author>></li>"
2021             - "    <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>"
2022             - "    <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>"
2023             - "    <li><b>Publisher:</b> <<suggestions.publishercode>></li>"
2024             - "    <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>"
2025             - "    <li><b>Publication place:</b> <<suggestions.place>></li>"
2026             - "    <li><b>Quantity:</b> <<suggestions.quantity>></li>"
2027             - "    <li><b>Item type:</b>  <<suggestions.itemtype>></li>"
2028             - "    <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>"
2029             - "    <li><b>Notes:</b> <<suggestions.note>></li>"
2030             - "    </ul>"
2031             - "    </p>"
2032
2033         - module: suggestions
2034           code: ORDERED
2035           branchcode: ""
2036           name: "Suggestion ordered"
2037           is_html: 0
2038           title: "Suggested item ordered"
2039           message_transport_type: email
2040           lang: default
2041           content:
2042             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
2043             - ""
2044             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
2045             - ""
2046             - "We are pleased to inform you that the item you requested has now been ordered. It should arrive soon, at which time it will be processed for addition into the collection."
2047             - ""
2048             - "You will be notified again when the book is available."
2049             - ""
2050             - "If you have any questions, please email us at <<branches.branchemail>>"
2051             - ""
2052             - "Thank you,"
2053             - ""
2054             - "<<branches.branchname>>"
2055
2056         - module: suggestions
2057           code: REJECTED
2058           branchcode: ""
2059           name: "Suggestion rejected"
2060           is_html: 0
2061           title: "Purchase suggestion declined"
2062           message_transport_type: email
2063           lang: default
2064           content:
2065             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
2066             - ""
2067             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
2068             - ""
2069             - "The library has reviewed your request today, and has decided not to accept the suggestion at this time."
2070             - ""
2071             - "The reason given is: <<suggestions.reason>>"
2072             - ""
2073             - "If you have any questions, please email us at <<branches.branchemail>>."
2074             - ""
2075             - "Thank you,"
2076             - ""
2077             - "<<branches.branchname>>"
2078
2079         - module: suggestions
2080           code: TO_PROCESS
2081           branchcode: ""
2082           name: "Notify fund owner"
2083           is_html: 0
2084           title: "A suggestion is ready to be processed"
2085           message_transport_type: email
2086           lang: default
2087           content:
2088             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
2089             - ""
2090             - "A new suggestion is ready to be processed: <<suggestions.title>> by <<suggestions.author>>."
2091             - ""
2092             - "Thank you,"
2093             - ""
2094             - "<<branches.branchname>>"
2095
2096         - module: suggestions
2097           code: NOTIFY_MANAGER
2098           branchcode: ""
2099           name: "Notify manager of a suggestion"
2100           is_html: 0
2101           title: "A suggestion has been assigned to you"
2102           message_transport_type: email
2103           lang: default
2104           content:
2105             - "Dear [% borrower.firstname %] [% borrower.surname %],"
2106             - ""
2107             - "A new suggestion has been assigned to you: [% suggestion.title %]."
2108             - ""
2109             - "Thank you,"
2110             - ""
2111             - "[% branch.branchname %]"
2112
2113         - module: members
2114           code: PROBLEM_REPORT
2115           branchcode: ""
2116           name: "OPAC problem report"
2117           is_html: 0
2118           title: "OPAC problem report"
2119           message_transport_type: email
2120           lang: default
2121           content:
2122             - "Username: <<problem_reports.username>>"
2123             - ""
2124             - "Problem page: <<problem_reports.problempage>>"
2125             - ""
2126             - "Title: <<problem_reports.title>>"
2127             - ""
2128             - "Message: <<problem_reports.content>>"
2129
2130         - module: circulation
2131           code: AUTO_RENEWALS
2132           branchcode: ""
2133           name: "Notification of automatic renewal"
2134           is_html: 0
2135           title: "Automatic renewal notice"
2136           message_transport_type: email
2137           lang: default
2138           content:
2139             - "Dear [% borrower.firstname %] [% borrower.surname %],"
2140             - "[% IF checkout.auto_renew_error == 'auto_renew_final' %]"
2141             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
2142             - "This item has reached the maximum number of automatic renewals and will no longer be renewed."
2143             - "[% ELSIF checkout.auto_renew_error == 'auto_unseen_final' %]"
2144             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
2145             - "This item has reached the maximum number of unseen renewals and will need to be renewed at the library."
2146             - "[% ELSIF checkout.auto_renew_error %]"
2147             - "The following item, [% biblio.title %], has not been renewed because:"
2148             - "[% IF checkout.auto_renew_error == 'too_many' %]"
2149             - "You have reached the maximum number of renewals possible."
2150             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
2151             - "This item is on hold for another patron."
2152             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
2153             - "You are currently restricted."
2154             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
2155             - "You have overdue items."
2156             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
2157             - "It's too late to renew this item."
2158             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
2159             - "Your total unpaid fines are too high."
2160             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
2161             - "This item must be renewed at the library."
2162             - "[% ELSIF checkout.auto_renew_error == 'auto_account_expired' %]"
2163             - "Your account has expired."
2164             - "[% END %]"
2165             - "[% ELSE %]"
2166             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
2167             - "[% END %]"
2168
2169         - module: circulation
2170           code: CHECKINSLIP
2171           branchcode: ""
2172           name: "Checkin slip"
2173           is_html: 1
2174           title: "Checkin slip"
2175           message_transport_type: print
2176           lang: default
2177           content:
2178             - "<h3>[% branch.branchname %]</h3>"
2179             - "Checked in items for [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br />"
2180             - "([% borrower.cardnumber %]) <br />"
2181             - "<br>"
2182             - "[% today | $KohaDates %]<br />"
2183             - "<br>"
2184             - "<h4>Checked in today</h4>"
2185             - "[% FOREACH checkin IN old_checkouts %]"
2186             - "[% SET item = checkin.item %]"
2187             - "<p>"
2188             - "[% item.biblio.title %] <br />"
2189             - "Barcode: [% item.barcode %] <br />"
2190             - "</p>"
2191             - "[% END %]"
2192
2193         - module: circulation
2194           code: OVERDUE_FINE_DESC
2195           branchcode: ""
2196           name: "Overdue item fine description"
2197           is_html: 0
2198           title: "Overdue item fine description"
2199           message_transport_type: print
2200           lang: default
2201           content:
2202             - "[% item.biblio.title %] [% checkout.date_due | $KohaDates %]"
2203
2204         - module: circulation
2205           code: AUTO_RENEWALS_DGST
2206           branchcode: ""
2207           name: "Notification on auto renewals"
2208           is_html: 0
2209           title: "Auto renewals (Digest)"
2210           message_transport_type: email
2211           lang: default
2212           content:
2213             - "Dear [% borrower.firstname %] [% borrower.surname %],"
2214             - "[% IF error %]"
2215             - "There were [% error %] items that were not renewed."
2216             - "[% END %]"
2217             - "[% IF success %]"
2218             - "There were [% success %] items that were renewed."
2219             - "[% END %]"
2220             - "[% FOREACH checkout IN checkouts %]"
2221             - "[% checkout.item.biblio.title %] : [% checkout.item.barcode %]"
2222             - "[% IF !checkout.auto_renew_error %]"
2223             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
2224             - "[% ELSIF checkout.auto_renew_error == 'too_many' %]"
2225             - "You have reached the maximum number of renewals possible."
2226             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
2227             - "This item is on hold for another patron."
2228             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
2229             - "You are currently restricted."
2230             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
2231             - "You have overdue items."
2232             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
2233             - "It's too late to renew this item."
2234             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
2235             - "Your total unpaid fines are too high."
2236             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
2237             - "This item must be renewed at the library."
2238             - "[% ELSIF checkout.auto_renew_error == 'auto_renew_final' %]"
2239             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
2240             - "This item has reached the maximum number of automatic renewals and will no longer be renewed."
2241             - "[% ELSIF checkout.auto_renew_error == 'auto_unseen_final' %]"
2242             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
2243             - "This item has reached the maximum number of unseen renewals and will need to be renewed at the library."
2244             - "[% END %]"
2245             - "[% END %]"
2246
2247         - module: circulation
2248           code: RETURN_RECALLED_ITEM
2249           branchcode: ""
2250           name: "Notification to return a recalled item"
2251           is_html: 0
2252           title: "Notification to return a recalled item"
2253           message_transport_type: email
2254           lang: default
2255           content:
2256             - "Date: <<today>>"
2257             - ""
2258             - "<<borrowers.firstname>> <<borrowers.surname>>,"
2259             - ""
2260             - "A recall has been placed on the following item: <<biblio.title>> / <<biblio.author>> (<<items.barcode>>). The due date has been updated, and is now <<issues.date_due>>. Please return the item before the due date."
2261             - ""
2262             - "Thank you!"
2263
2264         - module: circulation
2265           code: PICKUP_RECALLED_ITEM
2266           branchcode: ""
2267           name: "Recalled item awaiting pickup"
2268           is_html: 0
2269           title: "Recalled item awaiting pickup"
2270           message_transport_type: email
2271           lang: default
2272           content:
2273             - "Date: <<today>>"
2274             - ""
2275             - "<<borrowers.firstname>> <<borrowers.surname>>,"
2276             - ""
2277             - "A recall that you requested on the following item: <<biblio.title>> / <<biblio.author>> (<<items.barcode>>) is now ready for you to pick up at <<recalls.pickup_library_id>>. Please pick up your item by <<recalls.expiration_date>>."
2278             - ""
2279             - "Thank you!"
2280
2281         - module: circulation
2282           code: RECALL_REQUESTER_DET
2283           branchcode: ""
2284           name: "Details of patron who recalled item"
2285           is_html: 0
2286           title: "Details of patron who recalled item"
2287           message_transport_type: print
2288           lang: default
2289           content:
2290             - "Date: <<today>>"
2291             - ""
2292             - "Recall for pickup at <<branches.branchname>>"
2293             - "<<borrowers.surname>>, <<borrowers.firstname>> (<<borrowers.cardnumber>>)"
2294             - "<<borrowers.phone>>"
2295             - "<<borrowers.streetnumber>> <<borrowers.address>>, <<borrowers.address2>>, <<borrowers.city>> <<borrowers.zipcode>>"
2296             - "<<borrowers.email>>"
2297             - ""
2298             - "ITEM RECALLED"
2299             - "<<biblio.title>> by <<biblio.author>>"
2300             - "Barcode: <<items.barcode>>"
2301             - "Callnumber: <<items.itemcallnumber>>"
2302             - "Waiting since: <<recalls.waiting_date>>"
2303             - "Notes: <<recalls.notes>>"
2304
2305         - module: members
2306           code: 2FA_DISABLE
2307           branchcode: ""
2308           name: "Confirmation of disabling two factor authentication"
2309           is_html: 1
2310           title: "Confirmation of disabling two factor authentication"
2311           message_transport_type: email
2312           lang: default
2313           content:
2314             - "<p>Dear [% borrower.firstname %] [% borrower.surname %],</p>"
2315             - "<p>This is to confirm that someone disabled two factor authentication on your account.</p>"
2316             - "<p>If you did not do this, someone else may be using your account. Please contact technical support.</p>"
2317             - "<p>Your library</p>"
2318
2319         - module: members
2320           code: 2FA_ENABLE
2321           branchcode: ""
2322           name: "Confirmation of enabling two factor authentication"
2323           is_html: 1
2324           title: "Confirmation of enabling two factor authentication"
2325           message_transport_type: email
2326           lang: default
2327           content:
2328             - "<p>Dear [% borrower.firstname %] [% borrower.surname %],</p>"
2329             - "<p>This is to confirm that someone enabled two factor authentication on your account.</p>"
2330             - "<p>If you did not do this, someone else may be using your account. Please contact technical support.</p>"
2331             - "<p>Your library</p>"
2332
2333         - module: members
2334           code: OPAC_REG
2335           branchcode: ""
2336           name: "New OPAC self-registration submitted"
2337           is_html: 1
2338           title: "New OPAC self-registration"
2339           message_transport_type: email
2340           lang: default
2341           content:
2342             - "<h3>New OPAC self-registration</h3>"
2343             - "<p><h4>Self-registration made:</h4>"
2344             - "<ul>"
2345             - "<li> [% borrower.firstname %] [% borrower.surname %]</li>"
2346             - "[% IF borrower.cardnumber %]<li>Cardnumber: [% borrower.cardnumber %]</li>[% END %]"
2347             - "[% IF borrower.email %]<li>Email: [% borrower.email %]</li>[% END %]"
2348             - "[% IF borrower.phone %]<li>Phone: [% borrower.phone %]</li>[% END %]"
2349             - "[% IF borrower.mobile %]<li>Mobile: [% borrower.mobile %]</li>[% END %]"
2350             - "[% IF borrower.fax %]<li>Fax: [% borrower.fax %]</li>[% END %]"
2351             - "[% IF borrower.emailpro %]<li>Secondary email: [% borrower.emailpro %]</li>[% END %]"
2352             - "[% IF borrower.phonepro %]<li>Secondary phone: [% borrower.phonepro %]</li>[% END %]"
2353             - "[% IF borrower.branchcode %]<li>Home library: [% borrower.branchcode %]</li>[% END %]"
2354             - "[% IF borrower.categorycode %]<li>Temporary patron category: [% borrower.categorycode %]</li>[% END %]"
2355             - "</ul>"
2356             - "</p>"
2357
2358         - module: catalogue
2359           code: LIST
2360           branchcode: ""
2361           name: "Send list"
2362           is_html: 1
2363           title: "Your list: [% listname | html %]"
2364           message_transport_type: email
2365           lang: default
2366           content:
2367             - "[%- USE Branches -%]"
2368             - "[%- USE AuthorisedValues -%]"
2369             - "[%- USE Koha -%]"
2370             - "[%- PROCESS 'html_helpers.inc' -%]"
2371             - "Hi,<br><br>"
2372             - "[% borrower.firstname | html %] [% borrower.surname | html %] sent you a list from our online catalog called: [% listname | html %].<br>"
2373             - "Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.<br>"
2374             - "[% IF ( comment ) %]<hr><br>[% comment | html | html_line_break %]<br><br>[% END %]<hr>"
2375             - "<ol>[% FOREACH biblio IN biblios %]<li>"
2376             - "[% biblio.title | html %]"
2377             - "[% IF ( biblio.subtitle ) %][% FOREACH subtitle IN biblio.subtitle.split(' | ') %][% subtitle | html %][% END %][% END %][% biblio.part_number | html %] [% biblio.part_name | html %]<br>"
2378             - "[% IF ( biblio.author || biblio.get_marc_contributors.size ) %]Author(s): [% IF ( biblio.author ) %][% biblio.author | html %][% END %][% IF ( biblio.get_marc_contributors ) %][% IF ( biblio.author ) %]; [% END %][% FOREACH author IN biblio.get_marc_contributors %][% FOREACH subfield IN author.MARCAUTHOR_SUBFIELDS_LOOP %][% subfield.separator | html %][% subfield.value | html %][% END %][% UNLESS ( loop.last ) %];[% END %][% END %][% END %]<br>[% END %]"
2379             - "[% SET biblioitem = biblio.biblioitem %][% IF ( biblioitem.isbn ) %]ISBN: [% FOREACH isbn IN biblioitem.isbn %][% isbn | html %][% UNLESS ( loop.last ) %]; [% END %][% END %]<br>[% END %]"
2380             - "[% IF ( biblioitem.publishercode ) %]Published by: [% biblioitem.publishercode | html %][% IF ( biblioitem.publicationyear ) %] in [% biblioitem.publicationyear | html %][% END %][% IF ( biblioitem.pages ) %], [% biblioitem.pages | html %][% END %]<br>[% END %]"
2381             - "[% IF ( biblio.seriestitle ) %]Collection: [% biblio.seriestitle | html %]<br>[% END %]"
2382             - "[% IF ( biblio.copyrightdate ) %]Copyright year: [% biblio.copyrightdate | html %]<br>[% END %]"
2383             - "[% IF ( biblio.notes ) %]Notes: [% biblio.notes | html %]<br>[% END %]"
2384             - "[% IF ( biblio.unititle ) %]Unified title: [% biblio.unititle | html %]<br>[% END %]"
2385             - "[% IF ( biblio.serial ) %]Serial: [% biblio.serial | html %]<br>[% END %]"
2386             - "[% IF ( biblioitem.lccn ) %]LCCN: [% biblioitem.lccn | html %]<br>[% END %]"
2387             - "[% IF ( biblio.get_marc_host_only || biblio.get_marc_hostinfo_only ) %]In: [% IF biblio.get_marc_host_only.biblionumber %][% INCLUDE 'biblio-title.inc'  biblio=biblio.get_marc_host_only %] [% biblio.get_marc_relatedparts_only %][% ELSE %][% biblio.get_marc_hostinfo_only %][% END %]<br>[% END %]"
2388             - "[% IF ( biblioitem.url ) %]URL: [% biblioitem.url | html %]<br>[% END %]"
2389             - "[<a href='[% Koha.Preference('OpacBaseUrl') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]'>View in online catalog</a>"
2390             - "[% IF ( biblio.items.count > 0 ) %]<br>Items: <ul>[% FOREACH item IN biblio.items %]<li>[% Branches.GetName( item.holdingbranch ) | html %]"
2391             - "[% IF ( item.location ) %], [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %][% END %][% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %][% item.barcode | html %]</li>[% END %]</ul>[% END %]"
2392             - "<hr></li>[% END %]</ol>"
2393
2394         - module: catalogue
2395           code: CART
2396           branchcode: ""
2397           name: "Send cart"
2398           is_html: 1
2399           title: "Your cart"
2400           message_transport_type: email
2401           lang: default
2402           content:
2403             - "[%- USE Branches -%]"
2404             - "[%- USE AuthorisedValues -%]"
2405             - "[%- USE Koha -%]"
2406             - "[%- PROCESS 'html_helpers.inc' -%]"
2407             - "Hi,<br><br>"
2408             - "[% borrower.firstname | html %] [% borrower.surname | html %] sent you a cart from our online catalog.<br>"
2409             - "Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.<br>"
2410             - "[% IF ( comment ) %]<hr><br>[% comment | html | html_line_break %]<br><br>[% END %]<hr>"
2411             - "<ol>[% FOREACH biblio IN biblios %]<li>"
2412             - "[% biblio.title | html %]"
2413             - "[% IF ( biblio.subtitle ) %][% FOREACH subtitle IN biblio.subtitle.split(' | ') %][% subtitle | html %][% END %][% END %][% biblio.part_number | html %] [% biblio.part_name | html %]<br>"
2414             - "[% IF ( biblio.author || biblio.get_marc_contributors.size ) %]Author(s): [% IF ( biblio.author ) %][% biblio.author | html %][% END %][% IF ( biblio.get_marc_contributors ) %][% IF ( biblio.author ) %]; [% END %][% FOREACH author IN biblio.get_marc_contributors %][% FOREACH subfield IN author.MARCAUTHOR_SUBFIELDS_LOOP %][% subfield.separator | html %][% subfield.value | html %][% END %][% UNLESS ( loop.last ) %];[% END %][% END %][% END %]<br>[% END %]"
2415             - "[% SET biblioitem = biblio.biblioitem %][% IF ( biblioitem.isbn ) %]ISBN: [% FOREACH isbn IN biblioitem.isbn %][% isbn | html %][% UNLESS ( loop.last ) %]; [% END %][% END %]<br>[% END %]"
2416             - "[% IF ( biblioitem.publishercode ) %]Published by: [% biblioitem.publishercode | html %][% IF ( biblioitem.publicationyear ) %] in [% biblioitem.publicationyear | html %][% END %][% IF ( biblioitem.pages ) %], [% biblioitem.pages | html %][% END %]<br>[% END %]"
2417             - "[% IF ( biblio.seriestitle ) %]Collection: [% biblio.seriestitle | html %]<br>[% END %]"
2418             - "[% IF ( biblio.copyrightdate ) %]Copyright year: [% biblio.copyrightdate | html %]<br>[% END %]"
2419             - "[% IF ( biblio.notes ) %]Notes: [% biblio.notes | html %]<br>[% END %]"
2420             - "[% IF ( biblio.unititle ) %]Unified title: [% biblio.unititle | html %]<br>[% END %]"
2421             - "[% IF ( biblio.serial ) %]Serial: [% biblio.serial | html %]<br>[% END %]"
2422             - "[% IF ( biblioitem.lccn ) %]LCCN: [% biblioitem.lccn | html %]<br>[% END %]"
2423             - "[% IF ( biblio.get_marc_host_only || biblio.get_marc_hostinfo_only ) %]In: [% IF biblio.get_marc_host_only.biblionumber %][% INCLUDE 'biblio-title.inc'  biblio=biblio.get_marc_host_only %] [% biblio.get_marc_relatedparts_only %][% ELSE %][% biblio.get_marc_hostinfo_only %][% END %]<br>[% END %]"
2424             - "[% IF ( biblioitem.url ) %]URL: [% biblioitem.url | html %]<br>[% END %]"
2425             - "<a href='[% Koha.Preference('OpacBaseUrl') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]'>View in online catalog</a>"
2426             - "[% IF ( biblio.items.count > 0 ) %]<br>Items: <ul>[% FOREACH item IN biblio.items %]<li>[% Branches.GetName( item.holdingbranch ) | html %]"
2427             - "[% IF ( item.location ) %], [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %][% END %][% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %][% item.barcode | html %]</li>[% END %]</ul>[% END %]"
2428             - "<hr></li>[% END %]</ol>"
2429
2430         - module: preservation
2431           code: PRES_TRAIN_ITEM
2432           branchcode: ""
2433           name: "Train item slip"
2434           is_html: 0
2435           title: "Train item slip"
2436           message_transport_type: print
2437           lang: default
2438           content:
2439             - "[%~ USE AuthorisedValues ~%]"
2440             - "[%~ SET train = train_item.train ~%]"
2441             - "[%~ SET item = train_item.catalogue_item ~%]"
2442             - "Train name: [% train.name %]"
2443             - "Sent on: [% train.sent_on | $KohaDates %]"
2444             - ""
2445             - "[% train.default_processing.name %]"
2446             - ""
2447             - "Item number #[% train_item.user_train_item_id %]"
2448             - ""
2449             - "[% FOREACH item_attribute IN train_item.attributes %]"
2450             - "    [%~ SET value = item_attribute.value ~%]"
2451             - "    [%~ IF item_attribute.processing_attribute.type == 'authorised_value' ~%]"
2452             - "        [%~ SET value = AuthorisedValues.GetByCode(item_attribute.processing_attribute.option_source, item_attribute.value) ~%]"
2453             - "    [%~ END ~%]"
2454             - "    [% item_attribute.processing_attribute.name %]: [% value %]"
2455             - "[% END %]"