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