Bug 27944: (follow-up) Improving consistency between notice names
[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             - "<<article_requests.notes>>"
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: ACCTDETAILS
953           branchcode: ""
954           name: "Account details template - DEFAULT"
955           is_html: 0
956           title: "Your new Koha account details."
957           message_transport_type: email
958           lang: default
959           content:
960             - "Hello <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>."
961             - ""
962             - "Your new Koha account details are:"
963             - ""
964             - "User:  <<borrowers.userid>>"
965             - "Password: <<borrowers.password>>"
966             - ""
967             - "If you have any problems or questions regarding your account, please contact your Koha Administrator."
968             - ""
969             - "Thank you,"
970             - "Koha Administrator"
971             - "kohaadmin@yoursite.org"
972
973         - module: members
974           code: DISCHARGE
975           branchcode: ""
976           name: "Discharge confirmation"
977           is_html: 1
978           title: "Discharge for <<borrowers.firstname>> <<borrowers.surname>>"
979           message_transport_type: email
980           lang: default
981           content:
982             - ""
983             - "<<today>>"
984             - "<h1>Discharge confirmation</h1>"
985             - "<p><<branches.branchname>> certifies that the following borrower:<br>"
986             - "<<borrowers.firstname>> <<borrowers.surname>> (cardnumber: <<borrowers.cardnumber>>)<br>"
987             - "has returned all items.</p>"
988
989         - module: members
990           code: MEMBERSHIP_EXPIRY
991           branchcode: ""
992           name: "Account expiration"
993           is_html: 0
994           title: "Account expiration"
995           message_transport_type: email
996           lang: default
997           content:
998             - "Dear <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>,"
999             - ""
1000             - "Your library card will expire soon, on:"
1001             - ""
1002             - "<<borrowers.dateexpiry>>"
1003             - ""
1004             - "Thank you,"
1005             - ""
1006             - "Librarian"
1007             - ""
1008             - "<<branches.branchname>>"
1009
1010         - module: members
1011           code: OPAC_REG_VERIFY
1012           branchcode: ""
1013           name: "OPAC self-registration verification email"
1014           is_html: 1
1015           title: "Verify your account"
1016           message_transport_type: email
1017           lang: default
1018           content:
1019             - "Hello!"
1020             - ""
1021             - "Your library account has been created. Please verify your email address by clicking this link to complete the signup process:"
1022             - ""
1023             - "<<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower_modifications.verification_token>>"
1024             - ""
1025             - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
1026
1027         - module: members
1028           code: PASSWORD_RESET
1029           branchcode: ""
1030           name: "Online password reset"
1031           is_html: 1
1032           title: "Koha password recovery"
1033           message_transport_type: email
1034           lang: default
1035           content:
1036             - "<html>"
1037             - "<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>."
1038             - "</p>"
1039             - "<p>"
1040             - "You can now create your new password using the following link:"
1041             - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
1042             - "</p>"
1043             - "<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>"
1044             - "<p>Thank you.</p>"
1045             - "</html>"
1046             - ""
1047
1048         - module: members
1049           code: SHARE_ACCEPT
1050           branchcode: ""
1051           name: "Notification about an accepted share"
1052           is_html: 0
1053           title: "Share on list <<listname>> accepted"
1054           message_transport_type: email
1055           lang: default
1056           content:
1057             - "Dear patron,"
1058             - ""
1059             - "We want to inform you that <<borrowers.firstname>> <<borrowers.surname>> accepted your invitation to share your list <<listname>> in our library catalog."
1060             - ""
1061             - "Thank you."
1062             - ""
1063             - "Your library."
1064
1065         - module: members
1066           code: SHARE_INVITE
1067           branchcode: ""
1068           name: "Invitation for sharing a list"
1069           is_html: 0
1070           title: "Share list <<listname>>"
1071           message_transport_type: email
1072           lang: default
1073           content:
1074             - "Dear patron,"
1075             - ""
1076             - "One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share a list <<listname>> in our library catalog."
1077             - ""
1078             - "To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar."
1079             - ""
1080             - "<<shareurl>>"
1081             - ""
1082             - "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."
1083             - ""
1084             - "Thank you."
1085             - ""
1086             - "Your library."
1087
1088         - module: orderacquisition
1089           code: ACQORDER
1090           branchcode: ""
1091           name: "Acquisition order"
1092           is_html: 0
1093           title: "Order"
1094           message_transport_type: email
1095           lang: default
1096           content:
1097             - "<<aqbooksellers.name>>"
1098             - "<<aqbooksellers.address1>>"
1099             - "<<aqbooksellers.address2>>"
1100             - "<<aqbooksellers.address3>>"
1101             - "<<aqbooksellers.address4>>"
1102             - "<<aqbooksellers.phone>>"
1103             - ""
1104             - "Please order for the library:"
1105             - ""
1106             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (quantity: <<aqorders.quantity>>) ($<<aqorders.listprice>> each).</order>"
1107             - ""
1108             - "Thank you,"
1109             - ""
1110             - "<<branches.branchname>>"
1111
1112         - module: pos
1113           code: RECEIPT
1114           branchcode: ""
1115           name: "Point of sale receipt"
1116           is_html: 0
1117           title: "Receipt"
1118           message_transport_type: print
1119           lang: default
1120           content:
1121             - "[% PROCESS \"accounts.inc\" %]"
1122             - "<table>"
1123             - "[% IF ( LibraryName ) %]"
1124             - " <tr>"
1125             - "    <th colspan=\"2\" class=\"centerednames\">"
1126             - "        <h3>[% LibraryName | html %]</h3>"
1127             - "    </th>"
1128             - " </tr>"
1129             - "[% END %]"
1130             - " <tr>"
1131             - "    <th colspan=\"2\" class=\"centerednames\">"
1132             - "        <h2>[% Branches.GetName( payment.branchcode ) | html %]</h2>"
1133             - "    </th>"
1134             - " </tr>"
1135             - "<tr>"
1136             - "    <th colspan=\"2\" class=\"centerednames\">"
1137             - "        <h3>[% payment.date | $KohaDates %]</h3>"
1138             - "</tr>"
1139             - "<tr>"
1140             - "  <td>Transaction ID: </td>"
1141             - "  <td>[% payment.accountlines_id %]</td>"
1142             - "</tr>"
1143             - "<tr>"
1144             - "  <td>Operator ID: </td>"
1145             - "  <td>[% payment.manager_id %]</td>"
1146             - "</tr>"
1147             - "<tr>"
1148             - "  <td>Payment type: </td>"
1149             - "  <td>[% payment.payment_type %]</td>"
1150             - "</tr>"
1151             - " <tr></tr>"
1152             - " <tr>"
1153             - "    <th colspan=\"2\" class=\"centerednames\">"
1154             - "        <h2><u>Fee receipt</u></h2>"
1155             - "    </th>"
1156             - " </tr>"
1157             - " <tr></tr>"
1158             - " <tr>"
1159             - "    <th>Description of charges</th>"
1160             - "    <th>Amount</th>"
1161             - "  </tr>"
1162             - ""
1163             - "  [% FOREACH offset IN offsets %]"
1164             - "    <tr>"
1165             - "        <td>[% PROCESS account_type_description account=offset.debit %]</td>"
1166             - "        <td>[% offset.amount * -1 | $Price %]</td>"
1167             - "    </tr>"
1168             - "  [% END %]"
1169             - ""
1170             - "<tfoot>"
1171             - "  <tr class=\"highlight\">"
1172             - "    <td>Total: </td>"
1173             - "    <td>[% payment.amount * -1| $Price %]</td>"
1174             - "  </tr>"
1175             - "  <tr>"
1176             - "    <td>Tendered: </td>"
1177             - "    <td>[% collected | $Price %]</td>"
1178             - "  </tr>"
1179             - "  <tr>"
1180             - "    <td>Change: </td>"
1181             - "    <td>[% change | $Price %]</td>"
1182             - "    </tr>"
1183             - "</tfoot>"
1184             - "</table>"
1185
1186         - module: reserves
1187           code: CANCEL_HOLD_ON_LOST
1188           branchcode: ""
1189           name: "Hold has been cancelled"
1190           is_html: 0
1191           title: "Hold has been cancelled"
1192           message_transport_type: email
1193           lang: default
1194           content:
1195             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1196             - ""
1197             - "We regret to inform you, that the following item can not be provided due to it being missing. Your hold was cancelled."
1198             - ""
1199             - "Title: [% biblio.title %]"
1200             - "Author: [% biblio.author %]"
1201             - "Copy: [% item.copynumber %]"
1202             - "Location: [% branch.branchname %]"
1203
1204         - module: reserves
1205           code: HOLD
1206           branchcode: ""
1207           name: "Hold available for pickup"
1208           is_html: 0
1209           title: "Hold available for pickup at <<branches.branchname>>"
1210           message_transport_type: email
1211           lang: default
1212           content:
1213             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1214             - ""
1215             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1216             - ""
1217             - "Title: <<biblio.title>>"
1218             - "Author: <<biblio.author>>"
1219             - "Copy: <<items.copynumber>>"
1220             - "Location: <<branches.branchname>>"
1221             - "<<branches.branchaddress1>>"
1222             - "<<branches.branchaddress2>>"
1223             - "<<branches.branchaddress3>>"
1224             - "<<branches.branchcity>> <<branches.branchzip>>"
1225
1226         - module: reserves
1227           code: HOLD
1228           branchcode: ""
1229           name: "Hold available for pickup"
1230           is_html: 0
1231           title: "Hold available for pickup (print notice)"
1232           message_transport_type: print
1233           lang: default
1234           content:
1235             - "<<branches.branchname>>"
1236             - "<<branches.branchaddress1>>"
1237             - "<<branches.branchaddress2>>"
1238             - ""
1239             - ""
1240             - "Change service requested"
1241             - ""
1242             - ""
1243             - ""
1244             - ""
1245             - ""
1246             - ""
1247             - ""
1248             - "<<borrowers.firstname>> <<borrowers.surname>>"
1249             - "<<borrowers.address>>"
1250             - "<<borrowers.city>> <<borrowers.zipcode>>"
1251             - ""
1252             - ""
1253             - ""
1254             - ""
1255             - ""
1256             - ""
1257             - ""
1258             - ""
1259             - ""
1260             - ""
1261             - "<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>"
1262             - ""
1263             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
1264             - ""
1265             - "Title: <<biblio.title>>"
1266             - "Author: <<biblio.author>>"
1267             - "Copy: <<items.copynumber>>"
1268             - ""
1269
1270         - module: reserves
1271           code: HOLDPLACED
1272           branchcode: ""
1273           name: "Hold placed on item"
1274           is_html: 0
1275           title: "Hold placed on item"
1276           message_transport_type: email
1277           lang: default
1278           content:
1279             - "A hold has been placed on the following item : <<biblio.title>> (<<biblio.biblionumber>>) by the user <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
1280
1281         - module: reserves
1282           code: HOLD_REMINDER
1283           branchcode: ""
1284           name: "Waiting hold reminder"
1285           is_html: 0
1286           title: "You have waiting holds."
1287           message_transport_type: email
1288           lang: default
1289           content:
1290             - "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 %]"
1291
1292         - module: serial
1293           code: SERIAL_ALERT
1294           branchcode: ""
1295           name: "New serial issue"
1296           is_html: 0
1297           title: "New serial issue is now available"
1298           message_transport_type: email
1299           lang: default
1300           content:
1301             - "<<borrowers.firstname>> <<borrowers.surname>>,"
1302             - ""
1303             - "The following issue is now available:"
1304             - ""
1305             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
1306             - ""
1307             - "Please pick it up at your convenience."
1308
1309         - module: suggestions
1310           code: ACCEPTED
1311           branchcode: ""
1312           name: "Suggestion accepted"
1313           is_html: 0
1314           title: "Purchase suggestion accepted"
1315           message_transport_type: email
1316           lang: default
1317           content:
1318             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1319             - ""
1320             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1321             - ""
1322             - "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."
1323             - ""
1324             - "If you have any questions, please email us at <<branches.branchemail>>."
1325             - ""
1326             - "Thank you,"
1327             - ""
1328             - "<<branches.branchname>>"
1329
1330         - module: suggestions
1331           code: AVAILABLE
1332           branchcode: ""
1333           name: "Suggestion available"
1334           is_html: 0
1335           title: "Suggested purchase available"
1336           message_transport_type: email
1337           lang: default
1338           content:
1339             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1340             - ""
1341             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1342             - ""
1343             - "We are pleased to inform you that the item you requested is now part of the collection."
1344             - ""
1345             - "If you have any questions, please email us at <<branches.branchemail>>."
1346             - ""
1347             - "Thank you,"
1348             - ""
1349             - "<<branches.branchname>>"
1350
1351         - module: suggestions
1352           code: NEW_SUGGESTION
1353           branchcode: ""
1354           name: "New suggestion"
1355           is_html: 1
1356           title: "New suggestion"
1357           message_transport_type: email
1358           lang: default
1359           content:
1360             - "<h3>Suggestion pendin    g approval</h3>"
1361             - "    <p><h4>Suggested by</h4>"
1362             - "    <ul>"
1363             - "    <li><<borrowers.firstname>> <<borrowers.surname>></li>"
1364             - "    <li><<borrowers.cardnumber>></li>"
1365             - "    <li><<borrowers.phone>></li>"
1366             - "    <li><<borrowers.email>></li>"
1367             - "    </ul>"
1368             - "    </p>"
1369             - "    <p><h4>Title suggested</h4>"
1370             - "    <ul>"
1371             - "    <li><b>Library:</b> <<branches.branchname>></li>"
1372             - "    <li><b>Title:</b> <<suggestions.title>></li>"
1373             - "    <li><b>Author:</b> <<suggestions.author>></li>"
1374             - "    <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>"
1375             - "    <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>"
1376             - "    <li><b>Publisher:</b> <<suggestions.publishercode>></li>"
1377             - "    <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>"
1378             - "    <li><b>Publication place:</b> <<suggestions.place>></li>"
1379             - "    <li><b>Quantity:</b> <<suggestions.quantity>></li>"
1380             - "    <li><b>Item type:</b>  <<suggestions.itemtype>></li>"
1381             - "    <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>"
1382             - "    <li><b>Notes:</b> <<suggestions.note>></li>"
1383             - "    </ul>"
1384             - "    </p>"
1385
1386         - module: suggestions
1387           code: ORDERED
1388           branchcode: ""
1389           name: "Suggestion ordered"
1390           is_html: 0
1391           title: "Suggested item ordered"
1392           message_transport_type: email
1393           lang: default
1394           content:
1395             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1396             - ""
1397             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1398             - ""
1399             - "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."
1400             - ""
1401             - "You will be notified again when the book is available."
1402             - ""
1403             - "If you have any questions, please email us at <<branches.branchemail>>"
1404             - ""
1405             - "Thank you,"
1406             - ""
1407             - "<<branches.branchname>>"
1408
1409         - module: suggestions
1410           code: REJECTED
1411           branchcode: ""
1412           name: "Suggestion rejected"
1413           is_html: 0
1414           title: "Purchase suggestion declined"
1415           message_transport_type: email
1416           lang: default
1417           content:
1418             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1419             - ""
1420             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1421             - ""
1422             - "The library has reviewed your request today, and has decided not to accept the suggestion at this time."
1423             - ""
1424             - "The reason given is: <<suggestions.reason>>"
1425             - ""
1426             - "If you have any questions, please email us at <<branches.branchemail>>."
1427             - ""
1428             - "Thank you,"
1429             - ""
1430             - "<<branches.branchname>>"
1431
1432         - module: suggestions
1433           code: TO_PROCESS
1434           branchcode: ""
1435           name: "Notify fund owner"
1436           is_html: 0
1437           title: "A suggestion is ready to be processed"
1438           message_transport_type: email
1439           lang: default
1440           content:
1441             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1442             - ""
1443             - "A new suggestion is ready to be processed: <<suggestions.title>> by <<suggestions.author>>."
1444             - ""
1445             - "Thank you,"
1446             - ""
1447             - "<<branches.branchname>>"
1448
1449         - module: suggestions
1450           code: NOTIFY_MANAGER
1451           branchcode: ""
1452           name: "Notify manager of a suggestion"
1453           is_html: 0
1454           title: "A suggestion has been assigned to you"
1455           message_transport_type: email
1456           lang: default
1457           content:
1458             - "Dear [% borrower.firstname %] [% borrowers.surname %],"
1459             - ""
1460             - "A new suggestion has been assigned to you: [% suggestion.title %]."
1461             - ""
1462             - "Thank you,"
1463             - ""
1464             - "[% branch.branchname %]"
1465
1466         - module: members
1467           code: PROBLEM_REPORT
1468           branchcode: ""
1469           name: "OPAC problem report"
1470           is_html: 0
1471           title: "OPAC problem report"
1472           message_transport_type: email
1473           lang: default
1474           content:
1475             - "Username: <<problem_reports.username>>"
1476             - ""
1477             - "Problem page: <<problem_reports.problempage>>"
1478             - ""
1479             - "Title: <<problem_reports.title>>"
1480             - ""
1481             - "Message: <<problem_reports.content>>"
1482
1483         - module: circulation
1484           code: AUTO_RENEWALS
1485           branchcode: ""
1486           name: "Notification of automatic renewal"
1487           is_html: 0
1488           title: "Automatic renewal notice"
1489           message_transport_type: email
1490           lang: default
1491           content:
1492             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1493             - "[% IF checkout.auto_renew_error %]"
1494             - "The following item, [% biblio.title %], has not been renewed because:"
1495             - "[% IF checkout.auto_renew_error == 'too_many' %]"
1496             - "You have reached the maximum number of checkouts possible."
1497             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
1498             - "This item is on hold for another patron."
1499             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
1500             - "You are currently restricted."
1501             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
1502             - "You have overdue items."
1503             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
1504             - "It's too late to renew this item."
1505             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
1506             - "Your total unpaid fines are too high."
1507             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
1508             - "This item must be renewed at the library."
1509             - "[% END %]"
1510             - "[% ELSE %]"
1511             - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
1512             - "[% END %]"
1513
1514         - module: circulation
1515           code: CHECKINSLIP
1516           branchcode: ""
1517           name: "Checkin slip"
1518           is_html: 1
1519           title: "Checkin slip"
1520           message_transport_type: print
1521           lang: default
1522           content:
1523             - "<h3>[% branch.branchname %]</h3>"
1524             - "Checked in items for [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br />"
1525             - "([% borrower.cardnumber %]) <br />"
1526             - ""
1527             - "[% today | $KohaDates %]<br />"
1528             - ""
1529             - "<h4>Checked in today</h4>"
1530             - "[% FOREACH checkin IN old_checkouts %]"
1531             - "[% SET item = checkin.item %]"
1532             - "<p>"
1533             - "[% item.biblio.title %] <br />"
1534             - "Barcode: [% item.barcode %] <br />"
1535             - "</p>"
1536             - "[% END %]"
1537
1538         - module: circulation
1539           code: AUTO_RENEWALS_DGST
1540           branchcode: ""
1541           name: "Notification on auto renewals"
1542           is_html: 0
1543           title: "Auto renewals (Digest)"
1544           message_transport_type: email
1545           lang: default
1546           content:
1547             - "Dear [% borrower.firstname %] [% borrower.surname %],"
1548             - "[% IF error %]"
1549             - "There were [% error %] items that were not renewed."
1550             - "[% END %]"
1551             - "[% IF success %]"
1552             - "There were [% success %] items that were renewed."
1553             - "[% END %]"
1554             - "[% FOREACH checkout IN checkouts %]"
1555             - "[% checkout.item.biblio.title %] : [% checkout.item.barcode %]"
1556             - "[% IF !checkout.auto_renew_error %]"
1557             - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
1558             - "[% ELSIF checkout.auto_renew_error == 'too_many' %]"
1559             - "You have reached the maximum number of checkouts possible."
1560             - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
1561             - "This item is on hold for another patron."
1562             - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
1563             - "You are currently restricted."
1564             - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
1565             - "You have overdue items."
1566             - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
1567             - "It's too late to renew this item."
1568             - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
1569             - "Your total unpaid fines are too high."
1570             - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
1571             - "This item must be renewed at the library."
1572             - "[% END %]"
1573             - "[% END %]"