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