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