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