Bug 31713: (follow-up) Fix terminology
[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: ACCOUNTS_SUMMARY
1288           branchcode: ""
1289           name: "Account balance slip"
1290           is_html: 1
1291           title: "Account summary for [% borrower.firstname %] [% borrower.surname %]"
1292           message_transport_type: print
1293           lang: default
1294           content:
1295             - "[% USE Branches %]"
1296             - "[% USE Koha %]"
1297             - "[% USE KohaDates %]"
1298             - "[% USE Price %]"
1299             - "[% PROCESS 'accounts.inc' %]"
1300             - "<table>"
1301             - "  [% IF ( Koha.Preference('LibraryName') ) %]"
1302             - "    <tr>"
1303             - "      <th colspan='4' class='centerednames'>"
1304             - "        <h1>[% Koha.Preference('LibraryName') | html %]</h1>"
1305             - "      </th>"
1306             - "    </tr>"
1307             - "  [% END %]"
1308             - ""
1309             - "  <tr>"
1310             - "    <th colspan='4' class='centerednames'>"
1311             - "      <h2>[% Branches.GetName( borrower.branchcode ) | html %]</h2>"
1312             - "    </th>"
1313             - "  </tr>"
1314             - ""
1315             - "  <tr>"
1316             - "    <th colspan='4' class='centerednames'>"
1317             - "      <h3>Outstanding accounts</h3>"
1318             - "    </th>"
1319             - "  </tr>"
1320             - ""
1321             - "  <tr>"
1322             - "    <th colspan='4' class='centerednames'>"
1323             - "      <h4>Debts</h4>"
1324             - "    </th>"
1325             - "  </tr>"
1326             - "  [% IF borrower.account.outstanding_debits.total_outstanding %]"
1327             - "  <tr>"
1328             - "    <th>Date</th>"
1329             - "    <th>Charge</th>"
1330             - "    <th>Amount</th>"
1331             - "    <th>Outstanding</th>"
1332             - "  </tr>"
1333             - "  [% FOREACH debit IN borrower.account.outstanding_debits %]"
1334             - "  <tr>"
1335             - "    <td>[% debit.date | $KohaDates %]</td>"
1336             - "    <td>"
1337             - "      [% PROCESS account_type_description account=debit %]"
1338             - "      [%- IF debit.description %], [% debit.description | html %][% END %]"
1339             - "    </td>"
1340             - "    <td class='debit'>[% debit.amount | $Price %]</td>"
1341             - "    <td class='debit'>[% debit.amountoutstanding | $Price %]</td>"
1342             - "  </tr>"
1343             - "  [% END %]"
1344             - "  [% ELSE %]"
1345             - "  <tr>"
1346             - "    <td colspan='4'>There are no outstanding debts on your account</td>"
1347             - "  </tr>"
1348             - "  [% END %]"
1349             - ""
1350             - "  <tr>"
1351             - "    <th colspan='4' class='centerednames'>"
1352             - "      <h4>Credits</h4>"
1353             - "    </th>"
1354             - "  </tr>"
1355             - "  [% IF borrower.account.outstanding_credits.total_outstanding %]"
1356             - "  <tr>"
1357             - "    <th>Date</th>"
1358             - "    <th>Credit</th>"
1359             - "    <th>Amount</th>"
1360             - "    <th>Outstanding</th>"
1361             - "  </tr>"
1362             - "  [% FOREACH credit IN borrower.account.outstanding_credits %]"
1363             - "  <tr>"
1364             - "    <td>[% credit.date | $KohaDates%]</td>"
1365             - "    <td>"
1366             - "      [% PROCESS account_type_description account=credit %]"
1367             - "      [%- IF credit.description %], [% credit.description | html %][% END %]"
1368             - "    </td>"
1369             - "    <td class='credit'>[% credit.amount | $Price %]</td>"
1370             - "    <td class='credit'>[% credit.amountoutstanding | $Price %]</td>"
1371             - "  </tr>"
1372             - "  [% END %]"
1373             - "  [% ELSE %]"
1374             - "  <tr>"
1375             - "    <td colspan='4'>There are no outstanding credits on your account</td>"
1376             - "  </tr>"
1377             - "  [% END %]"
1378             - ""
1379             - "  <tfoot>"
1380             - "    <tr>"
1381             - "      <td colspan='3'>Total outstanding dues as of [% today | $KohaDates %]: </td>"
1382             - "      [% IF ( borrower.account.balance <= 0 ) %]<td class='credit'>[% ELSE %]<td class='debit'>[% END %][% borrower.account.balance | $Price %]</td>"
1383             - "    </tr>"
1384             - "  </tfoot>"
1385             - "</table>"
1386
1387         - module: orderacquisition
1388           code: ACQORDER
1389           branchcode: ""
1390           name: "Acquisition order"
1391           is_html: 0
1392           title: "Order"
1393           message_transport_type: email
1394           lang: default
1395           content:
1396             - "<<aqbooksellers.name>>"
1397             - "<<aqbooksellers.address1>>"
1398             - "<<aqbooksellers.address2>>"
1399             - "<<aqbooksellers.address3>>"
1400             - "<<aqbooksellers.address4>>"
1401             - "<<aqbooksellers.phone>>"
1402             - ""
1403             - "Please order for the library:"
1404             - ""
1405             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (quantity: <<aqorders.quantity>>) ($<<aqorders.listprice>> each).</order>"
1406             - ""
1407             - "Thank you,"
1408             - ""
1409             - "<<branches.branchname>>"
1410
1411         - module: pos
1412           code: RECEIPT
1413           branchcode: ""
1414           name: "Point of sale receipt"
1415           is_html: 1
1416           title: "Receipt"
1417           message_transport_type: print
1418           lang: default
1419           content:
1420             - "[% USE KohaDates %]"
1421             - "[% USE Branches %]"
1422             - "[% USE Price %]"
1423             - "[% PROCESS \"accounts.inc\" %]"
1424             - "<table>"
1425             - "[% IF ( LibraryName ) %]"
1426             - " <tr>"
1427             - "    <th colspan=\"2\" class=\"centerednames\">"
1428             - "        <h3>[% LibraryName | html %]</h3>"
1429             - "    </th>"
1430             - " </tr>"
1431             - "[% END %]"
1432             - " <tr>"
1433             - "    <th colspan=\"2\" class=\"centerednames\">"
1434             - "        <h2>[% Branches.GetName( credit.branchcode ) | html %]</h2>"
1435             - "    </th>"
1436             - " </tr>"
1437             - "<tr>"
1438             - "    <th colspan=\"2\" class=\"centerednames\">"
1439             - "        <h3>[% credit.date | $KohaDates %]</h3>"
1440             - "</tr>"
1441             - "<tr>"
1442             - "  <td>Transaction ID: </td>"
1443             - "  <td>[% credit.accountlines_id %]</td>"
1444             - "</tr>"
1445             - "<tr>"
1446             - "  <td>Operator ID: </td>"
1447             - "  <td>[% credit.manager_id %]</td>"
1448             - "</tr>"
1449             - "<tr>"
1450             - "  <td>Payment type: </td>"
1451             - "  <td>[% credit.payment_type %]</td>"
1452             - "</tr>"
1453             - " <tr></tr>"
1454             - " <tr>"
1455             - "    <th colspan=\"2\" class=\"centerednames\">"
1456             - "        <h2><u>Fee receipt</u></h2>"
1457             - "    </th>"
1458             - " </tr>"
1459             - " <tr></tr>"
1460             - " <tr>"
1461             - "    <th>Description of charges</th>"
1462             - "    <th>Amount</th>"
1463             - "  </tr>"
1464             - ""
1465             - "  [% FOREACH debit IN credit.debits %]"
1466             - "    <tr>"
1467             - "        <td>[% PROCESS account_type_description account=debit %]</td>"
1468             - "        <td>[% debit.amount * -1 | $Price %]</td>"
1469             - "    </tr>"
1470             - "  [% END %]"
1471             - ""
1472             - "<tfoot>"
1473             - "  <tr class=\"highlight\">"
1474             - "    <td>Total: </td>"
1475             - "    <td>[% credit.amount * -1| $Price %]</td>"
1476             - "  </tr>"
1477             - "  <tr>"
1478             - "    <td>Tendered: </td>"
1479             - "    <td>[% collected | $Price %]</td>"
1480             - "  </tr>"
1481             - "  <tr>"
1482             - "    <td>Change: </td>"
1483             - "    <td>[% change | $Price %]</td>"
1484             - "    </tr>"
1485             - "</tfoot>"
1486             - "</table>"
1487
1488         - module: pos
1489           code: RECEIPT
1490           branchcode: ""
1491           name: "Point of sale receipt"
1492           is_html: 1
1493           title: "Receipt"
1494           message_transport_type: email
1495           lang: default
1496           content:
1497             - "[% USE KohaDates %]"
1498             - "[% USE Branches %]"
1499             - "[% USE Price %]"
1500             - "[% PROCESS \"accounts.inc\" %]"
1501             - "<table>"
1502             - "    [% IF ( LibraryName ) %]"
1503             - "    <tr>"
1504             - "      <th colspan=\"2\" class=\"centerednames\">"
1505             - "        <h3>[% LibraryName | html %]</h3>"
1506             - "      </th>"
1507             - "    </tr>"
1508             - "    [% END %]"
1509             - "    [% IF credit.library %]"
1510             - "    <tr>"
1511             - "      <th colspan=\"2\" class=\"centerednames\">"
1512             - "        <h2>[% payment.library.branchname ) | html %]</h2>"
1513             - "      </th>"
1514             - "    </tr>"
1515             - "    [% END %]"
1516             - "    <tr>"
1517             - "      <th colspan=\"2\" class=\"centerednames\">"
1518             - "        <h3>[% payment.date | $KohaDates %]</h3>"
1519             - "      </th>"
1520             - "    </tr>"
1521             - "    <tr>"
1522             - "      <td>Transaction ID: </td>"
1523             - "      <td>[% payment.accountlines_id %]</td>"
1524             - "    </tr>"
1525             - "    <tr>"
1526             - "      <td>Operator ID: </td>"
1527             - "      <td>[% payment.manager_id %]</td>"
1528             - "    </tr>"
1529             - "    <tr>"
1530             - "      <td>Payment type: </td>"
1531             - "      <td>[% payment.payment_type %]</td>"
1532             - "    </tr>"
1533             - "    <tr>"
1534             - "      <th colspan=\"2\" class=\"centerednames\">"
1535             - "        <h2><u>Payment receipt</u></h2>"
1536             - "      </th>"
1537             - "    </tr>"
1538             - "    <tr>"
1539             - "      <th>Description of charges</th>"
1540             - "      <th>Amount</th>"
1541             - "    </tr>"
1542             - "    [% FOREACH offset IN payment.credit_offsets %]"
1543             - "    <tr>"
1544             - "        <td>[% PROCESS account_type_description account=debit %]</td>"
1545             - "        <td>[% debit.amount * -1 | $Price %]</td>"
1546             - "    </tr>"
1547             - "    [% END %]"
1548             - "  <tfoot>"
1549             - "    <tr class=\"highlight\">"
1550             - "      <td>Total:</td>"
1551             - "      <td>[% payment.amount * -1 | $Price %]</td>"
1552             - "    </tr>"
1553             - "    <tr>"
1554             - "      <td>Tendered: </td>"
1555             - "      <td>[% tendered | $Price %]</td>"
1556             - "    </tr>"
1557             - "    <tr>"
1558             - "      <td>Change given:</td>"
1559             - "      <td>[% change | $Price %]</td>"
1560             - "    </tr>"
1561             - "  </tfoot>"
1562             - "</table>"
1563
1564         - module: reserves
1565           code: CANCEL_HOLD_ON_LOST
1566           branchcode: ""
1567           name: "Hold has been cancelled"
1568           is_html: 0
1569           title: "Hold has been cancelled"
1570           message_transport_type: email
1571           lang: default
1572           content:
1573             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1574             - ""
1575             - "We regret to inform you, that the following item can not be provided due to it being missing. Your hold was cancelled."
1576             - ""
1577             - "Title: [% biblio.title %]"
1578             - "Author: [% biblio.author %]"
1579             - "Copy: [% item.copynumber %]"
1580             - "Location: [% branch.branchname %]"
1581
1582         - module: reserves
1583           code: HOLD
1584           branchcode: ""
1585           name: "Hold available for pickup"
1586           is_html: 0
1587           title: "Hold available for pickup at <<branches.branchname>>"
1588           message_transport_type: email
1589           lang: default
1590           content:
1591             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1592             - ""
1593             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1594             - ""
1595             - "Title: <<biblio.title>>"
1596             - "Author: <<biblio.author>>"
1597             - "Copy: <<items.copynumber>>"
1598             - "Location: <<branches.branchname>>"
1599             - "<<branches.branchaddress1>>"
1600             - "<<branches.branchaddress2>>"
1601             - "<<branches.branchaddress3>>"
1602             - "<<branches.branchcity>> <<branches.branchzip>>"
1603
1604         - module: reserves
1605           code: HOLD
1606           branchcode: ""
1607           name: "Hold available for pickup"
1608           is_html: 0
1609           title: "Hold available for pickup (print notice)"
1610           message_transport_type: print
1611           lang: default
1612           content:
1613             - "<<branches.branchname>>"
1614             - "<<branches.branchaddress1>>"
1615             - "<<branches.branchaddress2>>"
1616             - ""
1617             - ""
1618             - "Change service requested"
1619             - ""
1620             - ""
1621             - ""
1622             - ""
1623             - ""
1624             - ""
1625             - ""
1626             - "<<borrowers.firstname>> <<borrowers.surname>>"
1627             - "<<borrowers.address>>"
1628             - "<<borrowers.city>> <<borrowers.zipcode>>"
1629             - ""
1630             - ""
1631             - ""
1632             - ""
1633             - ""
1634             - ""
1635             - ""
1636             - ""
1637             - ""
1638             - ""
1639             - "<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>"
1640             - ""
1641             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1642             - ""
1643             - "Title: <<biblio.title>>"
1644             - "Author: <<biblio.author>>"
1645             - "Copy: <<items.copynumber>>"
1646             - ""
1647
1648         - module: reserves
1649           code: HOLDPLACED
1650           branchcode: ""
1651           name: "Hold placed on item"
1652           is_html: 0
1653           title: "Hold placed on item"
1654           message_transport_type: email
1655           lang: default
1656           content:
1657             - "A hold has been placed on the following item : <<biblio.title>> (<<biblio.biblionumber>>) by the user <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1658
1659         - module: reserves
1660           code: HOLD_CHANGED
1661           branchcode: ""
1662           name: "Canceled hold available for different patron"
1663           is_html: 0
1664           title: "Canceled hold available for different patron"
1665           message_transport_type: email
1666           lang: default
1667           content:
1668             - "The patron picking up <<biblio.title>> (<<items.barcode>>) has changed to <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1669             - "Please update the hold information for this item."
1670             - "Title: <<biblio.title>>"
1671             - "Author: <<biblio.author>>"
1672             - "Item: <<items.itemcallnumber>>"
1673             - "Pickup location: <<branches.branchname>>"
1674
1675         - module: reserves
1676           code: HOLD_REMINDER
1677           branchcode: ""
1678           name: "Waiting hold reminder"
1679           is_html: 0
1680           title: "You have waiting holds."
1681           message_transport_type: email
1682           lang: default
1683           content:
1684             - "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 %]"
1685
1686         - module: reserves
1687           code: NEW_CURBSIDE_PICKUP
1688           branchcode: ""
1689           name: "New curbside pickup"
1690           is_html: 0
1691           title: "You have scheduled a curbside pickup for [% branch.branchname %]"
1692           message_transport_type: email
1693           lang: default
1694           content:
1695             - "[%- USE KohaDates -%]"
1696             - "[%- SET cp = curbside_pickup -%]"
1697             - ""
1698             - "You have a curbside pickup scheduled for [% cp.scheduled_pickup_datetime | $KohaDates with_hours => 1 %] at [% cp.library.branchname %]."
1699             - "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 %]"
1700             - ""
1701             - "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."
1702
1703         - module: serial
1704           code: SERIAL_ALERT
1705           branchcode: ""
1706           name: "New serial issue"
1707           is_html: 0
1708           title: "New serial issue is now available"
1709           message_transport_type: email
1710           lang: default
1711           content:
1712             - "<<borrowers.firstname>> <<borrowers.surname>>,"
1713             - ""
1714             - "The following issue is now available:"
1715             - ""
1716             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
1717             - ""
1718             - "Please pick it up at your convenience."
1719
1720         - module: suggestions
1721           code: ACCEPTED
1722           branchcode: ""
1723           name: "Suggestion accepted"
1724           is_html: 0
1725           title: "Purchase suggestion accepted"
1726           message_transport_type: email
1727           lang: default
1728           content:
1729             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1730             - ""
1731             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1732             - ""
1733             - "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."
1734             - ""
1735             - "If you have any questions, please email us at <<branches.branchemail>>."
1736             - ""
1737             - "Thank you,"
1738             - ""
1739             - "<<branches.branchname>>"
1740
1741         - module: suggestions
1742           code: AVAILABLE
1743           branchcode: ""
1744           name: "Suggestion available"
1745           is_html: 0
1746           title: "Suggested purchase available"
1747           message_transport_type: email
1748           lang: default
1749           content:
1750             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1751             - ""
1752             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1753             - ""
1754             - "We are pleased to inform you that the item you requested is now part of the collection."
1755             - ""
1756             - "If you have any questions, please email us at <<branches.branchemail>>."
1757             - ""
1758             - "Thank you,"
1759             - ""
1760             - "<<branches.branchname>>"
1761
1762         - module: suggestions
1763           code: NEW_SUGGESTION
1764           branchcode: ""
1765           name: "New suggestion"
1766           is_html: 1
1767           title: "New suggestion"
1768           message_transport_type: email
1769           lang: default
1770           content:
1771             - "<h3>Suggestion pending approval</h3>"
1772             - "    <p><h4>Suggested by</h4>"
1773             - "    <ul>"
1774             - "    <li><<borrowers.firstname>> <<borrowers.surname>></li>"
1775             - "    <li><<borrowers.cardnumber>></li>"
1776             - "    <li><<borrowers.phone>></li>"
1777             - "    <li><<borrowers.email>></li>"
1778             - "    </ul>"
1779             - "    </p>"
1780             - "    <p><h4>Title suggested</h4>"
1781             - "    <ul>"
1782             - "    <li><b>Library:</b> <<branches.branchname>></li>"
1783             - "    <li><b>Title:</b> <<suggestions.title>></li>"
1784             - "    <li><b>Author:</b> <<suggestions.author>></li>"
1785             - "    <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>"
1786             - "    <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>"
1787             - "    <li><b>Publisher:</b> <<suggestions.publishercode>></li>"
1788             - "    <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>"
1789             - "    <li><b>Publication place:</b> <<suggestions.place>></li>"
1790             - "    <li><b>Quantity:</b> <<suggestions.quantity>></li>"
1791             - "    <li><b>Item type:</b>  <<suggestions.itemtype>></li>"
1792             - "    <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>"
1793             - "    <li><b>Notes:</b> <<suggestions.note>></li>"
1794             - "    </ul>"
1795             - "    </p>"
1796
1797         - module: suggestions
1798           code: ORDERED
1799           branchcode: ""
1800           name: "Suggestion ordered"
1801           is_html: 0
1802           title: "Suggested item ordered"
1803           message_transport_type: email
1804           lang: default
1805           content:
1806             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1807             - ""
1808             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1809             - ""
1810             - "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."
1811             - ""
1812             - "You will be notified again when the book is available."
1813             - ""
1814             - "If you have any questions, please email us at <<branches.branchemail>>"
1815             - ""
1816             - "Thank you,"
1817             - ""
1818             - "<<branches.branchname>>"
1819
1820         - module: suggestions
1821           code: REJECTED
1822           branchcode: ""
1823           name: "Suggestion rejected"
1824           is_html: 0
1825           title: "Purchase suggestion declined"
1826           message_transport_type: email
1827           lang: default
1828           content:
1829             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1830             - ""
1831             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1832             - ""
1833             - "The library has reviewed your request today, and has decided not to accept the suggestion at this time."
1834             - ""
1835             - "The reason given is: <<suggestions.reason>>"
1836             - ""
1837             - "If you have any questions, please email us at <<branches.branchemail>>."
1838             - ""
1839             - "Thank you,"
1840             - ""
1841             - "<<branches.branchname>>"
1842
1843         - module: suggestions
1844           code: TO_PROCESS
1845           branchcode: ""
1846           name: "Notify fund owner"
1847           is_html: 0
1848           title: "A suggestion is ready to be processed"
1849           message_transport_type: email
1850           lang: default
1851           content:
1852             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1853             - ""
1854             - "A new suggestion is ready to be processed: <<suggestions.title>> by <<suggestions.author>>."
1855             - ""
1856             - "Thank you,"
1857             - ""
1858             - "<<branches.branchname>>"
1859
1860         - module: suggestions
1861           code: NOTIFY_MANAGER
1862           branchcode: ""
1863           name: "Notify manager of a suggestion"
1864           is_html: 0
1865           title: "A suggestion has been assigned to you"
1866           message_transport_type: email
1867           lang: default
1868           content:
1869             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1870             - ""
1871             - "A new suggestion has been assigned to you: [% suggestion.title %]."
1872             - ""
1873             - "Thank you,"
1874             - ""
1875             - "[% branch.branchname %]"
1876
1877         - module: members
1878           code: PROBLEM_REPORT
1879           branchcode: ""
1880           name: "OPAC problem report"
1881           is_html: 0
1882           title: "OPAC problem report"
1883           message_transport_type: email
1884           lang: default
1885           content:
1886             - "Username: <<problem_reports.username>>"
1887             - ""
1888             - "Problem page: <<problem_reports.problempage>>"
1889             - ""
1890             - "Title: <<problem_reports.title>>"
1891             - ""
1892             - "Message: <<problem_reports.content>>"
1893
1894         - module: circulation
1895           code: AUTO_RENEWALS
1896           branchcode: ""
1897           name: "Notification of automatic renewal"
1898           is_html: 0
1899           title: "Automatic renewal notice"
1900           message_transport_type: email
1901           lang: default
1902           content:
1903             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1904             - "[% IF checkout.auto_renew_error %]"
1905             - "The following item, [% biblio.title %], has not been renewed because:"
1906             - "[% IF checkout.auto_renew_error == 'too_many' %]"
1907             - "You have reached the maximum number of renewals possible."
1908             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
1909             - "This item is on hold for another patron."
1910             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
1911             - "You are currently restricted."
1912             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
1913             - "You have overdue items."
1914             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
1915             - "It's too late to renew this item."
1916             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
1917             - "Your total unpaid fines are too high."
1918             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
1919             - "This item must be renewed at the library."
1920             - "[% ELSIF checkout.auto_renew_error == 'auto_account_expired' %]"
1921             - "Your account has expired."
1922             - "[% END %]"
1923             - "[% ELSE %]"
1924             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
1925             - "[% END %]"
1926
1927         - module: circulation
1928           code: CHECKINSLIP
1929           branchcode: ""
1930           name: "Checkin slip"
1931           is_html: 1
1932           title: "Checkin slip"
1933           message_transport_type: print
1934           lang: default
1935           content:
1936             - "<h3>[% branch.branchname %]</h3>"
1937             - "Checked in items for [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br />"
1938             - "([% borrower.cardnumber %]) <br />"
1939             - ""
1940             - "[% today | $KohaDates %]<br />"
1941             - ""
1942             - "<h4>Checked in today</h4>"
1943             - "[% FOREACH checkin IN old_checkouts %]"
1944             - "[% SET item = checkin.item %]"
1945             - "<p>"
1946             - "[% item.biblio.title %] <br />"
1947             - "Barcode: [% item.barcode %] <br />"
1948             - "</p>"
1949             - "[% END %]"
1950
1951         - module: circulation
1952           code: OVERDUE_FINE_DESC
1953           branchcode: ""
1954           name: "Overdue item fine description"
1955           is_html: 0
1956           title: "Overdue item fine description"
1957           message_transport_type: print
1958           lang: default
1959           content:
1960             - "[% item.biblio.title %] [% checkout.date_due | $KohaDates %]"
1961
1962         - module: circulation
1963           code: AUTO_RENEWALS_DGST
1964           branchcode: ""
1965           name: "Notification on auto renewals"
1966           is_html: 0
1967           title: "Auto renewals (Digest)"
1968           message_transport_type: email
1969           lang: default
1970           content:
1971             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1972             - "[% IF error %]"
1973             - "There were [% error %] items that were not renewed."
1974             - "[% END %]"
1975             - "[% IF success %]"
1976             - "There were [% success %] items that were renewed."
1977             - "[% END %]"
1978             - "[% FOREACH checkout IN checkouts %]"
1979             - "[% checkout.item.biblio.title %] : [% checkout.item.barcode %]"
1980             - "[% IF !checkout.auto_renew_error %]"
1981             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
1982             - "[% ELSIF checkout.auto_renew_error == 'too_many' %]"
1983             - "You have reached the maximum number of renewals possible."
1984             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
1985             - "This item is on hold for another patron."
1986             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
1987             - "You are currently restricted."
1988             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
1989             - "You have overdue items."
1990             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
1991             - "It's too late to renew this item."
1992             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
1993             - "Your total unpaid fines are too high."
1994             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
1995             - "This item must be renewed at the library."
1996             - "[% END %]"
1997             - "[% END %]"
1998
1999         - module: circulation
2000           code: RETURN_RECALLED_ITEM
2001           branchcode: ""
2002           name: "Notification to return a recalled item"
2003           is_html: 0
2004           title: "Notification to return a recalled item"
2005           message_transport_type: email
2006           lang: default
2007           content:
2008             - "Date: <<today>>"
2009             - ""
2010             - "<<borrowers.firstname>> <<borrowers.surname>>,"
2011             - ""
2012             - "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."
2013             - ""
2014             - "Thank you!"
2015
2016         - module: circulation
2017           code: PICKUP_RECALLED_ITEM
2018           branchcode: ""
2019           name: "Recalled item awaiting pickup"
2020           is_html: 0
2021           title: "Recalled item awaiting pickup"
2022           message_transport_type: email
2023           lang: default
2024           content:
2025             - "Date: <<today>>"
2026             - ""
2027             - "<<borrowers.firstname>> <<borrowers.surname>>,"
2028             - ""
2029             - "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>>."
2030             - ""
2031             - "Thank you!"
2032
2033         - module: circulation
2034           code: RECALL_REQUESTER_DET
2035           branchcode: ""
2036           name: "Details of patron who recalled item"
2037           is_html: 0
2038           title: "Details of patron who recalled item"
2039           message_transport_type: print
2040           lang: default
2041           content:
2042             - "Date: <<today>>"
2043             - ""
2044             - "Recall for pickup at <<branches.branchname>>"
2045             - "<<borrowers.surname>>, <<borrowers.firstname>> (<<borrowers.cardnumber>>)"
2046             - "<<borrowers.phone>>"
2047             - "<<borrowers.streetnumber>> <<borrowers.address>>, <<borrowers.address2>>, <<borrowers.city>> <<borrowers.zipcode>>"
2048             - "<<borrowers.email>>"
2049             - ""
2050             - "ITEM RECALLED"
2051             - "<<biblio.title>> by <<biblio.author>>"
2052             - "Barcode: <<items.barcode>>"
2053             - "Callnumber: <<items.itemcallnumber>>"
2054             - "Waiting since: <<recalls.waitingdate>>"
2055             - "Notes: <<recalls.recallnotes>>"
2056
2057         - module: members
2058           code: 2FA_DISABLE
2059           branchcode: ""
2060           name: "Confirmation of disabling two factor authentication"
2061           is_html: 1
2062           title: "Confirmation of disabling two factor authentication"
2063           message_transport_type: email
2064           lang: default
2065           content:
2066             - "<p>Dear [% borrower.firstname %] [% borrower.surname %],</p>"
2067             - "<p>This is to confirm that someone disabled two factor authentication on your account.</p>"
2068             - "<p>If you did not do this, someone else may be using your account. Please contact technical support.</p>"
2069             - "<p>Your library</p>"
2070
2071         - module: members
2072           code: 2FA_ENABLE
2073           branchcode: ""
2074           name: "Confirmation of enabling two factor authentication"
2075           is_html: 1
2076           title: "Confirmation of enabling two factor authentication"
2077           message_transport_type: email
2078           lang: default
2079           content:
2080             - "<p>Dear [% borrower.firstname %] [% borrower.surname %],</p>"
2081             - "<p>This is to confirm that someone enabled two factor authentication on your account.</p>"
2082             - "<p>If you did not do this, someone else may be using your account. Please contact technical support.</p>"
2083             - "<p>Your library</p>"
2084
2085         - module: members
2086           code: OPAC_REG
2087           branchcode: ""
2088           name: "New OPAC self-registration submitted"
2089           is_html: 1
2090           title: "New OPAC self-registration"
2091           message_transport_type: email
2092           lang: default
2093           content:
2094             - "<h3>New OPAC self-registration</h3>"
2095             - "<p><h4>Self-registration made:</h4>"
2096             - "<ul>"
2097             - "<li> [% borrower.firstname %] [% borrower.surname %]</li>"
2098             - "[% IF borrower.cardnumber %]<li>Cardnumber: [% borrower.cardnumber %]</li>[% END %]"
2099             - "[% IF borrower.email %]<li>Email: [% borrower.email %]</li>[% END %]"
2100             - "[% IF borrower.phone %]<li>Phone: [% borrower.phone %]</li>[% END %]"
2101             - "[% IF borrower.mobile %]<li>Mobile: [% borrower.mobile %]</li>[% END %]"
2102             - "[% IF borrower.fax %]<li>Fax: [% borrower.fax %]</li>[% END %]"
2103             - "[% IF borrower.emailpro %]<li>Secondary email: [% borrower.emailpro %]</li>[% END %]"
2104             - "[% IF borrower.phonepro %]<li>Secondary phone: [% borrower.phonepro %]</li>[% END %]"
2105             - "[% IF borrower.branchcode %]<li>Home library: [% borrower.branchcode %]</li>[% END %]"
2106             - "[% IF borrower.categorycode %]<li>Temporary patron category: [% borrower.categorycode %]</li>[% END %]"
2107             - "</ul>"
2108             - "</p>"