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