Bug 35186: Remove unnecessary html tags from PASSWORD notices
[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
541         - module: circulation
542           code: CHECKIN
543           branchcode: ""
544           name: "Item check-in (digest)"
545           is_html: 0
546           title: "Check-ins"
547           message_transport_type: email
548           lang: default
549           content:
550             - "The following items have been checked in:"
551             - "----"
552             - "[% biblio.title %]"
553             - "----"
554             - "Thank you."
555
556         - module: circulation
557           code: CHECKIN
558           branchcode: ""
559           name: "Item check-in (digest)"
560           is_html: 0
561           title: "Check-ins"
562           message_transport_type: sms
563           lang: default
564           content:
565             - "The following items have been checked in:"
566             - "----"
567             - "[% biblio.title %]"
568             - "----"
569             - "Thank you."
570
571         - module: circulation
572           code: CHECKOUT
573           branchcode: ""
574           name: "Item check-out (digest)"
575           is_html: 0
576           title: "Checkouts"
577           message_transport_type: email
578           lang: default
579           content:
580             - "The following items have been checked out:"
581             - "----"
582             - "[% biblio.title %]"
583             - "----"
584             - "Thank you for visiting [% branch.branchname %]."
585
586         - module: circulation
587           code: CHECKOUT
588           branchcode: ""
589           name: "Item check-out (digest)"
590           is_html: 0
591           title: "Checkouts"
592           message_transport_type: sms
593           lang: default
594           content:
595             - "The following items have been checked out:"
596             - "----"
597             - "[% biblio.title %]"
598             - "----"
599             - "Thank you for visiting [% branch.branchname %]."
600
601         - module: circulation
602           code: CHECKOUT_NOTE
603           branchcode: ""
604           name: "Checkout note on item set by patron"
605           is_html: 0
606           title: "Checkout note"
607           message_transport_type: email
608           lang: default
609           content:
610             - "<<borrowers.firstname>> <<borrowers.surname>> has added a note to the item <<biblio.title>> - <<biblio.author>> (<<biblio.biblionumber>>)."
611
612         - module: circulation
613           code: DUE
614           branchcode: ""
615           name: "Item due reminder"
616           is_html: 0
617           title: "Item due reminder"
618           message_transport_type: email
619           lang: default
620           content:
621             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
622             - ""
623             - "The following item is now due:"
624             - ""
625             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
626
627         - module: circulation
628           code: DUE
629           branchcode: ""
630           name: "Item due reminder"
631           is_html: 0
632           title: "Item due reminder"
633           message_transport_type: sms
634           lang: default
635           content:
636             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
637             - ""
638             - "The following item is now due:"
639             - ""
640             - "<<biblio.title>>"
641
642         - module: circulation
643           code: DUEDGST
644           branchcode: ""
645           name: "Item due reminder (digest)"
646           is_html: 0
647           title: "Item due reminder"
648           message_transport_type: email
649           lang: default
650           content:
651             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
652             - ""
653             - "The following item(s) are now due:"
654             - ""
655             - "<<items.content>>"
656             - ""
657             - "Thank you."
658
659         - module: circulation
660           code: DUEDGST
661           branchcode: ""
662           name: "Item due reminder (digest)"
663           is_html: 0
664           title: "Item due reminder"
665           message_transport_type: sms
666           lang: default
667           content:
668             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
669             - ""
670             - "You have <<count>> item(s) that are now due"
671             - ""
672             - "Thank you."
673
674         - module: circulation
675           code: HOLD_SLIP
676           branchcode: ""
677           name: "Hold slip"
678           is_html: 1
679           title: "Hold slip"
680           message_transport_type: email
681           lang: default
682           content:
683             - "<h5>Date: <<today>></h5>"
684             - ""
685             - "<h3> Transfer to/Hold in <<branches.branchname>></h3>"
686             - ""
687             - "<h3><<borrowers.surname>>, <<borrowers.firstname>></h3>"
688             - ""
689             - "<ul>"
690             - "    <li><<borrowers.cardnumber>></li>"
691             - "    <li><<borrowers.phone>></li>"
692             - "    <li> <<borrowers.address>><br />"
693             - "         <<borrowers.address2>><br />"
694             - "         <<borrowers.city >>  <<borrowers.zipcode>>"
695             - "    </li>"
696             - "    <li><<borrowers.email>></li>"
697             - "</ul>"
698             - "<br />"
699             - "<h3>ITEM ON HOLD</h3>"
700             - "<h4><<biblio.title>></h4>"
701             - "<h5><<biblio.author>></h5>"
702             - "<ul>"
703             - "   <li><<items.barcode>></li>"
704             - "   <li><<items.itemcallnumber>></li>"
705             - "   <li><<reserves.waitingdate>></li>"
706             - "</ul>"
707             - "<p>Notes:"
708             - "<pre><<reserves.reservenotes>></pre>"
709             - "</p>"
710             - ""
711
712         - module: circulation
713           code: ISSUEQSLIP
714           branchcode: ""
715           name: "Issue quick slip"
716           is_html: 1
717           title: "Issue quick slip"
718           message_transport_type: email
719           lang: default
720           content:
721             - "[%~ USE KohaDates ~%]"
722             - "<h3><<branches.branchname>></h3>"
723             - "Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />"
724             - "(<<borrowers.cardnumber>>) <br />"
725             - ""
726             - "<<today>><br />"
727             - ""
728             - "<h4>Checked out today</h4>"
729             - "<checkedout>"
730             - "<p>"
731             - "<<biblio.title>> <br />"
732             - "Barcode: <<items.barcode>><br />"
733             - "Date due: <<issues.date_due>><br />"
734             - "</p>"
735             - "</checkedout>"
736
737         - module: circulation
738           code: ISSUESLIP
739           branchcode: ""
740           name: "Issue slip"
741           is_html: 1
742           title: "Issue slip"
743           message_transport_type: email
744           lang: default
745           content:
746             - "<h3><<branches.branchname>></h3>"
747             - "Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />"
748             - "(<<borrowers.cardnumber>>) <br />"
749             - ""
750             - "<<today>><br />"
751             - ""
752             - "<h4>Checked out</h4>"
753             - "<checkedout>"
754             - "<p>"
755             - "<<biblio.title>> <br />"
756             - "Barcode: <<items.barcode>><br />"
757             - "Date due: <<issues.date_due>><br />"
758             - "</p>"
759             - "</checkedout>"
760             - ""
761             - "<h4>Overdues</h4>"
762             - "<overdue>"
763             - "<p>"
764             - "<<biblio.title>> <br />"
765             - "Barcode: <<items.barcode>><br />"
766             - "Date due: <<issues.date_due>><br />"
767             - "</p>"
768             - "</overdue>"
769             - ""
770             - "<hr>"
771             - ""
772             - "[% IF additional_contents.count %]"
773             - "<h4 style=\"text-align: center; font-style:italic;\">News</h4>"
774             - "[% FOREACH content IN additional_contents %]"
775             - "<div class=\"newsitem\">"
776             - "<h5 style=\"margin-bottom: 1px; margin-top: 1px\"><b>[% content.title %]</b></h5>"
777             - "<p style=\"margin-bottom: 1px; margin-top: 1px\">[% content.content %]</p>"
778             - "<p class=\"newsfooter\" style=\"font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px\">Posted on [% content.published_on | $KohaDates %]</p>"
779             - "<hr />"
780             - "</div>"
781             - "[% END %]"
782             - "[% END %]"
783
784         - module: circulation
785           code: ODUE
786           branchcode: ""
787           name: "Overdue notice"
788           is_html: 0
789           title: "Item overdue"
790           message_transport_type: email
791           lang: default
792           content:
793             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
794             - ""
795             - "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."
796             - ""
797             - "<<branches.branchname>>"
798             - "<<branches.branchaddress1>>"
799             - "<<branches.branchaddress2>> <<branches.branchaddress3>>"
800             - "Phone: <<branches.branchphone>>"
801             - "Fax: <<branches.branchfax>>"
802             - "Email: <<branches.branchemail>>"
803             - ""
804             - "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."
805             - ""
806             - "The following item(s) is/are currently overdue:"
807             - ""
808             - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>"
809             - ""
810             - "Thank-you for your prompt attention to this matter."
811             - ""
812             - "<<branches.branchname>> Staff"
813             - ""
814
815         - module: circulation
816           code: OVERDUES_SLIP
817           branchcode: ""
818           name: "Overdues slip"
819           is_html: 0
820           title: "Overdues slip"
821           message_transport_type: print
822           lang: default
823           content:
824             - "The following item(s) is/are currently overdue:"
825             - ""
826             - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>"
827             - ""
828
829         - module: circulation
830           code: PREDUE
831           branchcode: ""
832           name: "Advance notice of item due"
833           is_html: 0
834           title: "Advance notice of item due"
835           message_transport_type: email
836           lang: default
837           content:
838             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
839             - ""
840             - "The following item will be due soon:"
841             - ""
842             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
843
844         - module: circulation
845           code: PREDUE
846           branchcode: ""
847           name: "Advance notice of item due"
848           is_html: 0
849           title: "Advance notice of item due"
850           message_transport_type: sms
851           lang: default
852           content:
853             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
854             - ""
855             - "The following item will be due soon:"
856             - ""
857             - "<<biblio.title>>"
858
859         - module: circulation
860           code: PREDUEDGST
861           branchcode: ""
862           name: "Advance notice of item due (digest)"
863           is_html: 0
864           title: "Advance notice of item due"
865           message_transport_type: email
866           lang: default
867           content:
868             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
869             - ""
870             - "The following item(s) will be due soon:"
871             - ""
872             - "<<items.content>>"
873             - ""
874             - "Thank you."
875
876         - module: circulation
877           code: PREDUEDGST
878           branchcode: ""
879           name: "Advance notice of item due (digest)"
880           is_html: 0
881           title: "Advance notice of item due"
882           message_transport_type: sms
883           lang: default
884           content:
885             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
886             - ""
887             - "You have <<count>> item(s) that will be due soon."
888             - ""
889             - "Thank you."
890
891         - module: circulation
892           code: RENEWAL
893           branchcode: ""
894           name: "Item renewals"
895           is_html: 0
896           title: "Item renewals"
897           message_transport_type: email
898           lang: default
899           content:
900             - "The following items have been renewed:"
901             - "----"
902             - "<<biblio.title>>"
903             - "----"
904             - "Thank you for visiting <<branches.branchname>>."
905
906         - module: circulation
907           code: SR_SLIP
908           branchcode: ""
909           name: "Stock rotation slip"
910           is_html: 0
911           title: "Stock rotation report"
912           message_transport_type: email
913           lang: default
914           content:
915             - "Stock rotation report for [% branch.name %]:"
916             - ""
917             - "[% IF branch.items.size %][% branch.items.size %] items to be processed for this branch."
918             - "[% ELSE %]No items to be processed for this branch"
919             - "[% END %][% FOREACH item IN branch.items %][% IF item.reason != 'in-demand' %]Title: [% item.title %]"
920             - "Author: [% item.author %]"
921             - "Call number: [% item.callnumber %]"
922             - "Location: [% item.location %]"
923             - "Barcode: [% item.barcode %]"
924             - "On loan?: [% item.onloan %]"
925             - "Status: [% item.reason %]"
926             - "Current library: [% item.branch.branchname %] [% item.branch.branchcode %]"
927             - ""
928             - "[% END %][% END %]"
929
930         - module: circulation
931           code: TRANSFERSLIP
932           branchcode: ""
933           name: "Transfer slip"
934           is_html: 1
935           title: "Transfer slip"
936           message_transport_type: email
937           lang: default
938           content:
939             - "<h5>Date: <<today>></h5>"
940             - ""
941             - "<h3>Transfer to <<branches.branchname>></h3>"
942             - ""
943             - "<h3>ITEM</h3>"
944             - "<h4><<biblio.title>></h4>"
945             - "<h5><<biblio.author>></h5>"
946             - "<ul>"
947             - "   <li><<items.barcode>></li>"
948             - "   <li><<items.itemcallnumber>></li>"
949             - "</ul>"
950
951         - module: claimacquisition
952           code: ACQCLAIM
953           branchcode: ""
954           name: "Acquisition claim"
955           is_html: 0
956           title: "Item not received"
957           message_transport_type: email
958           lang: default
959           content:
960             - "<<aqbooksellers.name>>"
961             - "<<aqbooksellers.address1>>"
962             - "<<aqbooksellers.address2>>"
963             - "<<aqbooksellers.address3>>"
964             - "<<aqbooksellers.address4>>"
965             - "<<aqbooksellers.phone>>"
966             - ""
967             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (<<aqorders.quantity>> ordered) ($<<aqorders.listprice>> each) has not been received.</order>"
968
969         - module: ill
970           code: ILL_PICKUP_READY
971           branchcode: ""
972           name: "ILL request ready for pickup"
973           is_html: 0
974           title: "Interlibrary loan request ready for pickup"
975           message_transport_type: email
976           lang: default
977           content:
978             - "Dear [% borrower.firstname %] [% borrower.surname %],"
979             - ""
980             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:"
981             - ""
982             - "- [% ill_bib_title %] - [% ill_bib_author %]"
983             - ""
984             - "is ready for pick up from [% branch.branchname %]."
985             - ""
986             - "Kind regards"
987             - ""
988             - "[% branch.branchname %]"
989             - "[% branch.branchaddress1 %]"
990             - "[% branch.branchaddress2 %]"
991             - "[% branch.branchaddress3 %]"
992             - "[% branch.branchcity %]"
993             - "[% branch.branchstate %]"
994             - "[% branch.branchzip %]"
995             - "[% branch.branchphone %]"
996             - "[% branch.branchillemail %]"
997             - "[% branch.branchemail %]"
998
999         - module: ill
1000           code: ILL_REQUEST_UNAVAIL
1001           branchcode: ""
1002           name: "ILL request unavailable"
1003           is_html: 0
1004           title: "Interlibrary loan request unavailable"
1005           message_transport_type: email
1006           lang: default
1007           content:
1008             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1009             - ""
1010             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1011             - ""
1012             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1013             - ""
1014             - "is unfortunately unavailable."
1015             - ""
1016             - "Kind regards"
1017             - ""
1018             - "[% branch.branchname %]"
1019             - "[% branch.branchaddress1 %]"
1020             - "[% branch.branchaddress2 %]"
1021             - "[% branch.branchaddress3 %]"
1022             - "[% branch.branchcity %]"
1023             - "[% branch.branchstate %]"
1024             - "[% branch.branchzip %]"
1025             - "[% branch.branchphone %]"
1026             - "[% branch.branchillemail %]"
1027             - "[% branch.branchemail %]"
1028
1029         - module: ill
1030           code: ILL_REQUEST_CANCEL
1031           branchcode: ""
1032           name: "ILL request cancelled"
1033           is_html: 0
1034           title: "Interlibrary loan request cancelled"
1035           message_transport_type: email
1036           lang: default
1037           content:
1038             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:"
1039             - ""
1040             - "[% ill_full_metadata %]"
1041
1042         - module: ill
1043           code: ILL_REQUEST_MODIFIED
1044           branchcode: ""
1045           name: "ILL request modified"
1046           is_html: 0
1047           title: "Interlibrary loan request modified"
1048           message_transport_type: email
1049           lang: default
1050           content:
1051             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:"
1052             - ""
1053             - "[% ill_full_metadata %]"
1054
1055         - module: ill
1056           code: ILL_PARTNER_REQ
1057           branchcode: ""
1058           name: "ILL request to partners"
1059           is_html: 0
1060           title: "Interlibrary loan request to partners"
1061           message_transport_type: email
1062           lang: default
1063           content:
1064             - "Dear Sir/Madam,"
1065             - ""
1066             - "We would like to request an interlibrary loan for a title matching the following description:"
1067             - ""
1068             - "[% ill_full_metadata %]"
1069             - ""
1070             - "Please let us know if you are able to supply this to us."
1071             - ""
1072             - "Kind regards"
1073             - ""
1074             - "[% branch.branchname %]"
1075             - "[% branch.branchaddress1 %]"
1076             - "[% branch.branchaddress2 %]"
1077             - "[% branch.branchaddress3 %]"
1078             - "[% branch.branchcity %]"
1079             - "[% branch.branchstate %]"
1080             - "[% branch.branchzip %]"
1081             - "[% branch.branchphone %]"
1082             - "[% branch.branchillemail %]"
1083             - "[% branch.branchemail %]"
1084
1085         - module: ill
1086           code: ILL_REQUEST_UPDATE
1087           branchcode: ""
1088           name: "ILL request update"
1089           is_html: 0
1090           title: "Interlibrary loan request update"
1091           message_transport_type: email
1092           lang: default
1093           content:
1094             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1095             - ""
1096             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1097             - ""
1098             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1099             - ""
1100             - "has been updated."
1101             - ""
1102             - "Details of the update are below:"
1103             - ""
1104             - "[% additional_text %]"
1105             - ""
1106             - "Kind regards"
1107             - ""
1108             - "[% branch.branchname %]"
1109             - "[% branch.branchaddress1 %]"
1110             - "[% branch.branchaddress2 %]"
1111             - "[% branch.branchaddress3 %]"
1112             - "[% branch.branchcity %]"
1113             - "[% branch.branchstate %]"
1114             - "[% branch.branchzip %]"
1115             - "[% branch.branchphone %]"
1116             - "[% branch.branchillemail %]"
1117             - "[% branch.branchemail %]"
1118
1119         - module: ill
1120           code: ILL_PICKUP_READY
1121           branchcode: ""
1122           name: "ILL request ready for pickup"
1123           is_html: 0
1124           title: "Interlibrary loan request ready for pickup"
1125           message_transport_type: sms
1126           lang: default
1127           content:
1128             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1129             - ""
1130             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:"
1131             - ""
1132             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1133             - ""
1134             - "is ready for pick up from [% branch.branchname %]."
1135             - ""
1136             - "Kind regards"
1137             - ""
1138             - "[% branch.branchname %]"
1139             - "[% branch.branchaddress1 %]"
1140             - "[% branch.branchaddress2 %]"
1141             - "[% branch.branchaddress3 %]"
1142             - "[% branch.branchcity %]"
1143             - "[% branch.branchstate %]"
1144             - "[% branch.branchzip %]"
1145             - "[% branch.branchphone %]"
1146             - "[% branch.branchillemail %]"
1147             - "[% branch.branchemail %]"
1148
1149         - module: ill
1150           code: ILL_REQUEST_UNAVAIL
1151           branchcode: ""
1152           name: "ILL request unavailable"
1153           is_html: 0
1154           title: "Interlibrary loan request unavailable"
1155           message_transport_type: sms
1156           lang: default
1157           content:
1158             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1159             - ""
1160             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1161             - ""
1162             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1163             - ""
1164             - "is unfortunately unavailable."
1165             - ""
1166             - "Kind regards"
1167             - ""
1168             - "[% branch.branchname %]"
1169             - "[% branch.branchaddress1 %]"
1170             - "[% branch.branchaddress2 %]"
1171             - "[% branch.branchaddress3 %]"
1172             - "[% branch.branchcity %]"
1173             - "[% branch.branchstate %]"
1174             - "[% branch.branchzip %]"
1175             - "[% branch.branchphone %]"
1176             - "[% branch.branchillemail %]"
1177             - "[% branch.branchemail %]"
1178
1179         - module: ill
1180           code: ILL_REQUEST_CANCEL
1181           branchcode: ""
1182           name: "ILL request cancelled"
1183           is_html: 0
1184           title: "Interlibrary loan request cancelled"
1185           message_transport_type: sms
1186           lang: default
1187           content:
1188             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:"
1189             - ""
1190             - "[% ill_full_metadata %]"
1191
1192         - module: ill
1193           code: ILL_REQUEST_MODIFIED
1194           branchcode: ""
1195           name: "ILL request modified"
1196           is_html: 0
1197           title: "Interlibrary loan request modified"
1198           message_transport_type: sms
1199           lang: default
1200           content:
1201             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:"
1202             - ""
1203             - "[% ill_full_metadata %]"
1204
1205         - module: ill
1206           code: ILL_PARTNER_REQ
1207           branchcode: ""
1208           name: "ILL request to partners"
1209           is_html: 0
1210           title: "Interlibrary loan request to partners"
1211           message_transport_type: sms
1212           lang: default
1213           content:
1214             - "Dear Sir/Madam,"
1215             - ""
1216             - "We would like to request an interlibrary loan for a title matching the following description:"
1217             - ""
1218             - "[% ill_full_metadata %]"
1219             - ""
1220             - "Please let us know if you are able to supply this to us."
1221             - ""
1222             - "Kind regards"
1223             - ""
1224             - "[% branch.branchname %]"
1225             - "[% branch.branchaddress1 %]"
1226             - "[% branch.branchaddress2 %]"
1227             - "[% branch.branchaddress3 %]"
1228             - "[% branch.branchcity %]"
1229             - "[% branch.branchstate %]"
1230             - "[% branch.branchzip %]"
1231             - "[% branch.branchphone %]"
1232             - "[% branch.branchillemail %]"
1233             - "[% branch.branchemail %]"
1234
1235         - module: ill
1236           code: ILL_REQUEST_UPDATE
1237           branchcode: ""
1238           name: "ILL request update"
1239           is_html: 0
1240           title: "Interlibrary loan request update"
1241           message_transport_type: sms
1242           lang: default
1243           content:
1244             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1245             - ""
1246             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1247             - ""
1248             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1249             - ""
1250             - "has been updated."
1251             - ""
1252             - "Details of the update are below:"
1253             - ""
1254             - "[% additional_text %]"
1255             - ""
1256             - "Kind regards"
1257             - ""
1258             - "[% branch.branchname %]"
1259             - "[% branch.branchaddress1 %]"
1260             - "[% branch.branchaddress2 %]"
1261             - "[% branch.branchaddress3 %]"
1262             - "[% branch.branchcity %]"
1263             - "[% branch.branchstate %]"
1264             - "[% branch.branchzip %]"
1265             - "[% branch.branchphone %]"
1266             - "[% branch.branchillemail %]"
1267             - "[% branch.branchemail %]"
1268
1269         - module: members
1270           code: DISCHARGE
1271           branchcode: ""
1272           name: "Discharge confirmation"
1273           is_html: 1
1274           title: "Discharge for <<borrowers.firstname>> <<borrowers.surname>>"
1275           message_transport_type: email
1276           lang: default
1277           content:
1278             - ""
1279             - "<<today>>"
1280             - "<h1>Discharge confirmation</h1>"
1281             - "<p><<branches.branchname>> certifies that the following borrower:<br>"
1282             - "<<borrowers.firstname>> <<borrowers.surname>> (cardnumber: <<borrowers.cardnumber>>)<br>"
1283             - "has returned all items.</p>"
1284
1285         - module: members
1286           code: MEMBERSHIP_EXPIRY
1287           branchcode: ""
1288           name: "Account expiration"
1289           is_html: 0
1290           title: "Account expiration"
1291           message_transport_type: email
1292           lang: default
1293           content:
1294             - "Dear <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>,"
1295             - ""
1296             - "Your library card will expire soon, on:"
1297             - ""
1298             - "<<borrowers.dateexpiry>>"
1299             - ""
1300             - "Thank you,"
1301             - ""
1302             - "Librarian"
1303             - ""
1304             - "<<branches.branchname>>"
1305
1306         - module: members
1307           code: MEMBERSHIP_RENEWED
1308           branchcode: ""
1309           name: "Account renewal"
1310           is_html: 0
1311           title: "Account renewal"
1312           message_transport_type: email
1313           lang: default
1314           content:
1315             - "[%- USE Price -%]"
1316             - "Dear [% borrower.title %] [% borrower.firstname %] [% borrower.surname %],"
1317             - ""
1318             - "Your library account has been renewed. The new expiry date is: [% borrower.dateexpiry %]."
1319             - "[% IF borrower.category.enrolmentfee > 0 %]\nAn enrollment fee of [% borrower.category.enrolmentfee | $Price with_symbol => 1 %] has been applied.\n[% END %]"
1320             - "Thank you,"
1321             - ""
1322             - "Your library,"
1323             - ""
1324             - "[% branch.branchname %]"
1325
1326         - module: members
1327           code: OPAC_REG_VERIFY
1328           branchcode: ""
1329           name: "OPAC self-registration verification email"
1330           is_html: 1
1331           title: "Verify your account"
1332           message_transport_type: email
1333           lang: default
1334           content:
1335             - "Hello!"
1336             - ""
1337             - "Your library account has been created. Please verify your email address by clicking this link to complete the signup process:"
1338             - ""
1339             - "<<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower_modifications.verification_token>>"
1340             - ""
1341             - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
1342
1343         - module: members
1344           code: PASSWORD_CHANGE
1345           branchcode: ""
1346           name: "Notification of password change"
1347           is_html: 0
1348           title: "Library account password change notification"
1349           message_transport_type: email
1350           lang: default
1351           content:
1352             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1353             - ""
1354             - "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."
1355             - ""
1356             - "Your library."
1357
1358         - module: members
1359           code: PASSWORD_RESET
1360           branchcode: ""
1361           name: "Online password reset"
1362           is_html: 1
1363           title: "Koha password recovery"
1364           message_transport_type: email
1365           lang: default
1366           content:
1367             - "<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>."
1368             - "</p>"
1369             - "<p>"
1370             - "You can now create your new password using the following link:"
1371             - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
1372             - "</p>"
1373             - "<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>"
1374             - "<p>Thank you.</p>"
1375
1376         - module: members
1377           code: STAFF_PASSWORD_RESET
1378           branchcode: ""
1379           name: "Online password reset"
1380           is_html: 1
1381           title: "Koha password reset"
1382           message_transport_type: email
1383           lang: default
1384           content:
1385             - "<p>A librarian has reset the password for the account <strong><<user>></strong>."
1386             - "</p>"
1387             - "<p>"
1388             - "Please create your new password using the following link:"
1389             - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
1390             - "</p>"
1391             - "<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>"
1392             - "<p>Thank you.</p>"
1393
1394         - module: members
1395           code: SHARE_ACCEPT
1396           branchcode: ""
1397           name: "Notification about an accepted share"
1398           is_html: 0
1399           title: "Share on list <<listname>> accepted"
1400           message_transport_type: email
1401           lang: default
1402           content:
1403             - "Dear patron,"
1404             - ""
1405             - "We want to inform you that <<borrowers.firstname>> <<borrowers.surname>> accepted your invitation to share your list <<listname>> in our library catalog."
1406             - ""
1407             - "Thank you."
1408             - ""
1409             - "Your library."
1410
1411         - module: members
1412           code: SHARE_INVITE
1413           branchcode: ""
1414           name: "Invitation for sharing a list"
1415           is_html: 0
1416           title: "Share list <<listname>>"
1417           message_transport_type: email
1418           lang: default
1419           content:
1420             - "Dear patron,"
1421             - ""
1422             - "One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share a list <<listname>> in our library catalog."
1423             - ""
1424             - "To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar."
1425             - ""
1426             - "<<shareurl>>"
1427             - ""
1428             - "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."
1429             - ""
1430             - "Thank you."
1431             - ""
1432             - "Your library."
1433
1434         - module: members
1435           code: WELCOME
1436           branchcode: ""
1437           name: "Welcome notice "
1438           is_html: 1
1439           title: "[% USE Koha %][% IF Koha.Preference('LibraryName') %]Welcome to [% Koha.Preference('LibraryName') %][% ELSE %]Welcome to the library[% END %]"
1440           message_transport_type: email
1441           lang: default
1442           content:
1443             - "[% USE Koha %]"
1444             - "Hello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %]."
1445             - ""
1446             - "Thank you for joining [% IF Koha.Preference('LibraryName') %][% Koha.Preference('LibraryName') %][% ELSE %]the library[% END %]"
1447             - ""
1448             - "You can search for all our materials in our <a href='[% Koha.Preference('OPACBaseURL') %]'>catalog</a>."
1449             - ""
1450             - "Your library card number is [% borrower.cardnumber %]"
1451             - ""
1452             - "If you have any problems or questions regarding your account, please contact the library."
1453
1454         - module: members
1455           code: 2FA_OTP_TOKEN
1456           branchcode: ""
1457           name: "two-authentication step token"
1458           is_html: 1
1459           title: "Two-authentication token"
1460           message_transport_type: email
1461           lang: default
1462           content:
1463             - "Dear [% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])"
1464             - ""
1465             - "Your authentication token is [% otp_token %]."
1466             - "It is valid one minute."
1467
1468         - module: members
1469           code: ACCOUNTS_SUMMARY
1470           branchcode: ""
1471           name: "Account balance slip"
1472           is_html: 1
1473           title: "Account summary for [% borrower.firstname %] [% borrower.surname %]"
1474           message_transport_type: print
1475           lang: default
1476           content:
1477             - "[% USE Branches %]"
1478             - "[% USE Koha %]"
1479             - "[% USE KohaDates %]"
1480             - "[% USE Price %]"
1481             - "[% PROCESS 'accounts.inc' %]"
1482             - "<table>"
1483             - "  [% IF ( Koha.Preference('LibraryName') ) %]"
1484             - "    <tr>"
1485             - "      <th colspan='4' class='centerednames'>"
1486             - "        <h1>[% Koha.Preference('LibraryName') | html %]</h1>"
1487             - "      </th>"
1488             - "    </tr>"
1489             - "  [% END %]"
1490             - ""
1491             - "  <tr>"
1492             - "    <th colspan='4' class='centerednames'>"
1493             - "      <h2>[% Branches.GetName( borrower.branchcode ) | html %]</h2>"
1494             - "    </th>"
1495             - "  </tr>"
1496             - ""
1497             - "  <tr>"
1498             - "    <th colspan='4' class='centerednames'>"
1499             - "      <h3>Outstanding accounts</h3>"
1500             - "    </th>"
1501             - "  </tr>"
1502             - ""
1503             - "  <tr>"
1504             - "    <th colspan='4' class='centerednames'>"
1505             - "      <h4>Debts</h4>"
1506             - "    </th>"
1507             - "  </tr>"
1508             - "  [% IF borrower.account.outstanding_debits.total_outstanding %]"
1509             - "  <tr>"
1510             - "    <th>Date</th>"
1511             - "    <th>Charge</th>"
1512             - "    <th>Amount</th>"
1513             - "    <th>Outstanding</th>"
1514             - "  </tr>"
1515             - "  [% FOREACH debit IN borrower.account.outstanding_debits %]"
1516             - "  <tr>"
1517             - "    <td>[% debit.date | $KohaDates %]</td>"
1518             - "    <td>"
1519             - "      [% PROCESS account_type_description account=debit %]"
1520             - "      [%- IF debit.description %], [% debit.description | html %][% END %]"
1521             - "    </td>"
1522             - "    <td class='debit'>[% debit.amount | $Price %]</td>"
1523             - "    <td class='debit'>[% debit.amountoutstanding | $Price %]</td>"
1524             - "  </tr>"
1525             - "  [% END %]"
1526             - "  [% ELSE %]"
1527             - "  <tr>"
1528             - "    <td colspan='4'>There are no outstanding debts on your account</td>"
1529             - "  </tr>"
1530             - "  [% END %]"
1531             - ""
1532             - "  <tr>"
1533             - "    <th colspan='4' class='centerednames'>"
1534             - "      <h4>Credits</h4>"
1535             - "    </th>"
1536             - "  </tr>"
1537             - "  [% IF borrower.account.outstanding_credits.total_outstanding %]"
1538             - "  <tr>"
1539             - "    <th>Date</th>"
1540             - "    <th>Credit</th>"
1541             - "    <th>Amount</th>"
1542             - "    <th>Outstanding</th>"
1543             - "  </tr>"
1544             - "  [% FOREACH credit IN borrower.account.outstanding_credits %]"
1545             - "  <tr>"
1546             - "    <td>[% credit.date | $KohaDates%]</td>"
1547             - "    <td>"
1548             - "      [% PROCESS account_type_description account=credit %]"
1549             - "      [%- IF credit.description %], [% credit.description | html %][% END %]"
1550             - "    </td>"
1551             - "    <td class='credit'>[% credit.amount *-1 | $Price %]</td>"
1552             - "    <td class='credit'>[% credit.amountoutstanding *-1 | $Price %]</td>"
1553             - "  </tr>"
1554             - "  [% END %]"
1555             - "  [% ELSE %]"
1556             - "  <tr>"
1557             - "    <td colspan='4'>There are no outstanding credits on your account</td>"
1558             - "  </tr>"
1559             - "  [% END %]"
1560             - ""
1561             - "  <tfoot>"
1562             - "    <td colspan='3'>"
1563             - "      [% IF borrower.account.balance < 0 %]"
1564             - "        Total credit as of [% today | $KohaDates %]:"
1565             - "      [% ELSE %]"
1566             - "        Total outstanding dues as of [% today | $KohaDates %]:"
1567             - "      [% END %]"
1568             - "    </td>"
1569             - "    [% IF ( borrower.account.balance <= 0 ) %]<td class='credit'>[% borrower.account.balance * -1 | $Price %]</td>"
1570             - "    [% ELSE %]<td class='debit'>[% borrower.account.balance | $Price %]</td>[% END %]"
1571             - "  </tfoot>"
1572             - "</table>"
1573
1574         - module: orderacquisition
1575           code: ACQORDER
1576           branchcode: ""
1577           name: "Acquisition order"
1578           is_html: 0
1579           title: "Order"
1580           message_transport_type: email
1581           lang: default
1582           content:
1583             - "<<aqbooksellers.name>>"
1584             - "<<aqbooksellers.address1>>"
1585             - "<<aqbooksellers.address2>>"
1586             - "<<aqbooksellers.address3>>"
1587             - "<<aqbooksellers.address4>>"
1588             - "<<aqbooksellers.phone>>"
1589             - ""
1590             - "Please order for the library:"
1591             - ""
1592             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (quantity: <<aqorders.quantity>>) ($<<aqorders.listprice>> each).</order>"
1593             - ""
1594             - "Thank you,"
1595             - ""
1596             - "<<branches.branchname>>"
1597
1598         - module: pos
1599           code: RECEIPT
1600           branchcode: ""
1601           name: "Point of sale receipt"
1602           is_html: 1
1603           title: "Receipt"
1604           message_transport_type: print
1605           lang: default
1606           content:
1607             - "[% USE KohaDates %]"
1608             - "[% USE Branches %]"
1609             - "[% USE Price %]"
1610             - "[% PROCESS \"accounts.inc\" %]"
1611             - "<table>"
1612             - "[% IF ( LibraryName ) %]"
1613             - " <tr>"
1614             - "    <th colspan=\"2\" class=\"centerednames\">"
1615             - "        <h3>[% LibraryName | html %]</h3>"
1616             - "    </th>"
1617             - " </tr>"
1618             - "[% END %]"
1619             - " <tr>"
1620             - "    <th colspan=\"2\" class=\"centerednames\">"
1621             - "        <h2>[% Branches.GetName( credit.branchcode ) | html %]</h2>"
1622             - "    </th>"
1623             - " </tr>"
1624             - "<tr>"
1625             - "    <th colspan=\"2\" class=\"centerednames\">"
1626             - "        <h3>[% credit.date | $KohaDates %]</h3>"
1627             - "</tr>"
1628             - "<tr>"
1629             - "  <td>Transaction ID: </td>"
1630             - "  <td>[% credit.accountlines_id %]</td>"
1631             - "</tr>"
1632             - "<tr>"
1633             - "  <td>Operator ID: </td>"
1634             - "  <td>[% credit.manager_id %]</td>"
1635             - "</tr>"
1636             - "<tr>"
1637             - "  <td>Payment type: </td>"
1638             - "  <td>[% credit.payment_type %]</td>"
1639             - "</tr>"
1640             - " <tr></tr>"
1641             - " <tr>"
1642             - "    <th colspan=\"2\" class=\"centerednames\">"
1643             - "        <h2><u>Fee receipt</u></h2>"
1644             - "    </th>"
1645             - " </tr>"
1646             - " <tr></tr>"
1647             - " <tr>"
1648             - "    <th>Description of charges</th>"
1649             - "    <th>Amount</th>"
1650             - "  </tr>"
1651             - ""
1652             - "  [% FOREACH debit IN credit.debits %]"
1653             - "    <tr>"
1654             - "        <td>[% PROCESS account_type_description account=debit %]</td>"
1655             - "        <td>[% debit.amount * -1 | $Price %]</td>"
1656             - "    </tr>"
1657             - "  [% END %]"
1658             - ""
1659             - "<tfoot>"
1660             - "  <tr class=\"highlight\">"
1661             - "    <td>Total: </td>"
1662             - "    <td>[% credit.amount * -1| $Price %]</td>"
1663             - "  </tr>"
1664             - "  <tr>"
1665             - "    <td>Tendered: </td>"
1666             - "    <td>[% collected | $Price %]</td>"
1667             - "  </tr>"
1668             - "  <tr>"
1669             - "    <td>Change: </td>"
1670             - "    <td>[% change | $Price %]</td>"
1671             - "    </tr>"
1672             - "</tfoot>"
1673             - "</table>"
1674
1675         - module: pos
1676           code: RECEIPT
1677           branchcode: ""
1678           name: "Point of sale receipt"
1679           is_html: 1
1680           title: "Receipt"
1681           message_transport_type: email
1682           lang: default
1683           content:
1684             - "[% USE KohaDates %]"
1685             - "[% USE Branches %]"
1686             - "[% USE Price %]"
1687             - "[% PROCESS \"accounts.inc\" %]"
1688             - "<table>"
1689             - "    [% IF ( LibraryName ) %]"
1690             - "    <tr>"
1691             - "      <th colspan=\"2\" class=\"centerednames\">"
1692             - "        <h3>[% LibraryName | html %]</h3>"
1693             - "      </th>"
1694             - "    </tr>"
1695             - "    [% END %]"
1696             - "    [% IF credit.library %]"
1697             - "    <tr>"
1698             - "      <th colspan=\"2\" class=\"centerednames\">"
1699             - "        <h2>[% payment.library.branchname | html %]</h2>"
1700             - "      </th>"
1701             - "    </tr>"
1702             - "    [% END %]"
1703             - "    <tr>"
1704             - "      <th colspan=\"2\" class=\"centerednames\">"
1705             - "        <h3>[% payment.date | $KohaDates %]</h3>"
1706             - "      </th>"
1707             - "    </tr>"
1708             - "    <tr>"
1709             - "      <td>Transaction ID: </td>"
1710             - "      <td>[% payment.accountlines_id %]</td>"
1711             - "    </tr>"
1712             - "    <tr>"
1713             - "      <td>Operator ID: </td>"
1714             - "      <td>[% payment.manager_id %]</td>"
1715             - "    </tr>"
1716             - "    <tr>"
1717             - "      <td>Payment type: </td>"
1718             - "      <td>[% payment.payment_type %]</td>"
1719             - "    </tr>"
1720             - "    <tr>"
1721             - "      <th colspan=\"2\" class=\"centerednames\">"
1722             - "        <h2><u>Payment receipt</u></h2>"
1723             - "      </th>"
1724             - "    </tr>"
1725             - "    <tr>"
1726             - "      <th>Description of charges</th>"
1727             - "      <th>Amount</th>"
1728             - "    </tr>"
1729             - "    [% FOREACH offset IN payment.credit_offsets %]"
1730             - "    <tr>"
1731             - "        <td>[% PROCESS account_type_description account=debit %]</td>"
1732             - "        <td>[% debit.amount * -1 | $Price %]</td>"
1733             - "    </tr>"
1734             - "    [% END %]"
1735             - "  <tfoot>"
1736             - "    <tr class=\"highlight\">"
1737             - "      <td>Total:</td>"
1738             - "      <td>[% payment.amount * -1 | $Price %]</td>"
1739             - "    </tr>"
1740             - "    <tr>"
1741             - "      <td>Tendered: </td>"
1742             - "      <td>[% collected | $Price %]</td>"
1743             - "    </tr>"
1744             - "    <tr>"
1745             - "      <td>Change given:</td>"
1746             - "      <td>[% change | $Price %]</td>"
1747             - "    </tr>"
1748             - "  </tfoot>"
1749             - "</table>"
1750
1751         - module: reserves
1752           code: CANCEL_HOLD_ON_LOST
1753           branchcode: ""
1754           name: "Hold has been cancelled"
1755           is_html: 0
1756           title: "Hold has been cancelled"
1757           message_transport_type: email
1758           lang: default
1759           content:
1760             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1761             - ""
1762             - "We regret to inform you, that the following item can not be provided due to it being missing. Your hold was cancelled."
1763             - ""
1764             - "Title: [% biblio.title %]"
1765             - "Author: [% biblio.author %]"
1766             - "Copy: [% item.copynumber %]"
1767             - "Location: [% branch.branchname %]"
1768
1769         - module: reserves
1770           code: HOLD
1771           branchcode: ""
1772           name: "Hold available for pickup"
1773           is_html: 0
1774           title: "Hold available for pickup at <<branches.branchname>>"
1775           message_transport_type: email
1776           lang: default
1777           content:
1778             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1779             - ""
1780             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1781             - ""
1782             - "Title: <<biblio.title>>"
1783             - "Author: <<biblio.author>>"
1784             - "Copy: <<items.copynumber>>"
1785             - "Location: <<branches.branchname>>"
1786             - "<<branches.branchaddress1>>"
1787             - "<<branches.branchaddress2>>"
1788             - "<<branches.branchaddress3>>"
1789             - "<<branches.branchcity>> <<branches.branchzip>>"
1790
1791         - module: reserves
1792           code: HOLDDGST
1793           branchcode: ""
1794           name: "Hold(s) available for pickup"
1795           is_html: 0
1796           title: "Hold(s) available for pickup"
1797           message_transport_type: email
1798           lang: default
1799           content:
1800             - "You have one or more holds available for pickup:"
1801             - "----"
1802             - "Title: [% hold.biblio.title %]"
1803             - "Author: [% hold.biblio.author %]"
1804             - "Copy: [% hold.item.copynumber %]"
1805             - "Waiting since: [% hold.waitingdate %]"
1806             - "Waiting at: [% hold.branch.branchname %]"
1807             - "[% hold.branch.branchaddress1 %]"
1808             - "[% hold.branch.branchaddress2 %]"
1809             - "[% hold.branch.branchaddress3 %]"
1810             - "[% hold.branch.branchcity %] [% hold.branch.branchzip %]"
1811             - "----"
1812             - "Thank you!"
1813
1814         - module: reserves
1815           code: HOLDDGST
1816           branchcode: ""
1817           name: "Hold(s) available for pickup"
1818           is_html: 0
1819           title: "Hold(s) available for pickup"
1820           message_transport_type: sms
1821           lang: default
1822           content:
1823             - "You have one or more holds available for pickup:"
1824             - ""
1825             - "----"
1826             - "Title: [% hold.biblio.title %]"
1827             - "----"
1828
1829         - module: reserves
1830           code: HOLD
1831           branchcode: ""
1832           name: "Hold available for pickup"
1833           is_html: 0
1834           title: "Hold available for pickup at <<branches.branchname>>"
1835           message_transport_type: sms
1836           lang: default
1837           content:
1838             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1839             - ""
1840             - "Your hold for <<biblio.title>> is available for pickup."
1841
1842         - module: reserves
1843           code: HOLD
1844           branchcode: ""
1845           name: "Hold available for pickup"
1846           is_html: 0
1847           title: "Hold available for pickup (print notice)"
1848           message_transport_type: print
1849           lang: default
1850           content:
1851             - "<<branches.branchname>>"
1852             - "<<branches.branchaddress1>>"
1853             - "<<branches.branchaddress2>>"
1854             - ""
1855             - ""
1856             - "Change service requested"
1857             - ""
1858             - ""
1859             - ""
1860             - ""
1861             - ""
1862             - ""
1863             - ""
1864             - "<<borrowers.firstname>> <<borrowers.surname>>"
1865             - "<<borrowers.address>>"
1866             - "<<borrowers.city>> <<borrowers.zipcode>>"
1867             - ""
1868             - ""
1869             - ""
1870             - ""
1871             - ""
1872             - ""
1873             - ""
1874             - ""
1875             - ""
1876             - ""
1877             - "<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>"
1878             - ""
1879             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1880             - ""
1881             - "Title: <<biblio.title>>"
1882             - "Author: <<biblio.author>>"
1883             - "Copy: <<items.copynumber>>"
1884             - ""
1885
1886         - module: reserves
1887           code: HOLDPLACED
1888           branchcode: ""
1889           name: "Hold placed on item"
1890           is_html: 0
1891           title: "Hold placed on item"
1892           message_transport_type: email
1893           lang: default
1894           content:
1895             - "A hold has been placed on the following item : <<biblio.title>> (<<biblio.biblionumber>>) by the user <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1896
1897         - module: reserves
1898           code: HOLD_CHANGED
1899           branchcode: ""
1900           name: "Canceled hold available for different patron"
1901           is_html: 0
1902           title: "Canceled hold available for different patron"
1903           message_transport_type: email
1904           lang: default
1905           content:
1906             - "The patron picking up <<biblio.title>> (<<items.barcode>>) has changed to <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1907             - "Please update the hold information for this item."
1908             - "Title: <<biblio.title>>"
1909             - "Author: <<biblio.author>>"
1910             - "Item: <<items.itemcallnumber>>"
1911             - "Pickup location: <<branches.branchname>>"
1912
1913         - module: reserves
1914           code: HOLD_REMINDER
1915           branchcode: ""
1916           name: "Waiting hold reminder"
1917           is_html: 0
1918           title: "You have waiting holds."
1919           message_transport_type: email
1920           lang: default
1921           content:
1922             - "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 %]"
1923
1924         - module: reserves
1925           code: NEW_CURBSIDE_PICKUP
1926           branchcode: ""
1927           name: "New curbside pickup"
1928           is_html: 0
1929           title: "You have scheduled a curbside pickup for [% branch.branchname %]"
1930           message_transport_type: email
1931           lang: default
1932           content:
1933             - "[%- USE KohaDates -%]"
1934             - "[%- SET cp = curbside_pickup -%]"
1935             - ""
1936             - "You have a curbside pickup scheduled for [% cp.scheduled_pickup_datetime | $KohaDates with_hours => 1 %] at [% cp.library.branchname %]."
1937             - "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 %]"
1938             - ""
1939             - "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."
1940
1941         - module: serial
1942           code: SERIAL_ALERT
1943           branchcode: ""
1944           name: "New serial issue"
1945           is_html: 0
1946           title: "New serial issue is now available"
1947           message_transport_type: email
1948           lang: default
1949           content:
1950             - "<<borrowers.firstname>> <<borrowers.surname>>,"
1951             - ""
1952             - "The following issue is now available:"
1953             - ""
1954             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
1955             - ""
1956             - "Please pick it up at your convenience."
1957
1958         - module: suggestions
1959           code: ACCEPTED
1960           branchcode: ""
1961           name: "Suggestion accepted"
1962           is_html: 0
1963           title: "Purchase suggestion accepted"
1964           message_transport_type: email
1965           lang: default
1966           content:
1967             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1968             - ""
1969             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1970             - ""
1971             - "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."
1972             - ""
1973             - "If you have any questions, please email us at <<branches.branchemail>>."
1974             - ""
1975             - "Thank you,"
1976             - ""
1977             - "<<branches.branchname>>"
1978
1979         - module: suggestions
1980           code: AVAILABLE
1981           branchcode: ""
1982           name: "Suggestion available"
1983           is_html: 0
1984           title: "Suggested purchase available"
1985           message_transport_type: email
1986           lang: default
1987           content:
1988             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1989             - ""
1990             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1991             - ""
1992             - "We are pleased to inform you that the item you requested is now part of the collection."
1993             - ""
1994             - "If you have any questions, please email us at <<branches.branchemail>>."
1995             - ""
1996             - "Thank you,"
1997             - ""
1998             - "<<branches.branchname>>"
1999
2000         - module: suggestions
2001           code: NEW_SUGGESTION
2002           branchcode: ""
2003           name: "New suggestion"
2004           is_html: 1
2005           title: "New suggestion"
2006           message_transport_type: email
2007           lang: default
2008           content:
2009             - "<h3>Suggestion pending approval</h3>"
2010             - "    <p><h4>Suggested by</h4>"
2011             - "    <ul>"
2012             - "    <li><<borrowers.firstname>> <<borrowers.surname>></li>"
2013             - "    <li><<borrowers.cardnumber>></li>"
2014             - "    <li><<borrowers.phone>></li>"
2015             - "    <li><<borrowers.email>></li>"
2016             - "    </ul>"
2017             - "    </p>"
2018             - "    <p><h4>Title suggested</h4>"
2019             - "    <ul>"
2020             - "    <li><b>Library:</b> <<branches.branchname>></li>"
2021             - "    <li><b>Title:</b> <<suggestions.title>></li>"
2022             - "    <li><b>Author:</b> <<suggestions.author>></li>"
2023             - "    <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>"
2024             - "    <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>"
2025             - "    <li><b>Publisher:</b> <<suggestions.publishercode>></li>"
2026             - "    <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>"
2027             - "    <li><b>Publication place:</b> <<suggestions.place>></li>"
2028             - "    <li><b>Quantity:</b> <<suggestions.quantity>></li>"
2029             - "    <li><b>Item type:</b>  <<suggestions.itemtype>></li>"
2030             - "    <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>"
2031             - "    <li><b>Notes:</b> <<suggestions.note>></li>"
2032             - "    </ul>"
2033             - "    </p>"
2034
2035         - module: suggestions
2036           code: ORDERED
2037           branchcode: ""
2038           name: "Suggestion ordered"
2039           is_html: 0
2040           title: "Suggested item ordered"
2041           message_transport_type: email
2042           lang: default
2043           content:
2044             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
2045             - ""
2046             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
2047             - ""
2048             - "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."
2049             - ""
2050             - "You will be notified again when the book is available."
2051             - ""
2052             - "If you have any questions, please email us at <<branches.branchemail>>"
2053             - ""
2054             - "Thank you,"
2055             - ""
2056             - "<<branches.branchname>>"
2057
2058         - module: suggestions
2059           code: REJECTED
2060           branchcode: ""
2061           name: "Suggestion rejected"
2062           is_html: 0
2063           title: "Purchase suggestion declined"
2064           message_transport_type: email
2065           lang: default
2066           content:
2067             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
2068             - ""
2069             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
2070             - ""
2071             - "The library has reviewed your request today, and has decided not to accept the suggestion at this time."
2072             - ""
2073             - "The reason given is: <<suggestions.reason>>"
2074             - ""
2075             - "If you have any questions, please email us at <<branches.branchemail>>."
2076             - ""
2077             - "Thank you,"
2078             - ""
2079             - "<<branches.branchname>>"
2080
2081         - module: suggestions
2082           code: TO_PROCESS
2083           branchcode: ""
2084           name: "Notify fund owner"
2085           is_html: 0
2086           title: "A suggestion is ready to be processed"
2087           message_transport_type: email
2088           lang: default
2089           content:
2090             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
2091             - ""
2092             - "A new suggestion is ready to be processed: <<suggestions.title>> by <<suggestions.author>>."
2093             - ""
2094             - "Thank you,"
2095             - ""
2096             - "<<branches.branchname>>"
2097
2098         - module: suggestions
2099           code: NOTIFY_MANAGER
2100           branchcode: ""
2101           name: "Notify manager of a suggestion"
2102           is_html: 0
2103           title: "A suggestion has been assigned to you"
2104           message_transport_type: email
2105           lang: default
2106           content:
2107             - "Dear [% borrower.firstname %] [% borrower.surname %],"
2108             - ""
2109             - "A new suggestion has been assigned to you: [% suggestion.title %]."
2110             - ""
2111             - "Thank you,"
2112             - ""
2113             - "[% branch.branchname %]"
2114
2115         - module: members
2116           code: PROBLEM_REPORT
2117           branchcode: ""
2118           name: "OPAC problem report"
2119           is_html: 0
2120           title: "OPAC problem report"
2121           message_transport_type: email
2122           lang: default
2123           content:
2124             - "Username: <<problem_reports.username>>"
2125             - ""
2126             - "Problem page: <<problem_reports.problempage>>"
2127             - ""
2128             - "Title: <<problem_reports.title>>"
2129             - ""
2130             - "Message: <<problem_reports.content>>"
2131
2132         - module: circulation
2133           code: AUTO_RENEWALS
2134           branchcode: ""
2135           name: "Notification of automatic renewal"
2136           is_html: 0
2137           title: "Automatic renewal notice"
2138           message_transport_type: email
2139           lang: default
2140           content:
2141             - "Dear [% borrower.firstname %] [% borrower.surname %],"
2142             - "[% IF checkout.auto_renew_error == 'auto_renew_final' %]"
2143             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
2144             - "This item has reached the maximum number of automatic renewals and will no longer be renewed."
2145             - "[% ELSIF checkout.auto_renew_error == 'auto_unseen_final' %]"
2146             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
2147             - "This item has reached the maximum number of unseen renewals and will need to be renewed at the library."
2148             - "[% ELSIF checkout.auto_renew_error %]"
2149             - "The following item, [% biblio.title %], has not been renewed because:"
2150             - "[% IF checkout.auto_renew_error == 'too_many' %]"
2151             - "You have reached the maximum number of renewals possible."
2152             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
2153             - "This item is on hold for another patron."
2154             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
2155             - "You are currently restricted."
2156             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
2157             - "You have overdue items."
2158             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
2159             - "It's too late to renew this item."
2160             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
2161             - "Your total unpaid fines are too high."
2162             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
2163             - "This item must be renewed at the library."
2164             - "[% ELSIF checkout.auto_renew_error == 'auto_account_expired' %]"
2165             - "Your account has expired."
2166             - "[% END %]"
2167             - "[% ELSE %]"
2168             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
2169             - "[% END %]"
2170
2171         - module: circulation
2172           code: CHECKINSLIP
2173           branchcode: ""
2174           name: "Checkin slip"
2175           is_html: 1
2176           title: "Checkin slip"
2177           message_transport_type: print
2178           lang: default
2179           content:
2180             - "<h3>[% branch.branchname %]</h3>"
2181             - "Checked in items for [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br />"
2182             - "([% borrower.cardnumber %]) <br />"
2183             - ""
2184             - "[% today | $KohaDates %]<br />"
2185             - ""
2186             - "<h4>Checked in today</h4>"
2187             - "[% FOREACH checkin IN old_checkouts %]"
2188             - "[% SET item = checkin.item %]"
2189             - "<p>"
2190             - "[% item.biblio.title %] <br />"
2191             - "Barcode: [% item.barcode %] <br />"
2192             - "</p>"
2193             - "[% END %]"
2194
2195         - module: circulation
2196           code: OVERDUE_FINE_DESC
2197           branchcode: ""
2198           name: "Overdue item fine description"
2199           is_html: 0
2200           title: "Overdue item fine description"
2201           message_transport_type: print
2202           lang: default
2203           content:
2204             - "[% item.biblio.title %] [% checkout.date_due | $KohaDates %]"
2205
2206         - module: circulation
2207           code: AUTO_RENEWALS_DGST
2208           branchcode: ""
2209           name: "Notification on auto renewals"
2210           is_html: 0
2211           title: "Auto renewals (Digest)"
2212           message_transport_type: email
2213           lang: default
2214           content:
2215             - "Dear [% borrower.firstname %] [% borrower.surname %],"
2216             - "[% IF error %]"
2217             - "There were [% error %] items that were not renewed."
2218             - "[% END %]"
2219             - "[% IF success %]"
2220             - "There were [% success %] items that were renewed."
2221             - "[% END %]"
2222             - "[% FOREACH checkout IN checkouts %]"
2223             - "[% checkout.item.biblio.title %] : [% checkout.item.barcode %]"
2224             - "[% IF !checkout.auto_renew_error %]"
2225             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
2226             - "[% ELSIF checkout.auto_renew_error == 'too_many' %]"
2227             - "You have reached the maximum number of renewals possible."
2228             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
2229             - "This item is on hold for another patron."
2230             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
2231             - "You are currently restricted."
2232             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
2233             - "You have overdue items."
2234             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
2235             - "It's too late to renew this item."
2236             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
2237             - "Your total unpaid fines are too high."
2238             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
2239             - "This item must be renewed at the library."
2240             - "[% ELSIF checkout.auto_renew_error == 'auto_renew_final' %]"
2241             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
2242             - "This item has reached the maximum number of automatic renewals and will no longer be renewed."
2243             - "[% ELSIF checkout.auto_renew_error == 'auto_unseen_final' %]"
2244             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
2245             - "This item has reached the maximum number of unseen renewals and will need to be renewed at the library."
2246             - "[% END %]"
2247             - "[% END %]"
2248
2249         - module: circulation
2250           code: RETURN_RECALLED_ITEM
2251           branchcode: ""
2252           name: "Notification to return a recalled item"
2253           is_html: 0
2254           title: "Notification to return a recalled item"
2255           message_transport_type: email
2256           lang: default
2257           content:
2258             - "Date: <<today>>"
2259             - ""
2260             - "<<borrowers.firstname>> <<borrowers.surname>>,"
2261             - ""
2262             - "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."
2263             - ""
2264             - "Thank you!"
2265
2266         - module: circulation
2267           code: PICKUP_RECALLED_ITEM
2268           branchcode: ""
2269           name: "Recalled item awaiting pickup"
2270           is_html: 0
2271           title: "Recalled item awaiting pickup"
2272           message_transport_type: email
2273           lang: default
2274           content:
2275             - "Date: <<today>>"
2276             - ""
2277             - "<<borrowers.firstname>> <<borrowers.surname>>,"
2278             - ""
2279             - "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>>."
2280             - ""
2281             - "Thank you!"
2282
2283         - module: circulation
2284           code: RECALL_REQUESTER_DET
2285           branchcode: ""
2286           name: "Details of patron who recalled item"
2287           is_html: 0
2288           title: "Details of patron who recalled item"
2289           message_transport_type: print
2290           lang: default
2291           content:
2292             - "Date: <<today>>"
2293             - ""
2294             - "Recall for pickup at <<branches.branchname>>"
2295             - "<<borrowers.surname>>, <<borrowers.firstname>> (<<borrowers.cardnumber>>)"
2296             - "<<borrowers.phone>>"
2297             - "<<borrowers.streetnumber>> <<borrowers.address>>, <<borrowers.address2>>, <<borrowers.city>> <<borrowers.zipcode>>"
2298             - "<<borrowers.email>>"
2299             - ""
2300             - "ITEM RECALLED"
2301             - "<<biblio.title>> by <<biblio.author>>"
2302             - "Barcode: <<items.barcode>>"
2303             - "Callnumber: <<items.itemcallnumber>>"
2304             - "Waiting since: <<recalls.waiting_date>>"
2305             - "Notes: <<recalls.notes>>"
2306
2307         - module: members
2308           code: 2FA_DISABLE
2309           branchcode: ""
2310           name: "Confirmation of disabling two factor authentication"
2311           is_html: 1
2312           title: "Confirmation of disabling two factor authentication"
2313           message_transport_type: email
2314           lang: default
2315           content:
2316             - "<p>Dear [% borrower.firstname %] [% borrower.surname %],</p>"
2317             - "<p>This is to confirm that someone disabled two factor authentication on your account.</p>"
2318             - "<p>If you did not do this, someone else may be using your account. Please contact technical support.</p>"
2319             - "<p>Your library</p>"
2320
2321         - module: members
2322           code: 2FA_ENABLE
2323           branchcode: ""
2324           name: "Confirmation of enabling two factor authentication"
2325           is_html: 1
2326           title: "Confirmation of enabling two factor authentication"
2327           message_transport_type: email
2328           lang: default
2329           content:
2330             - "<p>Dear [% borrower.firstname %] [% borrower.surname %],</p>"
2331             - "<p>This is to confirm that someone enabled two factor authentication on your account.</p>"
2332             - "<p>If you did not do this, someone else may be using your account. Please contact technical support.</p>"
2333             - "<p>Your library</p>"
2334
2335         - module: members
2336           code: OPAC_REG
2337           branchcode: ""
2338           name: "New OPAC self-registration submitted"
2339           is_html: 1
2340           title: "New OPAC self-registration"
2341           message_transport_type: email
2342           lang: default
2343           content:
2344             - "<h3>New OPAC self-registration</h3>"
2345             - "<p><h4>Self-registration made:</h4>"
2346             - "<ul>"
2347             - "<li> [% borrower.firstname %] [% borrower.surname %]</li>"
2348             - "[% IF borrower.cardnumber %]<li>Cardnumber: [% borrower.cardnumber %]</li>[% END %]"
2349             - "[% IF borrower.email %]<li>Email: [% borrower.email %]</li>[% END %]"
2350             - "[% IF borrower.phone %]<li>Phone: [% borrower.phone %]</li>[% END %]"
2351             - "[% IF borrower.mobile %]<li>Mobile: [% borrower.mobile %]</li>[% END %]"
2352             - "[% IF borrower.fax %]<li>Fax: [% borrower.fax %]</li>[% END %]"
2353             - "[% IF borrower.emailpro %]<li>Secondary email: [% borrower.emailpro %]</li>[% END %]"
2354             - "[% IF borrower.phonepro %]<li>Secondary phone: [% borrower.phonepro %]</li>[% END %]"
2355             - "[% IF borrower.branchcode %]<li>Home library: [% borrower.branchcode %]</li>[% END %]"
2356             - "[% IF borrower.categorycode %]<li>Temporary patron category: [% borrower.categorycode %]</li>[% END %]"
2357             - "</ul>"
2358             - "</p>"
2359
2360         - module: catalogue
2361           code: LIST
2362           branchcode: ""
2363           name: "Send list"
2364           is_html: 1
2365           title: "Your list: [% listname | html %]"
2366           message_transport_type: email
2367           lang: default
2368           content:
2369             - "[%- USE Branches -%]"
2370             - "[%- USE AuthorisedValues -%]"
2371             - "[%- USE Koha -%]"
2372             - "[%- PROCESS 'html_helpers.inc' -%]"
2373             - "Hi,<br><br>"
2374             - "[% borrower.firstname | html %] [% borrower.surname | html %] sent you a list from our online catalog called: [% listname | html %].<br>"
2375             - "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>"
2376             - "[% IF ( comment ) %]<hr><br>[% comment | html | html_line_break %]<br><br>[% END %]<hr>"
2377             - "<ol>[% FOREACH biblio IN biblios %]<li>"
2378             - "[% biblio.title | html %]"
2379             - "[% IF ( biblio.subtitle ) %][% FOREACH subtitle IN biblio.subtitle.split(' | ') %][% subtitle | html %][% END %][% END %][% biblio.part_number | html %] [% biblio.part_name | html %]<br>"
2380             - "[% 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 %]"
2381             - "[% SET biblioitem = biblio.biblioitem %][% IF ( biblioitem.isbn ) %]ISBN: [% FOREACH isbn IN biblioitem.isbn %][% isbn | html %][% UNLESS ( loop.last ) %]; [% END %][% END %]<br>[% END %]"
2382             - "[% 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 %]"
2383             - "[% IF ( biblio.seriestitle ) %]Collection: [% biblio.seriestitle | html %]<br>[% END %]"
2384             - "[% IF ( biblio.copyrightdate ) %]Copyright year: [% biblio.copyrightdate | html %]<br>[% END %]"
2385             - "[% IF ( biblio.notes ) %]Notes: [% biblio.notes | html %]<br>[% END %]"
2386             - "[% IF ( biblio.unititle ) %]Unified title: [% biblio.unititle | html %]<br>[% END %]"
2387             - "[% IF ( biblio.serial ) %]Serial: [% biblio.serial | html %]<br>[% END %]"
2388             - "[% IF ( biblioitem.lccn ) %]LCCN: [% biblioitem.lccn | html %]<br>[% END %]"
2389             - "[% 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 %]"
2390             - "[% IF ( biblioitem.url ) %]URL: [% biblioitem.url | html %]<br>[% END %]"
2391             - "[<a href='[% Koha.Preference('OpacBaseUrl') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]'>View in online catalog</a>"
2392             - "[% IF ( biblio.items.count > 0 ) %]<br>Items: <ul>[% FOREACH item IN biblio.items %]<li>[% Branches.GetName( item.holdingbranch ) | html %]"
2393             - "[% 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 %]"
2394             - "<hr></li>[% END %]</ol>"
2395
2396         - module: catalogue
2397           code: CART
2398           branchcode: ""
2399           name: "Send cart"
2400           is_html: 1
2401           title: "Your cart"
2402           message_transport_type: email
2403           lang: default
2404           content:
2405             - "[%- USE Branches -%]"
2406             - "[%- USE AuthorisedValues -%]"
2407             - "[%- USE Koha -%]"
2408             - "[%- PROCESS 'html_helpers.inc' -%]"
2409             - "Hi,<br><br>"
2410             - "[% borrower.firstname | html %] [% borrower.surname | html %] sent you a cart from our online catalog.<br>"
2411             - "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>"
2412             - "[% IF ( comment ) %]<hr><br>[% comment | html | html_line_break %]<br><br>[% END %]<hr>"
2413             - "<ol>[% FOREACH biblio IN biblios %]<li>"
2414             - "[% biblio.title | html %]"
2415             - "[% IF ( biblio.subtitle ) %][% FOREACH subtitle IN biblio.subtitle.split(' | ') %][% subtitle | html %][% END %][% END %][% biblio.part_number | html %] [% biblio.part_name | html %]<br>"
2416             - "[% 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 %]"
2417             - "[% SET biblioitem = biblio.biblioitem %][% IF ( biblioitem.isbn ) %]ISBN: [% FOREACH isbn IN biblioitem.isbn %][% isbn | html %][% UNLESS ( loop.last ) %]; [% END %][% END %]<br>[% END %]"
2418             - "[% 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 %]"
2419             - "[% IF ( biblio.seriestitle ) %]Collection: [% biblio.seriestitle | html %]<br>[% END %]"
2420             - "[% IF ( biblio.copyrightdate ) %]Copyright year: [% biblio.copyrightdate | html %]<br>[% END %]"
2421             - "[% IF ( biblio.notes ) %]Notes: [% biblio.notes | html %]<br>[% END %]"
2422             - "[% IF ( biblio.unititle ) %]Unified title: [% biblio.unititle | html %]<br>[% END %]"
2423             - "[% IF ( biblio.serial ) %]Serial: [% biblio.serial | html %]<br>[% END %]"
2424             - "[% IF ( biblioitem.lccn ) %]LCCN: [% biblioitem.lccn | html %]<br>[% END %]"
2425             - "[% 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 %]"
2426             - "[% IF ( biblioitem.url ) %]URL: [% biblioitem.url | html %]<br>[% END %]"
2427             - "<a href='[% Koha.Preference('OpacBaseUrl') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]'>View in online catalog</a>"
2428             - "[% IF ( biblio.items.count > 0 ) %]<br>Items: <ul>[% FOREACH item IN biblio.items %]<li>[% Branches.GetName( item.holdingbranch ) | html %]"
2429             - "[% 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 %]"
2430             - "<hr></li>[% END %]</ol>"
2431
2432         - module: preservation
2433           code: PRES_TRAIN_ITEM
2434           branchcode: ""
2435           name: "Train item slip"
2436           is_html: 0
2437           title: "Train item slip"
2438           message_transport_type: print
2439           lang: default
2440           content:
2441             - "[%~ USE AuthorisedValues ~%]"
2442             - "[%~ SET train = train_item.train ~%]"
2443             - "[%~ SET item = train_item.catalogue_item ~%]"
2444             - "Train name: [% train.name %]"
2445             - "Sent on: [% train.sent_on | $KohaDates %]"
2446             - ""
2447             - "[% train.default_processing.name %]"
2448             - ""
2449             - "Item number #[% train_item.user_train_item_id %]"
2450             - ""
2451             - "[% FOREACH item_attribute IN train_item.attributes %]"
2452             - "    [%~ SET value = item_attribute.value ~%]"
2453             - "    [%~ IF item_attribute.processing_attribute.type == 'authorised_value' ~%]"
2454             - "        [%~ SET value = AuthorisedValues.GetByCode(item_attribute.processing_attribute.option_source, item_attribute.value) ~%]"
2455             - "    [%~ END ~%]"
2456             - "    [% item_attribute.processing_attribute.name %]: [% value %]"
2457             - "[% END %]"