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