Bug 23590: Create a separate template notice NOTIFY_MANAGER
[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: 0
51           title: "Account payment"
52           message_transport_type: print
53           lang: default
54           content:
55             - "<table>"
56             - "[% IF ( LibraryName ) %]"
57             - " <tr>"
58             - "    <th colspan=\"4\" class=\"centerednames\">"
59             - "        <h3>[% LibraryName | html %]</h3>"
60             - "    </th>"
61             - " </tr>"
62             - "[% END %]"
63             - " <tr>"
64             - "    <th colspan=\"4\" class=\"centerednames\">"
65             - "        <h2><u>Fee receipt</u></h2>"
66             - "    </th>"
67             - " </tr>"
68             - " <tr>"
69             - "    <th colspan=\"4\" class=\"centerednames\">"
70             - "        <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>"
71             - "    </th>"
72             - " </tr>"
73             - " <tr>"
74             - "    <th colspan=\"4\">"
75             - "        Received with thanks from  [% patron.firstname | html %] [% patron.surname | html %] <br />"
76             - "        Card number: [% patron.cardnumber | html %]<br />"
77             - "    </th>"
78             - " </tr>"
79             - "  <tr>"
80             - "    <th>Date</th>"
81             - "    <th>Description of charges</th>"
82             - "    <th>Note</th>"
83             - "    <th>Amount</th>"
84             - " </tr>"
85             - ""
86             - "  [% FOREACH account IN accounts %]"
87             - "    <tr class=\"highlight\">"
88             - "      <td>[% account.date | $KohaDates %]</td>"
89             - "      <td>"
90             - "        [% PROCESS account_type_description account=account %]"
91             - "        [%- IF account.description %], [% account.description | html %][% END %]"
92             - "      </td>"
93             - "      <td>[% account.note | html %]</td>"
94             - "      [% IF ( account.amountcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amount | $Price %]</td>"
95             - "    </tr>"
96             - ""
97             - "  [% END %]"
98             - "<tfoot>"
99             - "  <tr>"
100             - "    <td colspan=\"3\">Total outstanding dues as on date: </td>"
101             - "    [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $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: 0
111           title: "Account fee"
112           message_transport_type: print
113           lang: default
114           content:
115             - "<table>"
116             - "  [% IF ( LibraryName ) %]"
117             - "    <tr>"
118             - "      <th colspan=\"5\" class=\"centerednames\">"
119             - "        <h3>[% LibraryName | html %]</h3>"
120             - "      </th>"
121             - "    </tr>"
122             - "  [% END %]"
123             - ""
124             - "  <tr>"
125             - "    <th colspan=\"5\" class=\"centerednames\">"
126             - "      <h2><u>INVOICE</u></h2>"
127             - "    </th>"
128             - "  </tr>"
129             - "  <tr>"
130             - "    <th colspan=\"5\" class=\"centerednames\">"
131             - "      <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>"
132             - "    </th>"
133             - "  </tr>"
134             - "  <tr>"
135             - "    <th colspan=\"5\" >"
136             - "      Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br />"
137             - "      Card number: [% patron.cardnumber | html %]<br />"
138             - "    </th>"
139             - "  </tr>"
140             - "  <tr>"
141             - "    <th>Date</th>"
142             - "    <th>Description of charges</th>"
143             - "    <th>Note</th>"
144             - "    <th style=\"text-align:right;\">Amount</th>"
145             - "    <th style=\"text-align:right;\">Amount outstanding</th>"
146             - "  </tr>"
147             - ""
148             - "  [% FOREACH account IN accounts %]"
149             - "    <tr class=\"highlight\">"
150             - "      <td>[% account.date | $KohaDates%]</td>"
151             - "      <td>"
152             - "        [% PROCESS account_type_description account=account %]"
153             - "        [%- IF account.description %], [% account.description | html %][% END %]"
154             - "      </td>"
155             - "      <td>[% account.note | html %]</td>"
156             - "      [% IF ( account.amountcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amount | $Price %]</td>"
157             - "      [% IF ( account.amountoutstandingcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amountoutstanding | $Price %]</td>"
158             - "    </tr>"
159             - "  [% END %]"
160             - ""
161             - "  <tfoot>"
162             - "    <tr>"
163             - "      <td colspan=\"4\">Total outstanding dues as on date: </td>"
164             - "      [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $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             - "You have <<count>> items due"
405
406         - module: circulation
407           code: HOLD_SLIP
408           branchcode: ""
409           name: "Hold Slip"
410           is_html: 1
411           title: "Hold Slip"
412           message_transport_type: email
413           lang: default
414           content:
415             - "<h5>Date: <<today>></h5>"
416             - ""
417             - "<h3> Transfer to/Hold in <<branches.branchname>></h3>"
418             - ""
419             - "<h3><<borrowers.surname>>, <<borrowers.firstname>></h3>"
420             - ""
421             - "<ul>"
422             - "    <li><<borrowers.cardnumber>></li>"
423             - "    <li><<borrowers.phone>></li>"
424             - "    <li> <<borrowers.address>><br />"
425             - "         <<borrowers.address2>><br />"
426             - "         <<borrowers.city >>  <<borrowers.zipcode>>"
427             - "    </li>"
428             - "    <li><<borrowers.email>></li>"
429             - "</ul>"
430             - "<br />"
431             - "<h3>ITEM ON HOLD</h3>"
432             - "<h4><<biblio.title>></h4>"
433             - "<h5><<biblio.author>></h5>"
434             - "<ul>"
435             - "   <li><<items.barcode>></li>"
436             - "   <li><<items.itemcallnumber>></li>"
437             - "   <li><<reserves.waitingdate>></li>"
438             - "</ul>"
439             - "<p>Notes:"
440             - "<pre><<reserves.reservenotes>></pre>"
441             - "</p>"
442             - ""
443
444         - module: circulation
445           code: ISSUEQSLIP
446           branchcode: ""
447           name: "Issue Quick Slip"
448           is_html: 1
449           title: "Issue Quick Slip"
450           message_transport_type: email
451           lang: default
452           content:
453             - "<h3><<branches.branchname>></h3>"
454             - "Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />"
455             - "(<<borrowers.cardnumber>>) <br />"
456             - ""
457             - "<<today>><br />"
458             - ""
459             - "<h4>Checked Out Today</h4>"
460             - "<checkedout>"
461             - "<p>"
462             - "<<biblio.title>> <br />"
463             - "Barcode: <<items.barcode>><br />"
464             - "Date due: <<issues.date_due>><br />"
465             - "</p>"
466             - "</checkedout>"
467
468         - module: circulation
469           code: ISSUESLIP
470           branchcode: ""
471           name: "Issue Slip"
472           is_html: 1
473           title: "Issue Slip"
474           message_transport_type: email
475           lang: default
476           content:
477             - "<h3><<branches.branchname>></h3>"
478             - "Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />"
479             - "(<<borrowers.cardnumber>>) <br />"
480             - ""
481             - "<<today>><br />"
482             - ""
483             - "<h4>Checked Out</h4>"
484             - "<checkedout>"
485             - "<p>"
486             - "<<biblio.title>> <br />"
487             - "Barcode: <<items.barcode>><br />"
488             - "Date due: <<issues.date_due>><br />"
489             - "</p>"
490             - "</checkedout>"
491             - ""
492             - "<h4>Overdues</h4>"
493             - "<overdue>"
494             - "<p>"
495             - "<<biblio.title>> <br />"
496             - "Barcode: <<items.barcode>><br />"
497             - "Date due: <<issues.date_due>><br />"
498             - "</p>"
499             - "</overdue>"
500             - ""
501             - "<hr>"
502             - ""
503             - "<h4 style=\"text-align: center; font-style:italic;\">News</h4>"
504             - "<news>"
505             - "<div class=\"newsitem\">"
506             - "<h5 style=\"margin-bottom: 1px; margin-top: 1px\"><b><<opac_news.title>></b></h5>"
507             - "<p style=\"margin-bottom: 1px; margin-top: 1px\"><<opac_news.content>></p>"
508             - "<p class=\"newsfooter\" style=\"font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px\">Posted on <<opac_news.timestamp>></p>"
509             - "<hr />"
510             - "</div>"
511             - "</news>"
512
513         - module: circulation
514           code: ODUE
515           branchcode: ""
516           name: "Overdue Notice"
517           is_html: 0
518           title: "Item Overdue"
519           message_transport_type: email
520           lang: default
521           content:
522             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
523             - ""
524             - "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."
525             - ""
526             - "<<branches.branchname>>"
527             - "<<branches.branchaddress1>>"
528             - "<<branches.branchaddress2>> <<branches.branchaddress3>>"
529             - "Phone: <<branches.branchphone>>"
530             - "Fax: <<branches.branchfax>>"
531             - "Email: <<branches.branchemail>>"
532             - ""
533             - "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."
534             - ""
535             - "The following item(s) is/are currently overdue:"
536             - ""
537             - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>"
538             - ""
539             - "Thank-you for your prompt attention to this matter."
540             - ""
541             - "<<branches.branchname>> Staff"
542             - ""
543
544         - module: circulation
545           code: OVERDUES_SLIP
546           branchcode: ""
547           name: "Overdues Slip"
548           is_html: 0
549           title: "OVERDUES_SLIP"
550           message_transport_type: print
551           lang: default
552           content:
553             - "The following item(s) is/are currently overdue:"
554             - ""
555             - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>"
556             - ""
557
558         - module: circulation
559           code: PREDUE
560           branchcode: ""
561           name: "Advance Notice of Item Due"
562           is_html: 0
563           title: "Advance Notice of Item Due"
564           message_transport_type: email
565           lang: default
566           content:
567             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
568             - ""
569             - "The following item will be due soon:"
570             - ""
571             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
572
573         - module: circulation
574           code: PREDUEDGST
575           branchcode: ""
576           name: "Advance Notice of Item Due (Digest)"
577           is_html: 0
578           title: "Advance Notice of Item Due"
579           message_transport_type: email
580           lang: default
581           content:
582             - "You have <<count>> items due soon"
583
584         - module: circulation
585           code: RENEWAL
586           branchcode: ""
587           name: "Item Renewals"
588           is_html: 0
589           title: "Item Renewals"
590           message_transport_type: email
591           lang: default
592           content:
593             - "The following items have been renewed:"
594             - "----"
595             - "<<biblio.title>>"
596             - "----"
597             - "Thank you for visiting <<branches.branchname>>."
598
599         - module: circulation
600           code: SR_SLIP
601           branchcode: ""
602           name: "Stock rotation slip"
603           is_html: 0
604           title: "Stock rotation report"
605           message_transport_type: email
606           lang: default
607           content:
608             - "Stock rotation report for [% branch.name %]:"
609             - ""
610             - "[% IF branch.items.size %][% branch.items.size %] items to be processed for this branch."
611             - "[% ELSE %]No items to be processed for this branch"
612             - "[% END %][% FOREACH item IN branch.items %][% IF item.reason != 'in-demand' %]Title: [% item.title %]"
613             - "Author: [% item.author %]"
614             - "Callnumber: [% item.callnumber %]"
615             - "Location: [% item.location %]"
616             - "Barcode: [% item.barcode %]"
617             - "On loan?: [% item.onloan %]"
618             - "Status: [% item.reason %]"
619             - "Current library: [% item.branch.branchname %] [% item.branch.branchcode %]"
620             - ""
621             - "[% END %][% END %]"
622
623         - module: circulation
624           code: TRANSFERSLIP
625           branchcode: ""
626           name: "Transfer Slip"
627           is_html: 1
628           title: "Transfer Slip"
629           message_transport_type: email
630           lang: default
631           content:
632             - "<h5>Date: <<today>></h5>"
633             - ""
634             - "<h3>Transfer to <<branches.branchname>></h3>"
635             - ""
636             - "<h3>ITEM</h3>"
637             - "<h4><<biblio.title>></h4>"
638             - "<h5><<biblio.author>></h5>"
639             - "<ul>"
640             - "   <li><<items.barcode>></li>"
641             - "   <li><<items.itemcallnumber>></li>"
642             - "</ul>"
643
644         - module: claimacquisition
645           code: ACQCLAIM
646           branchcode: ""
647           name: "Acquisition Claim"
648           is_html: 0
649           title: "Item Not Received"
650           message_transport_type: email
651           lang: default
652           content:
653             - "<<aqbooksellers.name>>"
654             - "<<aqbooksellers.address1>>"
655             - "<<aqbooksellers.address2>>"
656             - "<<aqbooksellers.address3>>"
657             - "<<aqbooksellers.address4>>"
658             - "<<aqbooksellers.phone>>"
659             - ""
660             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (<<aqorders.quantity>> ordered) ($<<aqorders.listprice>> each) has not been received.</order>"
661
662         - module: members
663           code: ACCTDETAILS
664           branchcode: ""
665           name: "Account Details Template - DEFAULT"
666           is_html: 0
667           title: "Your new Koha account details."
668           message_transport_type: email
669           lang: default
670           content:
671             - "Hello <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>."
672             - ""
673             - "Your new Koha account details are:"
674             - ""
675             - "User:  <<borrowers.userid>>"
676             - "Password: <<borrowers.password>>"
677             - ""
678             - "If you have any problems or questions regarding your account, please contact your Koha Administrator."
679             - ""
680             - "Thank you,"
681             - "Koha Administrator"
682             - "kohaadmin@yoursite.org"
683
684         - module: members
685           code: DISCHARGE
686           branchcode: ""
687           name: "Discharge confirmation"
688           is_html: 1
689           title: "Discharge for <<borrowers.firstname>> <<borrowers.surname>>"
690           message_transport_type: email
691           lang: default
692           content:
693             - ""
694             - "<<today>>"
695             - "<h1>Discharge confirmation</h1>"
696             - "<p><<branches.branchname>> certifies that the following borrower:<br>"
697             - "<<borrowers.firstname>> <<borrowers.surname>> (cardnumber: <<borrowers.cardnumber>>)<br>"
698             - "has returned all items.</p>"
699
700         - module: members
701           code: MEMBERSHIP_EXPIRY
702           branchcode: ""
703           name: "Account expiration"
704           is_html: 0
705           title: "Account expiration"
706           message_transport_type: email
707           lang: default
708           content:
709             - "Dear <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>,"
710             - ""
711             - "Your library card will expire soon, on:"
712             - ""
713             - "<<borrowers.dateexpiry>>"
714             - ""
715             - "Thank you,"
716             - ""
717             - "Librarian"
718             - ""
719             - "<<branches.branchname>>"
720
721         - module: members
722           code: OPAC_REG_VERIFY
723           branchcode: ""
724           name: "Opac Self-Registration Verification Email"
725           is_html: 1
726           title: "Verify Your Account"
727           message_transport_type: email
728           lang: default
729           content:
730             - "Hello!"
731             - ""
732             - "Your library account has been created. Please verify your email address by clicking this link to complete the signup process:"
733             - ""
734             - "<<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower_modifications.verification_token>>"
735             - ""
736             - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
737
738         - module: members
739           code: PASSWORD_RESET
740           branchcode: ""
741           name: "Online password reset"
742           is_html: 1
743           title: "Koha password recovery"
744           message_transport_type: email
745           lang: default
746           content:
747             - "<html>"
748             - "<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>."
749             - "</p>"
750             - "<p>"
751             - "You can now create your new password using the following link:"
752             - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
753             - "</p>"
754             - "<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>"
755             - "<p>Thank you.</p>"
756             - "</html>"
757             - ""
758
759         - module: members
760           code: SHARE_ACCEPT
761           branchcode: ""
762           name: "Notification about an accepted share"
763           is_html: 0
764           title: "Share on list <<listname>> accepted"
765           message_transport_type: email
766           lang: default
767           content:
768             - "Dear patron,"
769             - ""
770             - "We want to inform you that <<borrowers.firstname>> <<borrowers.surname>> accepted your invitation to share your list <<listname>> in our library catalog."
771             - ""
772             - "Thank you."
773             - ""
774             - "Your library."
775
776         - module: members
777           code: SHARE_INVITE
778           branchcode: ""
779           name: "Invitation for sharing a list"
780           is_html: 0
781           title: "Share list <<listname>>"
782           message_transport_type: email
783           lang: default
784           content:
785             - "Dear patron,"
786             - ""
787             - "One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share a list <<listname>> in our library catalog."
788             - ""
789             - "To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar."
790             - ""
791             - "<<shareurl>>"
792             - ""
793             - "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."
794             - ""
795             - "Thank you."
796             - ""
797             - "Your library."
798
799         - module: orderacquisition
800           code: ACQORDER
801           branchcode: ""
802           name: "Acquisition order"
803           is_html: 0
804           title: "Order"
805           message_transport_type: email
806           lang: default
807           content:
808             - "<<aqbooksellers.name>>"
809             - "<<aqbooksellers.address1>>"
810             - "<<aqbooksellers.address2>>"
811             - "<<aqbooksellers.address3>>"
812             - "<<aqbooksellers.address4>>"
813             - "<<aqbooksellers.phone>>"
814             - ""
815             - "Please order for the library:"
816             - ""
817             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (quantity: <<aqorders.quantity>>) ($<<aqorders.listprice>> each).</order>"
818             - ""
819             - "Thank you,"
820             - ""
821             - "<<branches.branchname>>"
822
823         - module: pos
824           code: RECEIPT
825           branchcode: ""
826           name: "Point of sale receipt"
827           is_html: 0
828           title: "Receipt"
829           message_transport_type: print
830           lang: default
831           content:
832             - "[% PROCESS \"accounts.inc\" %]"
833             - "<table>"
834             - "[% IF ( LibraryName ) %]"
835             - " <tr>"
836             - "    <th colspan=\"2\" class=\"centerednames\">"
837             - "        <h3>[% LibraryName | html %]</h3>"
838             - "    </th>"
839             - " </tr>"
840             - "[% END %]"
841             - " <tr>"
842             - "    <th colspan=\"2\" class=\"centerednames\">"
843             - "        <h2>[% Branches.GetName( payment.branchcode ) | html %]</h2>"
844             - "    </th>"
845             - " </tr>"
846             - "<tr>"
847             - "    <th colspan=\"2\" class=\"centerednames\">"
848             - "        <h3>[% payment.date | $KohaDates %]</h3>"
849             - "</tr>"
850             - "<tr>"
851             - "  <td>Transaction ID: </td>"
852             - "  <td>[% payment.accountlines_id %]</td>"
853             - "</tr>"
854             - "<tr>"
855             - "  <td>Operator ID: </td>"
856             - "  <td>[% payment.manager_id %]</td>"
857             - "</tr>"
858             - "<tr>"
859             - "  <td>Payment type: </td>"
860             - "  <td>[% payment.payment_type %]</td>"
861             - "</tr>"
862             - " <tr></tr>"
863             - " <tr>"
864             - "    <th colspan=\"2\" class=\"centerednames\">"
865             - "        <h2><u>Fee receipt</u></h2>"
866             - "    </th>"
867             - " </tr>"
868             - " <tr></tr>"
869             - " <tr>"
870             - "    <th>Description of charges</th>"
871             - "    <th>Amount</th>"
872             - "  </tr>"
873             - ""
874             - "  [% FOREACH offset IN offsets %]"
875             - "    <tr>"
876             - "        <td>[% PROCESS account_type_description account=offset.debit %]</td>"
877             - "        <td>[% offset.amount * -1 | $Price %]</td>"
878             - "    </tr>"
879             - "  [% END %]"
880             - ""
881             - "<tfoot>"
882             - "  <tr class=\"highlight\">"
883             - "    <td>Total: </td>"
884             - "    <td>[% payment.amount * -1| $Price %]</td>"
885             - "  </tr>"
886             - "  <tr>"
887             - "    <td>Tendered: </td>"
888             - "    <td>[% collected | $Price %]</td>"
889             - "  </tr>"
890             - "  <tr>"
891             - "    <td>Change: </td>"
892             - "    <td>[% change | $Price %]</td>"
893             - "    </tr>"
894             - "</tfoot>"
895             - "</table>"
896
897         - module: reserves
898           code: CANCEL_HOLD_ON_LOST
899           branchcode: ""
900           name: "Hold has been cancelled"
901           is_html: 0
902           title: "Hold has been cancelled"
903           message_transport_type: email
904           lang: default
905           content:
906             - "Dear [% borrower.firstname %] [% borrower.surname %],"
907             - ""
908             - "We regret to inform you, that the following item can not be provided due to it being missing. Your hold was cancelled."
909             - ""
910             - "Title: [% biblio.title %]"
911             - "Author: [% biblio.author %]"
912             - "Copy: [% item.copynumber %]"
913             - "Location: [% branch.branchname %]"
914
915         - module: reserves
916           code: HOLD
917           branchcode: ""
918           name: "Hold Available for Pickup"
919           is_html: 0
920           title: "Hold Available for Pickup at <<branches.branchname>>"
921           message_transport_type: email
922           lang: default
923           content:
924             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
925             - ""
926             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
927             - ""
928             - "Title: <<biblio.title>>"
929             - "Author: <<biblio.author>>"
930             - "Copy: <<items.copynumber>>"
931             - "Location: <<branches.branchname>>"
932             - "<<branches.branchaddress1>>"
933             - "<<branches.branchaddress2>>"
934             - "<<branches.branchaddress3>>"
935             - "<<branches.branchcity>> <<branches.branchzip>>"
936
937         - module: reserves
938           code: HOLD
939           branchcode: ""
940           name: "Hold Available for Pickup"
941           is_html: 0
942           title: "Hold Available for Pickup (print notice)"
943           message_transport_type: print
944           lang: default
945           content:
946             - "<<branches.branchname>>"
947             - "<<branches.branchaddress1>>"
948             - "<<branches.branchaddress2>>"
949             - ""
950             - ""
951             - "Change Service Requested"
952             - ""
953             - ""
954             - ""
955             - ""
956             - ""
957             - ""
958             - ""
959             - "<<borrowers.firstname>> <<borrowers.surname>>"
960             - "<<borrowers.address>>"
961             - "<<borrowers.city>> <<borrowers.zipcode>>"
962             - ""
963             - ""
964             - ""
965             - ""
966             - ""
967             - ""
968             - ""
969             - ""
970             - ""
971             - ""
972             - "<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>"
973             - ""
974             - "You have a hold available for pickup as of <<reserves.waitingdate>>:"
975             - ""
976             - "Title: <<biblio.title>>"
977             - "Author: <<biblio.author>>"
978             - "Copy: <<items.copynumber>>"
979             - ""
980
981         - module: reserves
982           code: HOLDPLACED
983           branchcode: ""
984           name: "Hold Placed on Item"
985           is_html: 0
986           title: "Hold Placed on Item"
987           message_transport_type: email
988           lang: default
989           content:
990             - "A hold has been placed on the following item : <<biblio.title>> (<<biblio.biblionumber>>) by the user <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
991
992         - module: serial
993           code: SERIAL_ALERT
994           branchcode: ""
995           name: "New serial issue"
996           is_html: 0
997           title: "New serial issue is now available"
998           message_transport_type: email
999           lang: default
1000           content:
1001             - "<<borrowers.firstname>> <<borrowers.surname>>,"
1002             - ""
1003             - "The following issue is now available:"
1004             - ""
1005             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
1006             - ""
1007             - "Please pick it up at your convenience."
1008
1009         - module: suggestions
1010           code: ACCEPTED
1011           branchcode: ""
1012           name: "Suggestion accepted"
1013           is_html: 0
1014           title: "Purchase suggestion accepted"
1015           message_transport_type: email
1016           lang: default
1017           content:
1018             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1019             - ""
1020             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1021             - ""
1022             - "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."
1023             - ""
1024             - "If you have any questions, please email us at <<branches.branchemail>>."
1025             - ""
1026             - "Thank you,"
1027             - ""
1028             - "<<branches.branchname>>"
1029
1030         - module: suggestions
1031           code: AVAILABLE
1032           branchcode: ""
1033           name: "Suggestion available"
1034           is_html: 0
1035           title: "Suggested purchase available"
1036           message_transport_type: email
1037           lang: default
1038           content:
1039             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1040             - ""
1041             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1042             - ""
1043             - "We are pleased to inform you that the item you requested is now part of the collection."
1044             - ""
1045             - "If you have any questions, please email us at <<branches.branchemail>>."
1046             - ""
1047             - "Thank you,"
1048             - ""
1049             - "<<branches.branchname>>"
1050
1051         - module: suggestions
1052           code: NEW_SUGGESTION
1053           branchcode: ""
1054           name: "New suggestion"
1055           is_html: 1
1056           title: "New suggestion"
1057           message_transport_type: email
1058           lang: default
1059           content:
1060             - "<h3>Suggestion pendin    g approval</h3>"
1061             - "    <p><h4>Suggested by</h4>"
1062             - "    <ul>"
1063             - "    <li><<borrowers.firstname>> <<borrowers.surname>></li>"
1064             - "    <li><<borrowers.cardnumber>></li>"
1065             - "    <li><<borrowers.phone>></li>"
1066             - "    <li><<borrowers.email>></li>"
1067             - "    </ul>"
1068             - "    </p>"
1069             - "    <p><h4>Title suggested</h4>"
1070             - "    <ul>"
1071             - "    <li><b>Library:</b> <<branches.branchname>></li>"
1072             - "    <li><b>Title:</b> <<suggestions.title>></li>"
1073             - "    <li><b>Author:</b> <<suggestions.author>></li>"
1074             - "    <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>"
1075             - "    <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>"
1076             - "    <li><b>Publisher:</b> <<suggestions.publishercode>></li>"
1077             - "    <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>"
1078             - "    <li><b>Publication place:</b> <<suggestions.place>></li>"
1079             - "    <li><b>Quantity:</b> <<suggestions.quantity>></li>"
1080             - "    <li><b>Item type:</b>  <<suggestions.itemtype>></li>"
1081             - "    <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>"
1082             - "    <li><b>Notes:</b> <<suggestions.note>></li>"
1083             - "    </ul>"
1084             - "    </p>"
1085
1086         - module: suggestions
1087           code: ORDERED
1088           branchcode: ""
1089           name: "Suggestion ordered"
1090           is_html: 0
1091           title: "Suggested item ordered"
1092           message_transport_type: email
1093           lang: default
1094           content:
1095             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1096             - ""
1097             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1098             - ""
1099             - "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."
1100             - ""
1101             - "You will be notified again when the book is available."
1102             - ""
1103             - "If you have any questions, please email us at <<branches.branchemail>>"
1104             - ""
1105             - "Thank you,"
1106             - ""
1107             - "<<branches.branchname>>"
1108
1109         - module: suggestions
1110           code: REJECTED
1111           branchcode: ""
1112           name: "Suggestion rejected"
1113           is_html: 0
1114           title: "Purchase suggestion declined"
1115           message_transport_type: email
1116           lang: default
1117           content:
1118             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1119             - ""
1120             - "You have suggested that the library acquire <<suggestions.title>> by <<suggestions.author>>."
1121             - ""
1122             - "The library has reviewed your request today, and has decided not to accept the suggestion at this time."
1123             - ""
1124             - "The reason given is: <<suggestions.reason>>"
1125             - ""
1126             - "If you have any questions, please email us at <<branches.branchemail>>."
1127             - ""
1128             - "Thank you,"
1129             - ""
1130             - "<<branches.branchname>>"
1131
1132         - module: suggestions
1133           code: TO_PROCESS
1134           branchcode: ""
1135           name: "Notify fund owner"
1136           is_html: 0
1137           title: "A suggestion is ready to be processed"
1138           message_transport_type: email
1139           lang: default
1140           content:
1141             - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
1142             - ""
1143             - "A new suggestion is ready to be processed: <<suggestions.title>> by <<suggestions.author>>."
1144             - ""
1145             - "Thank you,"
1146             - ""
1147             - "<<branches.branchname>>"
1148
1149         - module: suggestions
1150           code: NOTIFY_MANAGER
1151           branchcode: ""
1152           name: "Notify manager of a suggestion"
1153           is_html: 0
1154           title: "A suggestion has been assigned to you"
1155           message_transport_type: email
1156           lang: default
1157           content:
1158             - "Dear [% borrower.firstname %] [% borrowers.surname %],"
1159             - ""
1160             - "A new suggestion has been assigned to you: [% suggestion.title %]."
1161             - ""
1162             - "Thank you,"
1163             - ""
1164             - "[% branch.branchname %]"