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