Bug 24381: (follow-up) Notice improvements
[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: circulation
47           code: ACCOUNT_CREDIT
48           branchcode: ""
49           name: "Account payment"
50           is_html: 1
51           title: "Account payment"
52           message_transport_type: print
53           lang: default
54           content:
55             - "[%- USE AuthorisedValues -%]"
56             - "[%- PROCESS \"accounts.inc\" -%]"
57             - "<table>"
58             - "    [% IF ( LibraryName ) %]"
59             - "    <tr>"
60             - "      <th colspan=\"2\" class=\"centerednames\">"
61             - "        <h3>[% LibraryName | html %]</h3>"
62             - "      </th>"
63             - "    </tr>"
64             - "    [% END %]"
65             - "    [% IF credit.library %]"
66             - "    <tr>"
67             - "      <th colspan=\"2\" class=\"centerednames\">"
68             - "        <h2>[% credit.library.branchname | html %]</h2>"
69             - "      </th>"
70             - "    </tr>"
71             - "    [% END %]"
72             - "    <tr>"
73             - "      <th colspan=\"2\" class=\"centerednames\">"
74             - "        <h3>[% today | $KohaDates %]</h3>"
75             - "      </th>"
76             - "    </tr>"
77             - "    <tr>"
78             - "      <td>Transaction ID: </td>"
79             - "      <td>[% credit.accountlines_id %]</td>"
80             - "    </tr>"
81             - "    <tr>"
82             - "      <td>Operator ID: </td>"
83             - "      <td>[% credit.manager_id %]</td>"
84             - "    </tr>"
85             - "    [% IF credit.payment_type %]"
86             - "    <tr>"
87             - "      <td>Payment type: </td>"
88             - "      <td>[% AuthorisedValues.GetByCode('PAYMENT_TYPE', credit.payment_type) %]</td>"
89             - "    </tr>"
90             - "    [% END %]"
91             - "    <tr>"
92             - "      <th colspan=\"2\" class=\"centerednames\">"
93             - "        <h2><u>[%- PROCESS credit_type_description credit_type = credit.credit_type -%] receipt</u></h2>"
94             - "      </th>"
95             - "    </tr>"
96             - "    [% IF ( credit.credit_type_code == 'PAYMENT' ) %]"
97             - "    <tr>"
98             - "      <th colspan=\"2\">"
99             - "        Received with thanks from  [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />"
100             - "        Card number: [% credit.patron.cardnumber | html %]<br />"
101             - "      </th>"
102             - "    </tr>"
103             - "    [% ELSIF ( credit.credit_type_code == 'CREDIT' ) %]"
104             - "    <tr>"
105             - "      <th colspan=\"2\">"
106             - "        Credit added to account for [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />"
107             - "        Card number: [% credit.patron.cardnumber | html %]<br />"
108             - "      </th>"
109             - "    </tr>"
110             - "    [% ELSIF ( credit.credit_type_code == 'WRITEOFF' ) %]"
111             - "    <tr>"
112             - "      <th colspan=\"2\">"
113             - "        Writeoff added to account for [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />"
114             - "        Card number: [% credit.patron.cardnumber | html %]<br />"
115             - "      </th>"
116             - "    </tr>"
117             - "    [% END %]"
118             - "    [% IF credit.amountoutstanding + 0 != 0 %]"
119             - "    <tr>"
120             - "      <th>Description of credit</th>"
121             - "      <th>Amount</th>"
122             - "    </tr>"
123             - "    <tr>"
124             - "      <td>[%- PROCESS credit_type_description credit_type = credit.credit_type -%]</td>"
125             - "      <td>[% credit.amount * -1 | $Price %]</td>"
126             - "    </tr>"
127             - "    <tr>"
128             - "      <th style=\"text-align:right;\">Total available:</th>"
129             - "      <td>[% credit.amountoutstanding * -1 | $Price %]</td>"
130             - "    </tr>"
131             - "    [% END %]"
132             - "    [% IF credit.amount != credit.amountoutstanding %]"
133             - "    <tr>"
134             - "      <th>Description of charges</th>"
135             - "      <th>Amount</th>"
136             - "    </tr>"
137             - "    [% FOREACH offset IN credit.credit_offsets %]"
138             - "    <tr>"
139             - "      <td>[% PROCESS account_type_description account=offset.debit %][% IF ( offset.debit.itemnumber ) %] - [% offset.debit.item.biblio.title %][% END %]</td>"
140             - "      <td>[% offset.amount * -1 | $Price %]</td>"
141             - "    </tr>"
142             - "    [% END %]"
143             - "    [% END %]"
144             - "  <tfoot>"
145             - "    <tr class=\"highlight\">"
146             - "      <td>Total:</td>"
147             - "      <td>[% credit.amount * -1 | $Price %]</td>"
148             - "    </tr>"
149             - "    [% IF change.defined %]"
150             - "    <tr>"
151             - "      <td>Change given: </td>"
152             - "      <td>[% change | $Price %]</td>"
153             - "    </tr>"
154             - "    [% END %]"
155             - "    <tr>"
156             - "      <td colspan=\"2\"></td>"
157             - "    </tr>"
158             - "    <tr>"
159             - "      <td>Account balance as on date:</td>"
160             - "      <td>[% credit.patron.account.balance * -1 | $Price %]</td>"
161             - "    </tr>"
162             - "  </tfoot>"
163             - "</table>"
164
165         - module: circulation
166           code: ACCOUNT_DEBIT
167           branchcode: ""
168           name: "Account fee"
169           is_html: 1
170           title: "Account fee"
171           message_transport_type: print
172           lang: default
173           content:
174             - "[% USE Price %]"
175             - "[% PROCESS \"accounts.inc\" %]"
176             - "<table>"
177             - "    [% IF ( LibraryName ) %]"
178             - "    <tr>"
179             - "      <th colspan=\"3\" class=\"centerednames\">"
180             - "        <h3>[% LibraryName | html %]</h3>"
181             - "      </th>"
182             - "    </tr>"
183             - "    [% END %]"
184             - "    [% IF debit.library %]"
185             - "    <tr>"
186             - "      <th colspan=\"3\" class=\"centerednames\">"
187             - "        <h2>[% debit.library.branchname | html %]</h2>"
188             - "      </th>"
189             - "    </tr>"
190             - "    [% END %]"
191             - "    <tr>"
192             - "      <td colspan=\"2\" style=\"text-align:right;\">Fee ID: </td>"
193             - "      <td>[% debit.accountlines_id %]</td>"
194             - "    </tr>"
195             - "    [% IF credit.manager_id %]"
196             - "    <tr>"
197             - "      <td colspan=\"2\" style=\"text-align:right;\">Operator ID: </td>"
198             - "      <td>[% credit.manager_id %]</td>"
199             - "    </tr>"
200             - "    [% END %]"
201             - "    <tr>"
202             - "      <th colspan=\"3\" class=\"centerednames\">"
203             - "        <h2><u>Invoice</u></h2>"
204             - "      </th>"
205             - "    </tr>"
206             - "    <tr>"
207             - "      <th colspan=\"3\" >"
208             - "        Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />"
209             - "        Card number: [% debit.patron.cardnumber | html %]<br />"
210             - "      </th>"
211             - "    </tr>"
212             - "    [% IF debit.amountoutstanding != 0 %]"
213             - "    <tr>"
214             - "      <th>Date</th>"
215             - "      <th>Description of charges</th>"
216             - "      <th>Amount</th>"
217             - "    </tr>"
218             - "    <tr>"
219             - "      <td>[% debit.date | $KohaDates %]</td>"
220             - "      <td>[% PROCESS account_type_description account=debit %]</td>"
221             - "      <td>[% debit.amount | $Price %]</td>"
222             - "    </tr>"
223             - "    <tr>"
224             - "      <td colspan=\"2\" style=\"text-align:right;\">Total owed:</td>"
225             - "      <td>[% debit.amount | $Price %]</td>"
226             - "    </tr>"
227             - "    [% END %]"
228             - "    [% IF debit.amount != debit.amountoutstanding %]"
229             - "    <tr>"
230             - "      <th>Date</th>"
231             - "      <th>Description of payments</th>"
232             - "      <th>Amount</th>"
233             - "    </tr>"
234             - "    [% FOREACH offset IN debit.debit_offsets %]"
235             - "    <tr>"
236             - "      <td>[% offset.credit.date | $KohaDates %]</td>"
237             - "      <td>[% PROCESS account_type_description account=offset.credit %]</td>"
238             - "      <td>[% offset.amount * -1 | $Price %]</td>"
239             - "    </tr>"
240             - "    [% END %]"
241             - "    <tr class=\"highlight\">"
242             - "      <td colspan=\"2\" style=\"text-align:right;\">Total paid:</td>"
243             - "      <td>[% debit.amount - debit.amountoutstanding | $Price %]</td>"
244             - "    </tr>"
245             - "    [% END %]"
246             - "    </tr>"
247             - "      <td colspan=\"3\"></td>"
248             - "    <tr>"
249             - "  <tfoot>"
250             - "    <tr>"
251             - "      <th colspan=\"2\" style=\"text-align:right;\">Total outstanding:</th>"
252             - "      <td>[% debit.amountoutstanding | $Price %]</td>"
253             - "    </tr>"
254             - "  </tfoot>"
255             - "</table>"
256
257         - module: circulation
258           code: ACCOUNT_PAYMENT
259           branchcode: ""
260           name: "Account payment"
261           is_html: 0
262           title: "Account payment"
263           message_transport_type: email
264           lang: default
265           content:
266             - "[%- USE Price -%]"
267             - "A payment of [% credit.amount * -1 | $Price %] has been applied to your account."
268             - ""
269             - "This payment affected the following fees:"
270             - "[%- FOREACH o IN offsets %]"
271             - "Description: [% o.debit.description %]"
272             - "Amount paid: [% o.amount * -1 | $Price %]"
273             - "Amount remaining: [% o.debit.amountoutstanding | $Price %]"
274             - "[% END %]"
275
276         - module: circulation
277           code: ACCOUNT_WRITEOFF
278           branchcode: ""
279           name: "Account writeoff"
280           is_html: 0
281           title: "Account writeoff"
282           message_transport_type: email
283           lang: default
284           content:
285             - "[%- USE Price -%]"
286             - "An account writeoff of [% credit.amount * -1 | $Price %] has been applied to your account."
287             - ""
288             - "This writeoff affected the following fees:"
289             - "[%- FOREACH o IN offsets %]"
290             - "Description: [% o.debit.description %]"
291             - "Amount paid: [% o.amount * -1 | $Price %]"
292             - "Amount remaining: [% o.debit.amountoutstanding | $Price %]"
293             - "[% END %]"
294
295         - module: circulation
296           code: AR_CANCELED
297           branchcode: ""
298           name: "Article request - canceled"
299           is_html: 0
300           title: "Article request canceled"
301           message_transport_type: email
302           lang: default
303           content:
304             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),"
305             - ""
306             - "Your request for an article from <<biblio.title>> (<<items.barcode>>) has been canceled for the following reason:"
307             - ""
308             - "<<reason>>"
309             - ""
310             - "Article requested:"
311             - "Title: <<article_requests.title>>"
312             - "Author: <<article_requests.author>>"
313             - "Volume: <<article_requests.volume>>"
314             - "Issue: <<article_requests.issue>>"
315             - "Date: <<article_requests.date>>"
316             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
317             - "Pages: <<article_requests.pages>>"
318             - "Chapters: <<article_requests.chapters>>"
319             - "Notes: <<article_requests.patron_notes>>"
320             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
321             - ""
322             - "Your library"
323
324         - module: circulation
325           code: AR_COMPLETED
326           branchcode: ""
327           name: "Article request - completed"
328           is_html: 0
329           title: "Article request completed"
330           message_transport_type: email
331           lang: default
332           content:
333             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),"
334             - ""
335             - "We have completed your request for an article from <<biblio.title>> (<<items.barcode>>)."
336             - ""
337             - "Article requested:"
338             - "Title: <<article_requests.title>>"
339             - "Author: <<article_requests.author>>"
340             - "Volume: <<article_requests.volume>>"
341             - "Issue: <<article_requests.issue>>"
342             - "Date: <<article_requests.date>>"
343             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
344             - "Pages: <<article_requests.pages>>"
345             - "Chapters: <<article_requests.chapters>>"
346             - "Notes: <<article_requests.patron_notes>>"
347             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
348             - ""
349             - "[% 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 %]"
350             - ""
351             - "Thank you!"
352
353         - module: circulation
354           code: AR_PENDING
355           branchcode: ""
356           name: "Article request - pending"
357           is_html: 0
358           title: "Pending article request"
359           message_transport_type: email
360           lang: default
361           content:
362             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)"
363             - ""
364             - "Your request for an article from <<biblio.title>> (<<items.barcode>>) is now in pending state."
365             - ""
366             - "Article requested:"
367             - "Title: <<article_requests.title>>"
368             - "Author: <<article_requests.author>>"
369             - "Volume: <<article_requests.volume>>"
370             - "Issue: <<article_requests.issue>>"
371             - "Date: <<article_requests.date>>"
372             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
373             - "Pages: <<article_requests.pages>>"
374             - "Chapters: <<article_requests.chapters>>"
375             - "Notes: <<article_requests.patron_notes>>"
376             - ""
377             - ""
378             - "Thank you!"
379
380         - module: circulation
381           code: AR_REQUESTED
382           branchcode: ""
383           name: "Article request - new"
384           is_html: 0
385           title: "Article request received"
386           message_transport_type: email
387           lang: default
388           content:
389             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)"
390             - ""
391             - "We have received your request for an article from <<biblio.title>> (<<items.barcode>>)."
392             - ""
393             - "Article requested:"
394             - "Title: <<article_requests.title>>"
395             - "Author: <<article_requests.author>>"
396             - "Volume: <<article_requests.volume>>"
397             - "Issue: <<article_requests.issue>>"
398             - "Date: <<article_requests.date>>"
399             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
400             - "Pages: <<article_requests.pages>>"
401             - "Chapters: <<article_requests.chapters>>"
402             - "Notes: <<article_requests.patron_notes>>"
403             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
404             - ""
405             - "Thank you!"
406
407         - module: circulation
408           code: AR_PROCESSING
409           branchcode: ""
410           name: "Article request - processing"
411           is_html: 0
412           title: "Article request processing"
413           message_transport_type: email
414           lang: default
415           content:
416             - "Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),"
417             - ""
418             - "We are now processing your request for an article from <<biblio.title>> (<<items.barcode>>)."
419             - ""
420             - "Article requested:"
421             - "Title: <<article_requests.title>>"
422             - "Author: <<article_requests.author>>"
423             - "Volume: <<article_requests.volume>>"
424             - "Issue: <<article_requests.issue>>"
425             - "Date: <<article_requests.date>>"
426             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
427             - "Pages: <<article_requests.pages>>"
428             - "Chapters: <<article_requests.chapters>>"
429             - "Notes: <<article_requests.patron_notes>>"
430             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
431             - ""
432             - "Thank you!"
433
434         - module: circulation
435           code: AR_SLIP
436           branchcode: ""
437           name: "Article request - print slip"
438           is_html: 0
439           title: "Article request"
440           message_transport_type: print
441           lang: default
442           content:
443             - "Article request:"
444             - ""
445             - "<<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),"
446             - ""
447             - "Title: <<biblio.title>>"
448             - "Barcode: <<items.barcode>>"
449             - ""
450             - "Article requested:"
451             - "Title: <<article_requests.title>>"
452             - "Author: <<article_requests.author>>"
453             - "Volume: <<article_requests.volume>>"
454             - "Issue: <<article_requests.issue>>"
455             - "Date: <<article_requests.date>>"
456             - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
457             - "Pages: <<article_requests.pages>>"
458             - "Chapters: <<article_requests.chapters>>"
459             - "Notes: <<article_requests.patron_notes>>"
460             - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
461             - ""
462
463         - module: circulation
464           code: CHECKIN
465           branchcode: ""
466           name: "Item check-in (digest)"
467           is_html: 0
468           title: "Check-ins"
469           message_transport_type: email
470           lang: default
471           content:
472             - "The following items have been checked in:"
473             - "----"
474             - "[% biblio.title %]"
475             - "----"
476             - "Thank you."
477
478         - module: circulation
479           code: CHECKOUT
480           branchcode: ""
481           name: "Item check-out (digest)"
482           is_html: 0
483           title: "Checkouts"
484           message_transport_type: email
485           lang: default
486           content:
487             - "The following items have been checked out:"
488             - "----"
489             - "[% biblio.title %]"
490             - "----"
491             - "Thank you for visiting [% branch.branchname %]."
492
493         - module: circulation
494           code: CHECKOUT_NOTE
495           branchcode: ""
496           name: "Checkout note on item set by patron"
497           is_html: 0
498           title: "Checkout note"
499           message_transport_type: email
500           lang: default
501           content:
502             - "<<borrowers.firstname>> <<borrowers.surname>> has added a note to the item <<biblio.title>> - <<biblio.author>> (<<biblio.biblionumber>>)."
503
504         - module: circulation
505           code: DUE
506           branchcode: ""
507           name: "Item due reminder"
508           is_html: 0
509           title: "Item due reminder"
510           message_transport_type: email
511           lang: default
512           content:
513             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
514             - ""
515             - "The following item is now due:"
516             - ""
517             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
518
519         - module: circulation
520           code: DUEDGST
521           branchcode: ""
522           name: "Item due reminder (digest)"
523           is_html: 0
524           title: "Item due reminder"
525           message_transport_type: email
526           lang: default
527           content:
528             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
529             - ""
530             - "The following item(s) are now due:"
531             - ""
532             - "<<items.content>>"
533             - ""
534             - "Thank you."
535
536         - module: circulation
537           code: HOLD_SLIP
538           branchcode: ""
539           name: "Hold slip"
540           is_html: 1
541           title: "Hold slip"
542           message_transport_type: email
543           lang: default
544           content:
545             - "<h5>Date: <<today>></h5>"
546             - ""
547             - "<h3> Transfer to/Hold in <<branches.branchname>></h3>"
548             - ""
549             - "<h3><<borrowers.surname>>, <<borrowers.firstname>></h3>"
550             - ""
551             - "<ul>"
552             - "    <li><<borrowers.cardnumber>></li>"
553             - "    <li><<borrowers.phone>></li>"
554             - "    <li> <<borrowers.address>><br />"
555             - "         <<borrowers.address2>><br />"
556             - "         <<borrowers.city >>  <<borrowers.zipcode>>"
557             - "    </li>"
558             - "    <li><<borrowers.email>></li>"
559             - "</ul>"
560             - "<br />"
561             - "<h3>ITEM ON HOLD</h3>"
562             - "<h4><<biblio.title>></h4>"
563             - "<h5><<biblio.author>></h5>"
564             - "<ul>"
565             - "   <li><<items.barcode>></li>"
566             - "   <li><<items.itemcallnumber>></li>"
567             - "   <li><<reserves.waitingdate>></li>"
568             - "</ul>"
569             - "<p>Notes:"
570             - "<pre><<reserves.reservenotes>></pre>"
571             - "</p>"
572             - ""
573
574         - module: circulation
575           code: ISSUEQSLIP
576           branchcode: ""
577           name: "Issue quick slip"
578           is_html: 1
579           title: "Issue quick slip"
580           message_transport_type: email
581           lang: default
582           content:
583             - "<h3><<branches.branchname>></h3>"
584             - "Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />"
585             - "(<<borrowers.cardnumber>>) <br />"
586             - ""
587             - "<<today>><br />"
588             - ""
589             - "<h4>Checked out today</h4>"
590             - "<checkedout>"
591             - "<p>"
592             - "<<biblio.title>> <br />"
593             - "Barcode: <<items.barcode>><br />"
594             - "Date due: <<issues.date_due>><br />"
595             - "</p>"
596             - "</checkedout>"
597
598         - module: circulation
599           code: ISSUESLIP
600           branchcode: ""
601           name: "Issue slip"
602           is_html: 1
603           title: "Issue slip"
604           message_transport_type: email
605           lang: default
606           content:
607             - "<h3><<branches.branchname>></h3>"
608             - "Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />"
609             - "(<<borrowers.cardnumber>>) <br />"
610             - ""
611             - "<<today>><br />"
612             - ""
613             - "<h4>Checked out</h4>"
614             - "<checkedout>"
615             - "<p>"
616             - "<<biblio.title>> <br />"
617             - "Barcode: <<items.barcode>><br />"
618             - "Date due: <<issues.date_due>><br />"
619             - "</p>"
620             - "</checkedout>"
621             - ""
622             - "<h4>Overdues</h4>"
623             - "<overdue>"
624             - "<p>"
625             - "<<biblio.title>> <br />"
626             - "Barcode: <<items.barcode>><br />"
627             - "Date due: <<issues.date_due>><br />"
628             - "</p>"
629             - "</overdue>"
630             - ""
631             - "<hr>"
632             - ""
633             - "<h4 style=\"text-align: center; font-style:italic;\">News</h4>"
634             - "<news>"
635             - "<div class=\"newsitem\">"
636             - "<h5 style=\"margin-bottom: 1px; margin-top: 1px\"><b><<additional_contents.title>></b></h5>"
637             - "<p style=\"margin-bottom: 1px; margin-top: 1px\"><<additional_contents.content>></p>"
638             - "<p class=\"newsfooter\" style=\"font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px\">Posted on <<additional_contents.published_on>></p>"
639             - "<hr />"
640             - "</div>"
641             - "</news>"
642
643         - module: circulation
644           code: ODUE
645           branchcode: ""
646           name: "Overdue notice"
647           is_html: 0
648           title: "Item overdue"
649           message_transport_type: email
650           lang: default
651           content:
652             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
653             - ""
654             - "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."
655             - ""
656             - "<<branches.branchname>>"
657             - "<<branches.branchaddress1>>"
658             - "<<branches.branchaddress2>> <<branches.branchaddress3>>"
659             - "Phone: <<branches.branchphone>>"
660             - "Fax: <<branches.branchfax>>"
661             - "Email: <<branches.branchemail>>"
662             - ""
663             - "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."
664             - ""
665             - "The following item(s) is/are currently overdue:"
666             - ""
667             - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>"
668             - ""
669             - "Thank-you for your prompt attention to this matter."
670             - ""
671             - "<<branches.branchname>> Staff"
672             - ""
673
674         - module: circulation
675           code: OVERDUES_SLIP
676           branchcode: ""
677           name: "Overdues slip"
678           is_html: 0
679           title: "Overdues slip"
680           message_transport_type: print
681           lang: default
682           content:
683             - "The following item(s) is/are currently overdue:"
684             - ""
685             - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>"
686             - ""
687
688         - module: circulation
689           code: PREDUE
690           branchcode: ""
691           name: "Advance notice of item due"
692           is_html: 0
693           title: "Advance notice of item due"
694           message_transport_type: email
695           lang: default
696           content:
697             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
698             - ""
699             - "The following item will be due soon:"
700             - ""
701             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
702
703         - module: circulation
704           code: PREDUEDGST
705           branchcode: ""
706           name: "Advance notice of item due (digest)"
707           is_html: 0
708           title: "Advance notice of item due"
709           message_transport_type: email
710           lang: default
711           content:
712             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
713             - ""
714             - "The following item(s) will be due soon:"
715             - ""
716             - "<<items.content>>"
717             - ""
718             - "Thank you."
719
720         - module: circulation
721           code: RENEWAL
722           branchcode: ""
723           name: "Item renewals"
724           is_html: 0
725           title: "Item renewals"
726           message_transport_type: email
727           lang: default
728           content:
729             - "The following items have been renewed:"
730             - "----"
731             - "<<biblio.title>>"
732             - "----"
733             - "Thank you for visiting <<branches.branchname>>."
734
735         - module: circulation
736           code: SR_SLIP
737           branchcode: ""
738           name: "Stock rotation slip"
739           is_html: 0
740           title: "Stock rotation report"
741           message_transport_type: email
742           lang: default
743           content:
744             - "Stock rotation report for [% branch.name %]:"
745             - ""
746             - "[% IF branch.items.size %][% branch.items.size %] items to be processed for this branch."
747             - "[% ELSE %]No items to be processed for this branch"
748             - "[% END %][% FOREACH item IN branch.items %][% IF item.reason != 'in-demand' %]Title: [% item.title %]"
749             - "Author: [% item.author %]"
750             - "Call number: [% item.callnumber %]"
751             - "Location: [% item.location %]"
752             - "Barcode: [% item.barcode %]"
753             - "On loan?: [% item.onloan %]"
754             - "Status: [% item.reason %]"
755             - "Current library: [% item.branch.branchname %] [% item.branch.branchcode %]"
756             - ""
757             - "[% END %][% END %]"
758
759         - module: circulation
760           code: TRANSFERSLIP
761           branchcode: ""
762           name: "Transfer slip"
763           is_html: 1
764           title: "Transfer slip"
765           message_transport_type: email
766           lang: default
767           content:
768             - "<h5>Date: <<today>></h5>"
769             - ""
770             - "<h3>Transfer to <<branches.branchname>></h3>"
771             - ""
772             - "<h3>ITEM</h3>"
773             - "<h4><<biblio.title>></h4>"
774             - "<h5><<biblio.author>></h5>"
775             - "<ul>"
776             - "   <li><<items.barcode>></li>"
777             - "   <li><<items.itemcallnumber>></li>"
778             - "</ul>"
779
780         - module: claimacquisition
781           code: ACQCLAIM
782           branchcode: ""
783           name: "Acquisition claim"
784           is_html: 0
785           title: "Item not received"
786           message_transport_type: email
787           lang: default
788           content:
789             - "<<aqbooksellers.name>>"
790             - "<<aqbooksellers.address1>>"
791             - "<<aqbooksellers.address2>>"
792             - "<<aqbooksellers.address3>>"
793             - "<<aqbooksellers.address4>>"
794             - "<<aqbooksellers.phone>>"
795             - ""
796             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (<<aqorders.quantity>> ordered) ($<<aqorders.listprice>> each) has not been received.</order>"
797
798         - module: ill
799           code: ILL_PICKUP_READY
800           branchcode: ""
801           name: "ILL request ready for pickup"
802           is_html: 0
803           title: "Interlibrary loan request ready for pickup"
804           message_transport_type: email
805           lang: default
806           content:
807             - "Dear [% borrower.firstname %] [% borrower.surname %],"
808             - ""
809             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:"
810             - ""
811             - "- [% ill_bib_title %] - [% ill_bib_author %]"
812             - ""
813             - "is ready for pick up from [% branch.branchname %]."
814             - ""
815             - "Kind regards"
816             - ""
817             - "[% branch.branchname %]"
818             - "[% branch.branchaddress1 %]"
819             - "[% branch.branchaddress2 %]"
820             - "[% branch.branchaddress3 %]"
821             - "[% branch.branchcity %]"
822             - "[% branch.branchstate %]"
823             - "[% branch.branchzip %]"
824             - "[% branch.branchphone %]"
825             - "[% branch.branchillemail %]"
826             - "[% branch.branchemail %]"
827
828         - module: ill
829           code: ILL_REQUEST_UNAVAIL
830           branchcode: ""
831           name: "ILL request unavailable"
832           is_html: 0
833           title: "Interlibrary loan request unavailable"
834           message_transport_type: email
835           lang: default
836           content:
837             - "Dear [% borrower.firstname %] [% borrower.surname %],"
838             - ""
839             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
840             - ""
841             - "- [% ill_bib_title %] - [% ill_bib_author %]"
842             - ""
843             - "is unfortunately unavailable."
844             - ""
845             - "Kind regards"
846             - ""
847             - "[% branch.branchname %]"
848             - "[% branch.branchaddress1 %]"
849             - "[% branch.branchaddress2 %]"
850             - "[% branch.branchaddress3 %]"
851             - "[% branch.branchcity %]"
852             - "[% branch.branchstate %]"
853             - "[% branch.branchzip %]"
854             - "[% branch.branchphone %]"
855             - "[% branch.branchillemail %]"
856             - "[% branch.branchemail %]"
857
858         - module: ill
859           code: ILL_REQUEST_CANCEL
860           branchcode: ""
861           name: "ILL request cancelled"
862           is_html: 0
863           title: "Interlibrary loan request cancelled"
864           message_transport_type: email
865           lang: default
866           content:
867             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:"
868             - ""
869             - "[% ill_full_metadata %]"
870
871         - module: ill
872           code: ILL_REQUEST_MODIFIED
873           branchcode: ""
874           name: "ILL request modified"
875           is_html: 0
876           title: "Interlibrary loan request modified"
877           message_transport_type: email
878           lang: default
879           content:
880             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:"
881             - ""
882             - "[% ill_full_metadata %]"
883
884         - module: ill
885           code: ILL_PARTNER_REQ
886           branchcode: ""
887           name: "ILL request to partners"
888           is_html: 0
889           title: "Interlibrary loan request to partners"
890           message_transport_type: email
891           lang: default
892           content:
893             - "Dear Sir/Madam,"
894             - ""
895             - "We would like to request an interlibrary loan for a title matching the following description:"
896             - ""
897             - "[% ill_full_metadata %]"
898             - ""
899             - "Please let us know if you are able to supply this to us."
900             - ""
901             - "Kind regards"
902             - ""
903             - "[% branch.branchname %]"
904             - "[% branch.branchaddress1 %]"
905             - "[% branch.branchaddress2 %]"
906             - "[% branch.branchaddress3 %]"
907             - "[% branch.branchcity %]"
908             - "[% branch.branchstate %]"
909             - "[% branch.branchzip %]"
910             - "[% branch.branchphone %]"
911             - "[% branch.branchillemail %]"
912             - "[% branch.branchemail %]"
913
914         - module: ill
915           code: ILL_REQUEST_UPDATE
916           branchcode: ""
917           name: "ILL request update"
918           is_html: 0
919           title: "Interlibrary loan request update"
920           message_transport_type: email
921           lang: default
922           content:
923             - "Dear [% borrower.firstname %] [% borrower.surname %],"
924             - ""
925             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
926             - ""
927             - "- [% ill_bib_title %] - [% ill_bib_author %]"
928             - ""
929             - "has been updated."
930             - ""
931             - "Details of the update are below:"
932             - ""
933             - "[% additional_text %]"
934             - ""
935             - "Kind regards"
936             - ""
937             - "[% branch.branchname %]"
938             - "[% branch.branchaddress1 %]"
939             - "[% branch.branchaddress2 %]"
940             - "[% branch.branchaddress3 %]"
941             - "[% branch.branchcity %]"
942             - "[% branch.branchstate %]"
943             - "[% branch.branchzip %]"
944             - "[% branch.branchphone %]"
945             - "[% branch.branchillemail %]"
946             - "[% branch.branchemail %]"
947
948         - module: ill
949           code: ILL_PICKUP_READY
950           branchcode: ""
951           name: "ILL request ready for pickup"
952           is_html: 0
953           title: "Interlibrary loan request ready for pickup"
954           message_transport_type: sms
955           lang: default
956           content:
957             - "Dear [% borrower.firstname %] [% borrower.surname %],"
958             - ""
959             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:"
960             - ""
961             - "- [% ill_bib_title %] - [% ill_bib_author %]"
962             - ""
963             - "is ready for pick up from [% branch.branchname %]."
964             - ""
965             - "Kind regards"
966             - ""
967             - "[% branch.branchname %]"
968             - "[% branch.branchaddress1 %]"
969             - "[% branch.branchaddress2 %]"
970             - "[% branch.branchaddress3 %]"
971             - "[% branch.branchcity %]"
972             - "[% branch.branchstate %]"
973             - "[% branch.branchzip %]"
974             - "[% branch.branchphone %]"
975             - "[% branch.branchillemail %]"
976             - "[% branch.branchemail %]"
977
978         - module: ill
979           code: ILL_REQUEST_UNAVAIL
980           branchcode: ""
981           name: "ILL request unavailable"
982           is_html: 0
983           title: "Interlibrary loan request unavailable"
984           message_transport_type: sms
985           lang: default
986           content:
987             - "Dear [% borrower.firstname %] [% borrower.surname %],"
988             - ""
989             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
990             - ""
991             - "- [% ill_bib_title %] - [% ill_bib_author %]"
992             - ""
993             - "is unfortunately unavailable."
994             - ""
995             - "Kind regards"
996             - ""
997             - "[% branch.branchname %]"
998             - "[% branch.branchaddress1 %]"
999             - "[% branch.branchaddress2 %]"
1000             - "[% branch.branchaddress3 %]"
1001             - "[% branch.branchcity %]"
1002             - "[% branch.branchstate %]"
1003             - "[% branch.branchzip %]"
1004             - "[% branch.branchphone %]"
1005             - "[% branch.branchillemail %]"
1006             - "[% branch.branchemail %]"
1007
1008         - module: ill
1009           code: ILL_REQUEST_CANCEL
1010           branchcode: ""
1011           name: "ILL request cancelled"
1012           is_html: 0
1013           title: "Interlibrary loan request cancelled"
1014           message_transport_type: sms
1015           lang: default
1016           content:
1017             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:"
1018             - ""
1019             - "[% ill_full_metadata %]"
1020
1021         - module: ill
1022           code: ILL_REQUEST_MODIFIED
1023           branchcode: ""
1024           name: "ILL request modified"
1025           is_html: 0
1026           title: "Interlibrary loan request modified"
1027           message_transport_type: sms
1028           lang: default
1029           content:
1030             - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:"
1031             - ""
1032             - "[% ill_full_metadata %]"
1033
1034         - module: ill
1035           code: ILL_PARTNER_REQ
1036           branchcode: ""
1037           name: "ILL request to partners"
1038           is_html: 0
1039           title: "Interlibrary loan request to partners"
1040           message_transport_type: sms
1041           lang: default
1042           content:
1043             - "Dear Sir/Madam,"
1044             - ""
1045             - "We would like to request an interlibrary loan for a title matching the following description:"
1046             - ""
1047             - "[% ill_full_metadata %]"
1048             - ""
1049             - "Please let us know if you are able to supply this to us."
1050             - ""
1051             - "Kind regards"
1052             - ""
1053             - "[% branch.branchname %]"
1054             - "[% branch.branchaddress1 %]"
1055             - "[% branch.branchaddress2 %]"
1056             - "[% branch.branchaddress3 %]"
1057             - "[% branch.branchcity %]"
1058             - "[% branch.branchstate %]"
1059             - "[% branch.branchzip %]"
1060             - "[% branch.branchphone %]"
1061             - "[% branch.branchillemail %]"
1062             - "[% branch.branchemail %]"
1063
1064         - module: ill
1065           code: ILL_REQUEST_UPDATE
1066           branchcode: ""
1067           name: "ILL request update"
1068           is_html: 0
1069           title: "Interlibrary loan request update"
1070           message_transport_type: sms
1071           lang: default
1072           content:
1073             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1074             - ""
1075             - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
1076             - ""
1077             - "- [% ill_bib_title %] - [% ill_bib_author %]"
1078             - ""
1079             - "has been updated."
1080             - ""
1081             - "Details of the update are below:"
1082             - ""
1083             - "[% additional_text %]"
1084             - ""
1085             - "Kind regards"
1086             - ""
1087             - "[% branch.branchname %]"
1088             - "[% branch.branchaddress1 %]"
1089             - "[% branch.branchaddress2 %]"
1090             - "[% branch.branchaddress3 %]"
1091             - "[% branch.branchcity %]"
1092             - "[% branch.branchstate %]"
1093             - "[% branch.branchzip %]"
1094             - "[% branch.branchphone %]"
1095             - "[% branch.branchillemail %]"
1096             - "[% branch.branchemail %]"
1097
1098         - module: members
1099           code: DISCHARGE
1100           branchcode: ""
1101           name: "Discharge confirmation"
1102           is_html: 1
1103           title: "Discharge for <<borrowers.firstname>> <<borrowers.surname>>"
1104           message_transport_type: email
1105           lang: default
1106           content:
1107             - ""
1108             - "<<today>>"
1109             - "<h1>Discharge confirmation</h1>"
1110             - "<p><<branches.branchname>> certifies that the following borrower:<br>"
1111             - "<<borrowers.firstname>> <<borrowers.surname>> (cardnumber: <<borrowers.cardnumber>>)<br>"
1112             - "has returned all items.</p>"
1113
1114         - module: members
1115           code: MEMBERSHIP_EXPIRY
1116           branchcode: ""
1117           name: "Account expiration"
1118           is_html: 0
1119           title: "Account expiration"
1120           message_transport_type: email
1121           lang: default
1122           content:
1123             - "Dear <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>,"
1124             - ""
1125             - "Your library card will expire soon, on:"
1126             - ""
1127             - "<<borrowers.dateexpiry>>"
1128             - ""
1129             - "Thank you,"
1130             - ""
1131             - "Librarian"
1132             - ""
1133             - "<<branches.branchname>>"
1134
1135         - module: members
1136           code: OPAC_REG_VERIFY
1137           branchcode: ""
1138           name: "OPAC self-registration verification email"
1139           is_html: 1
1140           title: "Verify your account"
1141           message_transport_type: email
1142           lang: default
1143           content:
1144             - "Hello!"
1145             - ""
1146             - "Your library account has been created. Please verify your email address by clicking this link to complete the signup process:"
1147             - ""
1148             - "<<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower_modifications.verification_token>>"
1149             - ""
1150             - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
1151
1152         - module: members
1153           code: PASSWORD_CHANGE
1154           branchcode: ""
1155           name: "Notification of password change"
1156           is_html: 1
1157           title: "Library account password change notification for [% patron.firstname %] [% patron.surname %]"
1158           message_transport_type: email
1159           lang: default
1160           content:
1161             - "Dear [% patron.firstname %] [% patron.surname %],"
1162             - ""
1163             - "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."
1164             - ""
1165             - "Your library."
1166
1167         - module: members
1168           code: PASSWORD_RESET
1169           branchcode: ""
1170           name: "Online password reset"
1171           is_html: 1
1172           title: "Koha password recovery"
1173           message_transport_type: email
1174           lang: default
1175           content:
1176             - "<html>"
1177             - "<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>."
1178             - "</p>"
1179             - "<p>"
1180             - "You can now create your new password using the following link:"
1181             - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
1182             - "</p>"
1183             - "<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>"
1184             - "<p>Thank you.</p>"
1185             - "</html>"
1186             - ""
1187
1188         - module: members
1189           code: STAFF_PASSWORD_RESET
1190           branchcode: ""
1191           name: "Online password reset"
1192           is_html: 1
1193           title: "Koha password reset"
1194           message_transport_type: email
1195           lang: default
1196           content:
1197             - "<html>"
1198             - "<p>A librarian has reset the password for the account <strong><<user>></strong>."
1199             - "</p>"
1200             - "<p>"
1201             - "Please create your new password using the following link:"
1202             - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
1203             - "</p>"
1204             - "<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>"
1205             - "<p>Thank you.</p>"
1206             - "</html>"
1207             - ""
1208
1209         - module: members
1210           code: SHARE_ACCEPT
1211           branchcode: ""
1212           name: "Notification about an accepted share"
1213           is_html: 0
1214           title: "Share on list <<listname>> accepted"
1215           message_transport_type: email
1216           lang: default
1217           content:
1218             - "Dear patron,"
1219             - ""
1220             - "We want to inform you that <<borrowers.firstname>> <<borrowers.surname>> accepted your invitation to share your list <<listname>> in our library catalog."
1221             - ""
1222             - "Thank you."
1223             - ""
1224             - "Your library."
1225
1226         - module: members
1227           code: SHARE_INVITE
1228           branchcode: ""
1229           name: "Invitation for sharing a list"
1230           is_html: 0
1231           title: "Share list <<listname>>"
1232           message_transport_type: email
1233           lang: default
1234           content:
1235             - "Dear patron,"
1236             - ""
1237             - "One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share a list <<listname>> in our library catalog."
1238             - ""
1239             - "To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar."
1240             - ""
1241             - "<<shareurl>>"
1242             - ""
1243             - "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."
1244             - ""
1245             - "Thank you."
1246             - ""
1247             - "Your library."
1248
1249         - module: members
1250           code: WELCOME
1251           branchcode: ""
1252           name: "Welcome notice "
1253           is_html: 1
1254           title: "[% USE Koha %][% IF Koha.Preference('LibraryName') %]Welcome to [% Koha.Preference('LibraryName') %][% ELSE %]Welcome to the library[% END %]"
1255           message_transport_type: email
1256           lang: default
1257           content:
1258             - "[% USE Koha %]"
1259             - "Hello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %]."
1260             - ""
1261             - "Thank you for joining [% IF Koha.Preference('LibraryName') %][% Koha.Preference('LibraryName') %][% ELSE %]the library[% END %]"
1262             - ""
1263             - "You can search for all our materials in our <a href='[% Koha.Preference('OPACBaseURL') %]'>catalog</a>."
1264             - ""
1265             - "Your library card number is [% borrower.cardnumber %]"
1266             - ""
1267             - "If you have any problems or questions regarding your account, please contact the library."
1268
1269         - module: members
1270           code: 2FA_OTP_TOKEN
1271           branchcode: ""
1272           name: "two-authentication step token"
1273           is_html: 1
1274           title: "Two-authentication token"
1275           message_transport_type: email
1276           lang: default
1277           content:
1278             - "Dear [% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])"
1279             - ""
1280             - "Your authentication token is [% otp_token %]."
1281             - "It is valid one minute."
1282
1283         - module: orderacquisition
1284           code: ACQORDER
1285           branchcode: ""
1286           name: "Acquisition order"
1287           is_html: 0
1288           title: "Order"
1289           message_transport_type: email
1290           lang: default
1291           content:
1292             - "<<aqbooksellers.name>>"
1293             - "<<aqbooksellers.address1>>"
1294             - "<<aqbooksellers.address2>>"
1295             - "<<aqbooksellers.address3>>"
1296             - "<<aqbooksellers.address4>>"
1297             - "<<aqbooksellers.phone>>"
1298             - ""
1299             - "Please order for the library:"
1300             - ""
1301             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (quantity: <<aqorders.quantity>>) ($<<aqorders.listprice>> each).</order>"
1302             - ""
1303             - "Thank you,"
1304             - ""
1305             - "<<branches.branchname>>"
1306
1307         - module: pos
1308           code: RECEIPT
1309           branchcode: ""
1310           name: "Point of sale receipt"
1311           is_html: 1
1312           title: "Receipt"
1313           message_transport_type: print
1314           lang: default
1315           content:
1316             - "[% USE KohaDates %]"
1317             - "[% USE Branches %]"
1318             - "[% USE Price %]"
1319             - "[% PROCESS \"accounts.inc\" %]"
1320             - "<table>"
1321             - "[% IF ( LibraryName ) %]"
1322             - " <tr>"
1323             - "    <th colspan=\"2\" class=\"centerednames\">"
1324             - "        <h3>[% LibraryName | html %]</h3>"
1325             - "    </th>"
1326             - " </tr>"
1327             - "[% END %]"
1328             - " <tr>"
1329             - "    <th colspan=\"2\" class=\"centerednames\">"
1330             - "        <h2>[% Branches.GetName( credit.branchcode ) | html %]</h2>"
1331             - "    </th>"
1332             - " </tr>"
1333             - "<tr>"
1334             - "    <th colspan=\"2\" class=\"centerednames\">"
1335             - "        <h3>[% credit.date | $KohaDates %]</h3>"
1336             - "</tr>"
1337             - "<tr>"
1338             - "  <td>Transaction ID: </td>"
1339             - "  <td>[% credit.accountlines_id %]</td>"
1340             - "</tr>"
1341             - "<tr>"
1342             - "  <td>Operator ID: </td>"
1343             - "  <td>[% credit.manager_id %]</td>"
1344             - "</tr>"
1345             - "<tr>"
1346             - "  <td>Payment type: </td>"
1347             - "  <td>[% credit.payment_type %]</td>"
1348             - "</tr>"
1349             - " <tr></tr>"
1350             - " <tr>"
1351             - "    <th colspan=\"2\" class=\"centerednames\">"
1352             - "        <h2><u>Fee receipt</u></h2>"
1353             - "    </th>"
1354             - " </tr>"
1355             - " <tr></tr>"
1356             - " <tr>"
1357             - "    <th>Description of charges</th>"
1358             - "    <th>Amount</th>"
1359             - "  </tr>"
1360             - ""
1361             - "  [% FOREACH debit IN credit.debits %]"
1362             - "    <tr>"
1363             - "        <td>[% PROCESS account_type_description account=debit %]</td>"
1364             - "        <td>[% debit.amount * -1 | $Price %]</td>"
1365             - "    </tr>"
1366             - "  [% END %]"
1367             - ""
1368             - "<tfoot>"
1369             - "  <tr class=\"highlight\">"
1370             - "    <td>Total: </td>"
1371             - "    <td>[% credit.amount * -1| $Price %]</td>"
1372             - "  </tr>"
1373             - "  <tr>"
1374             - "    <td>Tendered: </td>"
1375             - "    <td>[% collected | $Price %]</td>"
1376             - "  </tr>"
1377             - "  <tr>"
1378             - "    <td>Change: </td>"
1379             - "    <td>[% change | $Price %]</td>"
1380             - "    </tr>"
1381             - "</tfoot>"
1382             - "</table>"
1383
1384         - module: pos
1385           code: RECEIPT
1386           branchcode: ""
1387           name: "Point of sale receipt"
1388           is_html: 1
1389           title: "Receipt"
1390           message_transport_type: email
1391           lang: default
1392           content:
1393             - "[% USE KohaDates %]"
1394             - "[% USE Branches %]"
1395             - "[% USE Price %]"
1396             - "[% PROCESS \"accounts.inc\" %]"
1397             - "<table>"
1398             - "    [% IF ( LibraryName ) %]"
1399             - "    <tr>"
1400             - "      <th colspan=\"2\" class=\"centerednames\">"
1401             - "        <h3>[% LibraryName | html %]</h3>"
1402             - "      </th>"
1403             - "    </tr>"
1404             - "    [% END %]"
1405             - "    [% IF credit.library %]"
1406             - "    <tr>"
1407             - "      <th colspan=\"2\" class=\"centerednames\">"
1408             - "        <h2>[% payment.library.branchname ) | html %]</h2>"
1409             - "      </th>"
1410             - "    </tr>"
1411             - "    [% END %]"
1412             - "    <tr>"
1413             - "      <th colspan=\"2\" class=\"centerednames\">"
1414             - "        <h3>[% payment.date | $KohaDates %]</h3>"
1415             - "      </th>"
1416             - "    </tr>"
1417             - "    <tr>"
1418             - "      <td>Transaction ID: </td>"
1419             - "      <td>[% payment.accountlines_id %]</td>"
1420             - "    </tr>"
1421             - "    <tr>"
1422             - "      <td>Operator ID: </td>"
1423             - "      <td>[% payment.manager_id %]</td>"
1424             - "    </tr>"
1425             - "    <tr>"
1426             - "      <td>Payment type: </td>"
1427             - "      <td>[% payment.payment_type %]</td>"
1428             - "    </tr>"
1429             - "    <tr>"
1430             - "      <th colspan=\"2\" class=\"centerednames\">"
1431             - "        <h2><u>Payment receipt</u></h2>"
1432             - "      </th>"
1433             - "    </tr>"
1434             - "    <tr>"
1435             - "      <th>Description of charges</th>"
1436             - "      <th>Amount</th>"
1437             - "    </tr>"
1438             - "    [% FOREACH offset IN payment.credit_offsets %]"
1439             - "    <tr>"
1440             - "        <td>[% PROCESS account_type_description account=debit %]</td>"
1441             - "        <td>[% debit.amount * -1 | $Price %]</td>"
1442             - "    </tr>"
1443             - "    [% END %]"
1444             - "  <tfoot>"
1445             - "    <tr class=\"highlight\">"
1446             - "      <td>Total:</td>"
1447             - "      <td>[% payment.amount * -1 | $Price %]</td>"
1448             - "    </tr>"
1449             - "    <tr>"
1450             - "      <td>Tendered: </td>"
1451             - "      <td>[% tendered | $Price %]</td>"
1452             - "    </tr>"
1453             - "    <tr>"
1454             - "      <td>Change given:</td>"
1455             - "      <td>[% change | $Price %]</td>"
1456             - "    </tr>"
1457             - "  </tfoot>"
1458             - "</table>"
1459
1460         - module: reserves
1461           code: CANCEL_HOLD_ON_LOST
1462           branchcode: ""
1463           name: "Hold has been cancelled"
1464           is_html: 0
1465           title: "Hold has been cancelled"
1466           message_transport_type: email
1467           lang: default
1468           content:
1469             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1470             - ""
1471             - "We regret to inform you, that the following item can not be provided due to it being missing. Your hold was cancelled."
1472             - ""
1473             - "Title: [% biblio.title %]"
1474             - "Author: [% biblio.author %]"
1475             - "Copy: [% item.copynumber %]"
1476             - "Location: [% branch.branchname %]"
1477
1478         - module: reserves
1479           code: HOLD
1480           branchcode: ""
1481           name: "Hold available for pickup"
1482           is_html: 0
1483           title: "Hold available for pickup at <<branches.branchname>>"
1484           message_transport_type: email
1485           lang: default
1486           content:
1487             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1488             - ""
1489             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1490             - ""
1491             - "Title: <<biblio.title>>"
1492             - "Author: <<biblio.author>>"
1493             - "Copy: <<items.copynumber>>"
1494             - "Location: <<branches.branchname>>"
1495             - "<<branches.branchaddress1>>"
1496             - "<<branches.branchaddress2>>"
1497             - "<<branches.branchaddress3>>"
1498             - "<<branches.branchcity>> <<branches.branchzip>>"
1499
1500         - module: reserves
1501           code: HOLD
1502           branchcode: ""
1503           name: "Hold available for pickup"
1504           is_html: 0
1505           title: "Hold available for pickup (print notice)"
1506           message_transport_type: print
1507           lang: default
1508           content:
1509             - "<<branches.branchname>>"
1510             - "<<branches.branchaddress1>>"
1511             - "<<branches.branchaddress2>>"
1512             - ""
1513             - ""
1514             - "Change service requested"
1515             - ""
1516             - ""
1517             - ""
1518             - ""
1519             - ""
1520             - ""
1521             - ""
1522             - "<<borrowers.firstname>> <<borrowers.surname>>"
1523             - "<<borrowers.address>>"
1524             - "<<borrowers.city>> <<borrowers.zipcode>>"
1525             - ""
1526             - ""
1527             - ""
1528             - ""
1529             - ""
1530             - ""
1531             - ""
1532             - ""
1533             - ""
1534             - ""
1535             - "<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>"
1536             - ""
1537             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1538             - ""
1539             - "Title: <<biblio.title>>"
1540             - "Author: <<biblio.author>>"
1541             - "Copy: <<items.copynumber>>"
1542             - ""
1543
1544         - module: reserves
1545           code: HOLDPLACED
1546           branchcode: ""
1547           name: "Hold placed on item"
1548           is_html: 0
1549           title: "Hold placed on item"
1550           message_transport_type: email
1551           lang: default
1552           content:
1553             - "A hold has been placed on the following item : <<biblio.title>> (<<biblio.biblionumber>>) by the user <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1554
1555         - module: reserves
1556           code: HOLD_CHANGED
1557           branchcode: ""
1558           name: "Canceled hold available for different patron"
1559           is_html: 0
1560           title: "Canceled hold available for different patron"
1561           message_transport_type: email
1562           lang: default
1563           content:
1564             - "The patron picking up <<biblio.title>> (<<items.barcode>>) has changed to <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1565             - "Please update the hold information for this item."
1566             - "Title: <<biblio.title>>"
1567             - "Author: <<biblio.author>>"
1568             - "Item: <<items.itemcallnumber>>"
1569             - "Pickup location: <<branches.branchname>>"
1570
1571         - module: reserves
1572           code: HOLD_REMINDER
1573           branchcode: ""
1574           name: "Waiting hold reminder"
1575           is_html: 0
1576           title: "You have waiting holds."
1577           message_transport_type: email
1578           lang: default
1579           content:
1580             - "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 %]"
1581
1582         - module: reserves
1583           code: NEW_CURBSIDE_PICKUP
1584           branchcode: ""
1585           name: "New curbside pickup"
1586           is_html: 0
1587           title: "You have scheduled a curbside pickup for [% branch.branchname %]"
1588           message_transport_type: email
1589           lang: default
1590           content:
1591             - "[%- USE KohaDates -%]"
1592             - "[%- SET cp = curbside_pickup -%]"
1593             - ""
1594             - "You have a curbside pickup scheduled for [% cp.scheduled_pickup_datetime | $KohaDates with_hours => 1 %] at [% cp.library.branchname %]."
1595             - "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 %]"
1596             - ""
1597             - "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."
1598
1599         - module: serial
1600           code: SERIAL_ALERT
1601           branchcode: ""
1602           name: "New serial issue"
1603           is_html: 0
1604           title: "New serial issue is now available"
1605           message_transport_type: email
1606           lang: default
1607           content:
1608             - "<<borrowers.firstname>> <<borrowers.surname>>,"
1609             - ""
1610             - "The following issue is now available:"
1611             - ""
1612             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
1613             - ""
1614             - "Please pick it up at your convenience."
1615
1616         - module: suggestions
1617           code: ACCEPTED
1618           branchcode: ""
1619           name: "Suggestion accepted"
1620           is_html: 0
1621           title: "Purchase suggestion accepted"
1622           message_transport_type: email
1623           lang: default
1624           content:
1625             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1626             - ""
1627             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1628             - ""
1629             - "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."
1630             - ""
1631             - "If you have any questions, please email us at <<branches.branchemail>>."
1632             - ""
1633             - "Thank you,"
1634             - ""
1635             - "<<branches.branchname>>"
1636
1637         - module: suggestions
1638           code: AVAILABLE
1639           branchcode: ""
1640           name: "Suggestion available"
1641           is_html: 0
1642           title: "Suggested purchase available"
1643           message_transport_type: email
1644           lang: default
1645           content:
1646             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1647             - ""
1648             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1649             - ""
1650             - "We are pleased to inform you that the item you requested is now part of the collection."
1651             - ""
1652             - "If you have any questions, please email us at <<branches.branchemail>>."
1653             - ""
1654             - "Thank you,"
1655             - ""
1656             - "<<branches.branchname>>"
1657
1658         - module: suggestions
1659           code: NEW_SUGGESTION
1660           branchcode: ""
1661           name: "New suggestion"
1662           is_html: 1
1663           title: "New suggestion"
1664           message_transport_type: email
1665           lang: default
1666           content:
1667             - "<h3>Suggestion pending approval</h3>"
1668             - "    <p><h4>Suggested by</h4>"
1669             - "    <ul>"
1670             - "    <li><<borrowers.firstname>> <<borrowers.surname>></li>"
1671             - "    <li><<borrowers.cardnumber>></li>"
1672             - "    <li><<borrowers.phone>></li>"
1673             - "    <li><<borrowers.email>></li>"
1674             - "    </ul>"
1675             - "    </p>"
1676             - "    <p><h4>Title suggested</h4>"
1677             - "    <ul>"
1678             - "    <li><b>Library:</b> <<branches.branchname>></li>"
1679             - "    <li><b>Title:</b> <<suggestions.title>></li>"
1680             - "    <li><b>Author:</b> <<suggestions.author>></li>"
1681             - "    <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>"
1682             - "    <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>"
1683             - "    <li><b>Publisher:</b> <<suggestions.publishercode>></li>"
1684             - "    <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>"
1685             - "    <li><b>Publication place:</b> <<suggestions.place>></li>"
1686             - "    <li><b>Quantity:</b> <<suggestions.quantity>></li>"
1687             - "    <li><b>Item type:</b>  <<suggestions.itemtype>></li>"
1688             - "    <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>"
1689             - "    <li><b>Notes:</b> <<suggestions.note>></li>"
1690             - "    </ul>"
1691             - "    </p>"
1692
1693         - module: suggestions
1694           code: ORDERED
1695           branchcode: ""
1696           name: "Suggestion ordered"
1697           is_html: 0
1698           title: "Suggested item ordered"
1699           message_transport_type: email
1700           lang: default
1701           content:
1702             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1703             - ""
1704             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1705             - ""
1706             - "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."
1707             - ""
1708             - "You will be notified again when the book is available."
1709             - ""
1710             - "If you have any questions, please email us at <<branches.branchemail>>"
1711             - ""
1712             - "Thank you,"
1713             - ""
1714             - "<<branches.branchname>>"
1715
1716         - module: suggestions
1717           code: REJECTED
1718           branchcode: ""
1719           name: "Suggestion rejected"
1720           is_html: 0
1721           title: "Purchase suggestion declined"
1722           message_transport_type: email
1723           lang: default
1724           content:
1725             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1726             - ""
1727             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1728             - ""
1729             - "The library has reviewed your request today, and has decided not to accept the suggestion at this time."
1730             - ""
1731             - "The reason given is: <<suggestions.reason>>"
1732             - ""
1733             - "If you have any questions, please email us at <<branches.branchemail>>."
1734             - ""
1735             - "Thank you,"
1736             - ""
1737             - "<<branches.branchname>>"
1738
1739         - module: suggestions
1740           code: TO_PROCESS
1741           branchcode: ""
1742           name: "Notify fund owner"
1743           is_html: 0
1744           title: "A suggestion is ready to be processed"
1745           message_transport_type: email
1746           lang: default
1747           content:
1748             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1749             - ""
1750             - "A new suggestion is ready to be processed: <<suggestions.title>> by <<suggestions.author>>."
1751             - ""
1752             - "Thank you,"
1753             - ""
1754             - "<<branches.branchname>>"
1755
1756         - module: suggestions
1757           code: NOTIFY_MANAGER
1758           branchcode: ""
1759           name: "Notify manager of a suggestion"
1760           is_html: 0
1761           title: "A suggestion has been assigned to you"
1762           message_transport_type: email
1763           lang: default
1764           content:
1765             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1766             - ""
1767             - "A new suggestion has been assigned to you: [% suggestion.title %]."
1768             - ""
1769             - "Thank you,"
1770             - ""
1771             - "[% branch.branchname %]"
1772
1773         - module: members
1774           code: PROBLEM_REPORT
1775           branchcode: ""
1776           name: "OPAC problem report"
1777           is_html: 0
1778           title: "OPAC problem report"
1779           message_transport_type: email
1780           lang: default
1781           content:
1782             - "Username: <<problem_reports.username>>"
1783             - ""
1784             - "Problem page: <<problem_reports.problempage>>"
1785             - ""
1786             - "Title: <<problem_reports.title>>"
1787             - ""
1788             - "Message: <<problem_reports.content>>"
1789
1790         - module: circulation
1791           code: AUTO_RENEWALS
1792           branchcode: ""
1793           name: "Notification of automatic renewal"
1794           is_html: 0
1795           title: "Automatic renewal notice"
1796           message_transport_type: email
1797           lang: default
1798           content:
1799             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1800             - "[% IF checkout.auto_renew_error %]"
1801             - "The following item, [% biblio.title %], has not been renewed because:"
1802             - "[% IF checkout.auto_renew_error == 'too_many' %]"
1803             - "You have reached the maximum number of renewals possible."
1804             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
1805             - "This item is on hold for another patron."
1806             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
1807             - "You are currently restricted."
1808             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
1809             - "You have overdue items."
1810             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
1811             - "It's too late to renew this item."
1812             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
1813             - "Your total unpaid fines are too high."
1814             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
1815             - "This item must be renewed at the library."
1816             - "[% ELSIF checkout.auto_renew_error == 'auto_account_expired' %]"
1817             - "Your account has expired."
1818             - "[% END %]"
1819             - "[% ELSE %]"
1820             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
1821             - "[% END %]"
1822
1823         - module: circulation
1824           code: CHECKINSLIP
1825           branchcode: ""
1826           name: "Checkin slip"
1827           is_html: 1
1828           title: "Checkin slip"
1829           message_transport_type: print
1830           lang: default
1831           content:
1832             - "<h3>[% branch.branchname %]</h3>"
1833             - "Checked in items for [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br />"
1834             - "([% borrower.cardnumber %]) <br />"
1835             - ""
1836             - "[% today | $KohaDates %]<br />"
1837             - ""
1838             - "<h4>Checked in today</h4>"
1839             - "[% FOREACH checkin IN old_checkouts %]"
1840             - "[% SET item = checkin.item %]"
1841             - "<p>"
1842             - "[% item.biblio.title %] <br />"
1843             - "Barcode: [% item.barcode %] <br />"
1844             - "</p>"
1845             - "[% END %]"
1846
1847         - module: circulation
1848           code: OVERDUE_FINE_DESC
1849           branchcode: ""
1850           name: "Overdue item fine description"
1851           is_html: 0
1852           title: "Overdue item fine description"
1853           message_transport_type: print
1854           lang: default
1855           content:
1856             - "[% item.biblio.title %] [% checkout.date_due | $KohaDates %]"
1857
1858         - module: circulation
1859           code: AUTO_RENEWALS_DGST
1860           branchcode: ""
1861           name: "Notification on auto renewals"
1862           is_html: 0
1863           title: "Auto renewals (Digest)"
1864           message_transport_type: email
1865           lang: default
1866           content:
1867             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1868             - "[% IF error %]"
1869             - "There were [% error %] items that were not renewed."
1870             - "[% END %]"
1871             - "[% IF success %]"
1872             - "There were [% success %] items that were renewed."
1873             - "[% END %]"
1874             - "[% FOREACH checkout IN checkouts %]"
1875             - "[% checkout.item.biblio.title %] : [% checkout.item.barcode %]"
1876             - "[% IF !checkout.auto_renew_error %]"
1877             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
1878             - "[% ELSIF checkout.auto_renew_error == 'too_many' %]"
1879             - "You have reached the maximum number of renewals possible."
1880             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
1881             - "This item is on hold for another patron."
1882             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
1883             - "You are currently restricted."
1884             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
1885             - "You have overdue items."
1886             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
1887             - "It's too late to renew this item."
1888             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
1889             - "Your total unpaid fines are too high."
1890             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
1891             - "This item must be renewed at the library."
1892             - "[% END %]"
1893             - "[% END %]"
1894
1895         - module: circulation
1896           code: RETURN_RECALLED_ITEM
1897           branchcode: ""
1898           name: "Notification to return a recalled item"
1899           is_html: 0
1900           title: "Notification to return a recalled item"
1901           message_transport_type: email
1902           lang: default
1903           content:
1904             - "Date: <<today>>"
1905             - ""
1906             - "<<borrowers.firstname>> <<borrowers.surname>>,"
1907             - ""
1908             - "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."
1909             - ""
1910             - "Thank you!"
1911
1912         - module: circulation
1913           code: PICKUP_RECALLED_ITEM
1914           branchcode: ""
1915           name: "Recalled item awaiting pickup"
1916           is_html: 0
1917           title: "Recalled item awaiting pickup"
1918           message_transport_type: email
1919           lang: default
1920           content:
1921             - "Date: <<today>>"
1922             - ""
1923             - "<<borrowers.firstname>> <<borrowers.surname>>,"
1924             - ""
1925             - "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.branchcode>>. Please pick up your item by <<recalls.expirationdate>>."
1926             - ""
1927             - "Thank you!"
1928
1929         - module: circulation
1930           code: RECALL_REQUESTER_DET
1931           branchcode: ""
1932           name: "Details of patron who recalled item"
1933           is_html: 0
1934           title: "Details of patron who recalled item"
1935           message_transport_type: print
1936           lang: default
1937           content:
1938             - "Date: <<today>>"
1939             - ""
1940             - "Recall for pickup at <<branches.branchname>>"
1941             - "<<borrowers.surname>>, <<borrowers.firstname>> (<<borrowers.cardnumber>>)"
1942             - "<<borrowers.phone>>"
1943             - "<<borrowers.streetnumber>> <<borrowers.address>>, <<borrowers.address2>>, <<borrowers.city>> <<borrowers.zipcode>>"
1944             - "<<borrowers.email>>"
1945             - ""
1946             - "ITEM RECALLED"
1947             - "<<biblio.title>> by <<biblio.author>>"
1948             - "Barcode: <<items.barcode>>"
1949             - "Callnumber: <<items.itemcallnumber>>"
1950             - "Waiting since: <<recalls.waitingdate>>"
1951             - "Notes: <<recalls.recallnotes>>"
1952
1953         - module: members
1954           code: 2FA_DISABLE
1955           branchcode: ""
1956           name: "Confirmation of disabling two factor authentication"
1957           is_html: 1
1958           title: "Confirmation of disabling two factor authentication"
1959           message_transport_type: email
1960           lang: default
1961           content:
1962             - "<p>Dear [% borrower.firstname %] [% borrower.surname %],</p>"
1963             - "<p>This is to confirm that someone disabled two factor authentication on your account.</p>"
1964             - "<p>If you did not do this, someone else may be using your account. Please contact technical support.</p>"
1965             - "<p>Your library</p>"
1966
1967         - module: members
1968           code: 2FA_ENABLE
1969           branchcode: ""
1970           name: "Confirmation of enabling two factor authentication"
1971           is_html: 1
1972           title: "Confirmation of enabling two factor authentication"
1973           message_transport_type: email
1974           lang: default
1975           content:
1976             - "<p>Dear [% borrower.firstname %] [% borrower.surname %],</p>"
1977             - "<p>This is to confirm that someone enabled two factor authentication on your account.</p>"
1978             - "<p>If you did not do this, someone else may be using your account. Please contact technical support.</p>"
1979             - "<p>Your library</p>"
1980
1981         - module: members
1982           code: OPAC_REG
1983           branchcode: ""
1984           name: "New OPAC self-registration submitted"
1985           is_html: 1
1986           title: "New OPAC self-registration"
1987           message_transport_type: email
1988           lang: default
1989           content:
1990             - "<h3>New OPAC self-registration</h3>"
1991             - "<p><h4>Self-registration made:</h4>"
1992             - "<ul>"
1993             - "<li> [% borrower.firstname %] [% borrower.surname %]</li>"
1994             - "[% IF borrower.cardnumber %]<li>Cardnumber: [% borrower.cardnumber %]</li>[% END %]"
1995             - "[% IF borrower.email %]<li>Email: [% borrower.email %]</li>[% END %]"
1996             - "[% IF borrower.phone %]<li>Phone: [% borrower.phone %]</li>[% END %]"
1997             - "[% IF borrower.mobile %]<li>Mobile: [% borrower.mobile %]</li>[% END %]"
1998             - "[% IF borrower.fax %]<li>Fax: [% borrower.fax %]</li>[% END %]"
1999             - "[% IF borrower.emailpro %]<li>Secondary email: [% borrower.emailpro %]</li>[% END %]"
2000             - "[% IF borrower.phonepro %]<li>Secondary phone: [% borrower.phonepro %]</li>[% END %]"
2001             - "[% IF borrower.branchcode %]<li>Home library: [% borrower.branchcode %]</li>[% END %]"
2002             - "[% IF borrower.categorycode %]<li>Temporary patron category: [% borrower.categorycode %]</li>[% END %]"
2003             - "</ul>"
2004             - "</p>"