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