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