Bug 20472: Add format to sample notices
[srvgit] / installer / data / mysql / en / mandatory / sample_notices.yml
index ef74222..db40a3a 100644 (file)
@@ -4,19 +4,18 @@
 #
 #  This file is part of Koha.
 #
-#  Koha is free software; you can redistribute it and/or modify it under the
-#  terms of the GNU General Public License as published by the Free Software
-#  Foundation; either version 2 of the License, or (at your option) any later
-#  version.
+# Koha is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
 #
-#  Koha is distributed in the hope that it will be useful, but WITHOUT ANY
-#  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-#  A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License along
-#  with Koha; if not, write to the Free Software Foundation, Inc.,
-#  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# Koha is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
 #
+# You should have received a copy of the GNU General Public License
+# along with Koha; if not, see <http://www.gnu.org/licenses>.
 # *************************************************************
 #                       SAMPLE NOTICES
 # *************************************************************
@@ -48,58 +47,71 @@ tables:
           code: ACCOUNT_CREDIT
           branchcode: ""
           name: "Account payment"
-          is_html: 0
+          is_html: 1
           title: "Account payment"
           message_transport_type: print
           lang: default
           content:
+            - "[% USE Price %]"
+            - "[% PROCESS 'accounts.inc' %]"
             - "<table>"
             - "[% IF ( LibraryName ) %]"
             - " <tr>"
-            - "    <th colspan=\"4\" class=\"centerednames\">"
+            - "    <th colspan=\"5\" class=\"centerednames\">"
             - "        <h3>[% LibraryName | html %]</h3>"
             - "    </th>"
             - " </tr>"
             - "[% END %]"
             - " <tr>"
-            - "    <th colspan=\"4\" class=\"centerednames\">"
+            - "    <th colspan=\"5\" class=\"centerednames\">"
             - "        <h2><u>Fee receipt</u></h2>"
             - "    </th>"
             - " </tr>"
             - " <tr>"
-            - "    <th colspan=\"4\" class=\"centerednames\">"
-            - "        <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>"
+            - "    <th colspan=\"5\" class=\"centerednames\">"
+            - "        <h2>[% Branches.GetName( credit.patron.branchcode ) | html %]</h2>"
             - "    </th>"
             - " </tr>"
             - " <tr>"
-            - "    <th colspan=\"4\">"
-            - "        Received with thanks from  [% patron.firstname | html %] [% patron.surname | html %] <br />"
-            - "        Card number: [% patron.cardnumber | html %]<br />"
+            - "    <th colspan=\"5\">"
+            - "        Received with thanks from  [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />"
+            - "        Card number: [% credit.patron.cardnumber | html %]<br />"
             - "    </th>"
             - " </tr>"
             - "  <tr>"
-            - "    <th>Date</th>"
+            - "    <th>Created</th>"
+            - "    <th>Updated</th>"
             - "    <th>Description of charges</th>"
             - "    <th>Note</th>"
             - "    <th>Amount</th>"
             - " </tr>"
             - ""
-            - "  [% FOREACH account IN accounts %]"
-            - "    <tr class=\"highlight\">"
-            - "      <td>[% account.date | $KohaDates %]</td>"
-            - "      <td>"
-            - "        [% PROCESS account_type_description account=account %]"
-            - "        [%- IF account.description %], [% account.description | html %][% END %]"
-            - "      </td>"
-            - "      <td>[% account.note | html %]</td>"
-            - "      [% IF ( account.amountcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amount | $Price %]</td>"
-            - "    </tr>"
+            - " <tr class=\"highlight\">"
+            - "    <td>[% credit.date | $KohaDates %]</td>"
+            - "    <td>[% credit.timestamp | $KohaDates with_hours = 1 %]</td>"
+            - "    <td>"
+            - "      [% PROCESS account_type_description account=credit %]"
+            - "      [%- IF credit.description %], [% credit.description | html %][% END %]"
+            - "    </td>"
+            - "    <td>[% credit.note | html %]</td>"
+            - "    <td class=\"credit\">[% credit.amount | $Price %]</td>"
+            - " </tr>"
+            - ""
+            - "[% IF ( tendered ) %]"
+            - "  <tr>"
+            - "    <td colspan=\"3\">Amount tendered: </td>"
+            - "    <td>[% tendered | $Price %]</td>"
+            - "  </tr>"
+            - "  <tr>"
+            - "    <td colspan=\"3\">Change given: </td>"
+            - "    <td>[% change | $Price %]</td>"
+            - "  </tr>"
+            - "[% END %]"
             - ""
-            - "  [% END %]"
             - "<tfoot>"
             - "  <tr>"
-            - "    <td colspan=\"3\">Total outstanding dues as on date: </td>"
-            - "    [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $Price %]</td>"
+            - "    <td colspan=\"4\">Total outstanding dues as on date: </td>"
+            - "    [% IF ( credit.patron.account.balance >= 0 ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% credit.patron.account.balance | $Price %]</td>"
             - "  </tr>"
             - "</tfoot>"
             - "</table>"
@@ -108,60 +120,62 @@ tables:
           code: ACCOUNT_DEBIT
           branchcode: ""
           name: "Account fee"
-          is_html: 0
+          is_html: 1
           title: "Account fee"
           message_transport_type: print
           lang: default
           content:
+            - "[% USE Price %]"
+            - "[% PROCESS 'accounts.inc' %]"
             - "<table>"
             - "  [% IF ( LibraryName ) %]"
             - "    <tr>"
-            - "      <th colspan=\"5\" class=\"centerednames\">"
+            - "      <th colspan=\"6\" class=\"centerednames\">"
             - "        <h3>[% LibraryName | html %]</h3>"
             - "      </th>"
             - "    </tr>"
             - "  [% END %]"
             - ""
             - "  <tr>"
-            - "    <th colspan=\"5\" class=\"centerednames\">"
+            - "    <th colspan=\"6\" class=\"centerednames\">"
             - "      <h2><u>INVOICE</u></h2>"
             - "    </th>"
             - "  </tr>"
             - "  <tr>"
-            - "    <th colspan=\"5\" class=\"centerednames\">"
-            - "      <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>"
+            - "    <th colspan=\"6\" class=\"centerednames\">"
+            - "      <h2>[% Branches.GetName( debit.patron.branchcode ) | html %]</h2>"
             - "    </th>"
             - "  </tr>"
             - "  <tr>"
-            - "    <th colspan=\"5\" >"
-            - "      Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br />"
-            - "      Card number: [% patron.cardnumber | html %]<br />"
+            - "    <th colspan=\"6\" >"
+            - "      Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />"
+            - "      Card number: [% debit.patron.cardnumber | html %]<br />"
             - "    </th>"
             - "  </tr>"
             - "  <tr>"
-            - "    <th>Date</th>"
+            - "    <th>Created</th>"
+            - "    <th>Updated</th>"
             - "    <th>Description of charges</th>"
             - "    <th>Note</th>"
             - "    <th style=\"text-align:right;\">Amount</th>"
             - "    <th style=\"text-align:right;\">Amount outstanding</th>"
             - "  </tr>"
             - ""
-            - "  [% FOREACH account IN accounts %]"
-            - "    <tr class=\"highlight\">"
-            - "      <td>[% account.date | $KohaDates%]</td>"
-            - "      <td>"
-            - "        [% PROCESS account_type_description account=account %]"
-            - "        [%- IF account.description %], [% account.description | html %][% END %]"
-            - "      </td>"
-            - "      <td>[% account.note | html %]</td>"
-            - "      [% IF ( account.amountcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amount | $Price %]</td>"
-            - "      [% IF ( account.amountoutstandingcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amountoutstanding | $Price %]</td>"
-            - "    </tr>"
-            - "  [% END %]"
+            - "  <tr class=\"highlight\">"
+            - "    <td>[% debit.date | $KohaDates%]</td>"
+            - "    <td>[% debit.timestamp | $KohaDates with_hours = 1 %]</td>"
+            - "    <td>"
+            - "      [% PROCESS account_type_description account=debit %]"
+            - "      [%- IF debit.description %], [% debit.description | html %][% END %]"
+            - "    </td>"
+            - "    <td>[% debit.note | html %]</td>"
+            - "    <td class=\"debit\">[% debit.amount | $Price %]</td>"
+            - "    <td class=\"debit\">[% debit.amountoutstanding | $Price %]</td>"
+            - "  </tr>"
             - ""
             - "  <tfoot>"
             - "    <tr>"
-            - "      <td colspan=\"4\">Total outstanding dues as on date: </td>"
+            - "      <td colspan=\"5\">Total outstanding dues as on date: </td>"
             - "      [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $Price %]</td>"
             - "    </tr>"
             - "  </tfoot>"
@@ -229,6 +243,7 @@ tables:
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
+            - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
             - ""
             - "Your library"
 
@@ -254,8 +269,9 @@ tables:
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
+            - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
             - ""
-            - "You may pick your article up at <<branches.branchname>>."
+            - "[% IF article_request.format == 'PHOTOCOPY' %]You may pick up your article at [% branch.branchname %].[% ELSIF article_request.format == 'SCAN' %]You can download the scanned materials via the following url(s): [% article_request.urls %].[% END %]"
             - ""
             - "Thank you!"
 
@@ -281,7 +297,7 @@ tables:
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
-            - ""
+            - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
             - ""
             - "Thank you!"
 
@@ -307,6 +323,7 @@ tables:
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
+            - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
             - ""
             - "Thank you!"
 
@@ -335,12 +352,13 @@ tables:
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
+            - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
             - ""
 
         - module: circulation
           code: CHECKIN
           branchcode: ""
-          name: "Item Check-in (Digest)"
+          name: "Item check-in (digest)"
           is_html: 0
           title: "Check-ins"
           message_transport_type: email
@@ -355,7 +373,7 @@ tables:
         - module: circulation
           code: CHECKOUT
           branchcode: ""
-          name: "Item Check-out (Digest)"
+          name: "Item check-out (digest)"
           is_html: 0
           title: "Checkouts"
           message_transport_type: email
@@ -381,9 +399,9 @@ tables:
         - module: circulation
           code: DUE
           branchcode: ""
-          name: "Item Due Reminder"
+          name: "Item due reminder"
           is_html: 0
-          title: "Item Due Reminder"
+          title: "Item due reminder"
           message_transport_type: email
           lang: default
           content:
@@ -396,20 +414,26 @@ tables:
         - module: circulation
           code: DUEDGST
           branchcode: ""
-          name: "Item Due Reminder (Digest)"
+          name: "Item due reminder (digest)"
           is_html: 0
-          title: "Item Due Reminder"
+          title: "Item due reminder"
           message_transport_type: email
           lang: default
           content:
-            - "You have <<count>> items due"
+            - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
+            - ""
+            - "The following item(s) are now due:"
+            - ""
+            - "<<items.content>>"
+            - ""
+            - "Thank you."
 
         - module: circulation
           code: HOLD_SLIP
           branchcode: ""
-          name: "Hold Slip"
+          name: "Hold slip"
           is_html: 1
-          title: "Hold Slip"
+          title: "Hold slip"
           message_transport_type: email
           lang: default
           content:
@@ -445,9 +469,9 @@ tables:
         - module: circulation
           code: ISSUEQSLIP
           branchcode: ""
-          name: "Issue Quick Slip"
+          name: "Issue quick slip"
           is_html: 1
-          title: "Issue Quick Slip"
+          title: "Issue quick slip"
           message_transport_type: email
           lang: default
           content:
@@ -457,7 +481,7 @@ tables:
             - ""
             - "<<today>><br />"
             - ""
-            - "<h4>Checked Out Today</h4>"
+            - "<h4>Checked out today</h4>"
             - "<checkedout>"
             - "<p>"
             - "<<biblio.title>> <br />"
@@ -469,9 +493,9 @@ tables:
         - module: circulation
           code: ISSUESLIP
           branchcode: ""
-          name: "Issue Slip"
+          name: "Issue slip"
           is_html: 1
-          title: "Issue Slip"
+          title: "Issue slip"
           message_transport_type: email
           lang: default
           content:
@@ -481,7 +505,7 @@ tables:
             - ""
             - "<<today>><br />"
             - ""
-            - "<h4>Checked Out</h4>"
+            - "<h4>Checked out</h4>"
             - "<checkedout>"
             - "<p>"
             - "<<biblio.title>> <br />"
@@ -506,7 +530,7 @@ tables:
             - "<div class=\"newsitem\">"
             - "<h5 style=\"margin-bottom: 1px; margin-top: 1px\"><b><<opac_news.title>></b></h5>"
             - "<p style=\"margin-bottom: 1px; margin-top: 1px\"><<opac_news.content>></p>"
-            - "<p class=\"newsfooter\" style=\"font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px\">Posted on <<opac_news.timestamp>></p>"
+            - "<p class=\"newsfooter\" style=\"font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px\">Posted on <<opac_news.published_on>></p>"
             - "<hr />"
             - "</div>"
             - "</news>"
@@ -514,9 +538,9 @@ tables:
         - module: circulation
           code: ODUE
           branchcode: ""
-          name: "Overdue Notice"
+          name: "Overdue notice"
           is_html: 0
-          title: "Item Overdue"
+          title: "Item overdue"
           message_transport_type: email
           lang: default
           content:
@@ -545,9 +569,9 @@ tables:
         - module: circulation
           code: OVERDUES_SLIP
           branchcode: ""
-          name: "Overdues Slip"
+          name: "Overdues slip"
           is_html: 0
-          title: "OVERDUES_SLIP"
+          title: "Overdues slip"
           message_transport_type: print
           lang: default
           content:
@@ -559,9 +583,9 @@ tables:
         - module: circulation
           code: PREDUE
           branchcode: ""
-          name: "Advance Notice of Item Due"
+          name: "Advance notice of item due"
           is_html: 0
-          title: "Advance Notice of Item Due"
+          title: "Advance notice of item due"
           message_transport_type: email
           lang: default
           content:
@@ -574,20 +598,26 @@ tables:
         - module: circulation
           code: PREDUEDGST
           branchcode: ""
-          name: "Advance Notice of Item Due (Digest)"
+          name: "Advance notice of item due (digest)"
           is_html: 0
-          title: "Advance Notice of Item Due"
+          title: "Advance notice of item due"
           message_transport_type: email
           lang: default
           content:
-            - "You have <<count>> items due soon"
+            - "Dear <<borrowers.firstname>> <<borrowers.surname>>,"
+            - ""
+            - "The following item(s) will be due soon:"
+            - ""
+            - "<<items.content>>"
+            - ""
+            - "Thank you."
 
         - module: circulation
           code: RENEWAL
           branchcode: ""
-          name: "Item Renewals"
+          name: "Item renewals"
           is_html: 0
-          title: "Item Renewals"
+          title: "Item renewals"
           message_transport_type: email
           lang: default
           content:
@@ -612,7 +642,7 @@ tables:
             - "[% ELSE %]No items to be processed for this branch"
             - "[% END %][% FOREACH item IN branch.items %][% IF item.reason != 'in-demand' %]Title: [% item.title %]"
             - "Author: [% item.author %]"
-            - "Callnumber: [% item.callnumber %]"
+            - "Call number: [% item.callnumber %]"
             - "Location: [% item.location %]"
             - "Barcode: [% item.barcode %]"
             - "On loan?: [% item.onloan %]"
@@ -624,9 +654,9 @@ tables:
         - module: circulation
           code: TRANSFERSLIP
           branchcode: ""
-          name: "Transfer Slip"
+          name: "Transfer slip"
           is_html: 1
-          title: "Transfer Slip"
+          title: "Transfer slip"
           message_transport_type: email
           lang: default
           content:
@@ -645,9 +675,9 @@ tables:
         - module: claimacquisition
           code: ACQCLAIM
           branchcode: ""
-          name: "Acquisition Claim"
+          name: "Acquisition claim"
           is_html: 0
-          title: "Item Not Received"
+          title: "Item not received"
           message_transport_type: email
           lang: default
           content:
@@ -660,10 +690,242 @@ tables:
             - ""
             - "<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (<<aqorders.quantity>> ordered) ($<<aqorders.listprice>> each) has not been received.</order>"
 
+        - module: ill
+          code: ILL_PICKUP_READY
+          branchcode: ""
+          name: "ILL request ready for pickup"
+          is_html: 0
+          title: "Interlibrary loan request ready for pickup"
+          message_transport_type: email
+          lang: default
+          content:
+            - "Dear [% borrower.firstname %] [% borrower.surname %],"
+            - ""
+            - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:"
+            - ""
+            - "- [% ill_bib_title %] - [% ill_bib_author %]"
+            - ""
+            - "is ready for pick up from [% branch.branchname %]."
+            - ""
+            - "Kind Regards"
+            - ""
+            - "[% branch.branchname %]"
+            - "[% branch.branchaddress1 %]"
+            - "[% branch.branchaddress2 %]"
+            - "[% branch.branchaddress3 %]"
+            - "[% branch.branchcity %]"
+            - "[% branch.branchstate %]"
+            - "[% branch.branchzip %]"
+            - "[% branch.branchphone %]"
+            - "[% branch.branchillemail %]"
+            - "[% branch.branchemail %]"
+
+        - module: ill
+          code: ILL_REQUEST_UNAVAIL
+          branchcode: ""
+          name: "ILL request unavailable"
+          is_html: 0
+          title: "Interlibrary loan request unavailable"
+          message_transport_type: email
+          lang: default
+          content:
+            - "Dear [% borrower.firstname %] [% borrower.surname %],"
+            - ""
+            - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
+            - ""
+            - "- [% ill_bib_title %] - [% ill_bib_author %]"
+            - ""
+            - "is unfortunately unavailable."
+            - ""
+            - "Kind Regards"
+            - ""
+            - "[% branch.branchname %]"
+            - "[% branch.branchaddress1 %]"
+            - "[% branch.branchaddress2 %]"
+            - "[% branch.branchaddress3 %]"
+            - "[% branch.branchcity %]"
+            - "[% branch.branchstate %]"
+            - "[% branch.branchzip %]"
+            - "[% branch.branchphone %]"
+            - "[% branch.branchillemail %]"
+            - "[% branch.branchemail %]"
+
+        - module: ill
+          code: ILL_REQUEST_CANCEL
+          branchcode: ""
+          name: "ILL request cancelled"
+          is_html: 0
+          title: "Interlibrary loan request cancelled"
+          message_transport_type: email
+          lang: default
+          content:
+            - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:"
+            - ""
+            - "[% ill_full_metadata %]"
+
+        - module: ill
+          code: ILL_REQUEST_MODIFIED
+          branchcode: ""
+          name: "ILL request modified"
+          is_html: 0
+          title: "Interlibrary loan request modified"
+          message_transport_type: email
+          lang: default
+          content:
+            - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:"
+            - ""
+            - "[% ill_full_metadata %]"
+
+        - module: ill
+          code: ILL_PARTNER_REQ
+          branchcode: ""
+          name: "ILL request to partners"
+          is_html: 0
+          title: "Interlibrary loan request to partners"
+          message_transport_type: email
+          lang: default
+          content:
+            - "Dear Sir/Madam,"
+            - ""
+            - "We would like to request an interlibrary loan for a title matching the following description:"
+            - ""
+            - "[% ill_full_metadata %]"
+            - ""
+            - "Please let us know if you are able to supply this to us."
+            - ""
+            - "Kind Regards"
+            - ""
+            - "[% branch.branchname %]"
+            - "[% branch.branchaddress1 %]"
+            - "[% branch.branchaddress2 %]"
+            - "[% branch.branchaddress3 %]"
+            - "[% branch.branchcity %]"
+            - "[% branch.branchstate %]"
+            - "[% branch.branchzip %]"
+            - "[% branch.branchphone %]"
+            - "[% branch.branchillemail %]"
+            - "[% branch.branchemail %]"
+
+        - module: ill
+          code: ILL_PICKUP_READY
+          branchcode: ""
+          name: "ILL request ready for pickup"
+          is_html: 0
+          title: "Interlibrary loan request ready for pickup"
+          message_transport_type: sms
+          lang: default
+          content:
+            - "Dear [% borrower.firstname %] [% borrower.surname %],"
+            - ""
+            - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:"
+            - ""
+            - "- [% ill_bib_title %] - [% ill_bib_author %]"
+            - ""
+            - "is ready for pick up from [% branch.branchname %]."
+            - ""
+            - "Kind Regards"
+            - ""
+            - "[% branch.branchname %]"
+            - "[% branch.branchaddress1 %]"
+            - "[% branch.branchaddress2 %]"
+            - "[% branch.branchaddress3 %]"
+            - "[% branch.branchcity %]"
+            - "[% branch.branchstate %]"
+            - "[% branch.branchzip %]"
+            - "[% branch.branchphone %]"
+            - "[% branch.branchillemail %]"
+            - "[% branch.branchemail %]"
+
+        - module: ill
+          code: ILL_REQUEST_UNAVAIL
+          branchcode: ""
+          name: "ILL request unavailable"
+          is_html: 0
+          title: "Interlibrary loan request unavailable"
+          message_transport_type: sms
+          lang: default
+          content:
+            - "Dear [% borrower.firstname %] [% borrower.surname %],"
+            - ""
+            - "The Interlibrary loans request number [% illrequest.illrequest_id %] you placed for"
+            - ""
+            - "- [% ill_bib_title %] - [% ill_bib_author %]"
+            - ""
+            - "is unfortunately unavailable."
+            - ""
+            - "Kind Regards"
+            - ""
+            - "[% branch.branchname %]"
+            - "[% branch.branchaddress1 %]"
+            - "[% branch.branchaddress2 %]"
+            - "[% branch.branchaddress3 %]"
+            - "[% branch.branchcity %]"
+            - "[% branch.branchstate %]"
+            - "[% branch.branchzip %]"
+            - "[% branch.branchphone %]"
+            - "[% branch.branchillemail %]"
+            - "[% branch.branchemail %]"
+
+        - module: ill
+          code: ILL_REQUEST_CANCEL
+          branchcode: ""
+          name: "ILL request cancelled"
+          is_html: 0
+          title: "Interlibrary loan request cancelled"
+          message_transport_type: sms
+          lang: default
+          content:
+            - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:"
+            - ""
+            - "[% ill_full_metadata %]"
+
+        - module: ill
+          code: ILL_REQUEST_MODIFIED
+          branchcode: ""
+          name: "ILL request modified"
+          is_html: 0
+          title: "Interlibrary loan request modified"
+          message_transport_type: sms
+          lang: default
+          content:
+            - "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:"
+            - ""
+            - "[% ill_full_metadata %]"
+
+        - module: ill
+          code: ILL_PARTNER_REQ
+          branchcode: ""
+          name: "ILL request to partners"
+          is_html: 0
+          title: "Interlibrary loan request to partners"
+          message_transport_type: sms
+          lang: default
+          content:
+            - "Dear Sir/Madam,"
+            - ""
+            - "We would like to request an interlibrary loan for a title matching the following description:"
+            - ""
+            - "[% ill_full_metadata %]"
+            - ""
+            - "Please let us know if you are able to supply this to us."
+            - ""
+            - "Kind Regards"
+            - ""
+            - "[% branch.branchname %]"
+            - "[% branch.branchaddress1 %]"
+            - "[% branch.branchaddress2 %]"
+            - "[% branch.branchaddress3 %]"
+            - "[% branch.branchcity %]"
+            - "[% branch.branchstate %]"
+            - "[% branch.branchzip %]"
+            - "[% branch.branchphone %]"
+            - "[% branch.branchillemail %]"
+            - "[% branch.branchemail %]"
+
         - module: members
           code: ACCTDETAILS
           branchcode: ""
-          name: "Account Details Template - DEFAULT"
+          name: "Account details template - DEFAULT"
           is_html: 0
           title: "Your new Koha account details."
           message_transport_type: email
@@ -722,9 +984,9 @@ tables:
         - module: members
           code: OPAC_REG_VERIFY
           branchcode: ""
-          name: "Opac Self-Registration Verification Email"
+          name: "OPAC self-registration verification email"
           is_html: 1
-          title: "Verify Your Account"
+          title: "Verify your account"
           message_transport_type: email
           lang: default
           content:
@@ -916,9 +1178,9 @@ tables:
         - module: reserves
           code: HOLD
           branchcode: ""
-          name: "Hold Available for Pickup"
+          name: "Hold available for pickup"
           is_html: 0
-          title: "Hold Available for Pickup at <<branches.branchname>>"
+          title: "Hold available for pickup at <<branches.branchname>>"
           message_transport_type: email
           lang: default
           content:
@@ -938,9 +1200,9 @@ tables:
         - module: reserves
           code: HOLD
           branchcode: ""
-          name: "Hold Available for Pickup"
+          name: "Hold available for pickup"
           is_html: 0
-          title: "Hold Available for Pickup (print notice)"
+          title: "Hold available for pickup (print notice)"
           message_transport_type: print
           lang: default
           content:
@@ -949,7 +1211,7 @@ tables:
             - "<<branches.branchaddress2>>"
             - ""
             - ""
-            - "Change Service Requested"
+            - "Change service requested"
             - ""
             - ""
             - ""
@@ -982,14 +1244,25 @@ tables:
         - module: reserves
           code: HOLDPLACED
           branchcode: ""
-          name: "Hold Placed on Item"
+          name: "Hold placed on item"
           is_html: 0
-          title: "Hold Placed on Item"
+          title: "Hold placed on item"
           message_transport_type: email
           lang: default
           content:
             - "A hold has been placed on the following item : <<biblio.title>> (<<biblio.biblionumber>>) by the user <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
 
+        - module: reserves
+          code: HOLD_REMINDER
+          branchcode: ""
+          name: "Waiting hold reminder"
+          is_html: 0
+          title: "You have waiting holds."
+          message_transport_type: email
+          lang: default
+          content:
+            - "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 %]"
+
         - module: serial
           code: SERIAL_ALERT
           branchcode: ""
@@ -1146,3 +1419,129 @@ tables:
             - "Thank you,"
             - ""
             - "<<branches.branchname>>"
+
+        - module: suggestions
+          code: NOTIFY_MANAGER
+          branchcode: ""
+          name: "Notify manager of a suggestion"
+          is_html: 0
+          title: "A suggestion has been assigned to you"
+          message_transport_type: email
+          lang: default
+          content:
+            - "Dear [% borrower.firstname %] [% borrowers.surname %],"
+            - ""
+            - "A new suggestion has been assigned to you: [% suggestion.title %]."
+            - ""
+            - "Thank you,"
+            - ""
+            - "[% branch.branchname %]"
+
+        - module: members
+          code: PROBLEM_REPORT
+          branchcode: ""
+          name: "OPAC problem report"
+          is_html: 0
+          title: "OPAC problem report"
+          message_transport_type: email
+          lang: default
+          content:
+            - "Username: <<problem_reports.username>>"
+            - ""
+            - "Problem page: <<problem_reports.problempage>>"
+            - ""
+            - "Title: <<problem_reports.title>>"
+            - ""
+            - "Message: <<problem_reports.content>>"
+
+        - module: circulation
+          code: AUTO_RENEWALS
+          branchcode: ""
+          name: "Notification of automatic renewal"
+          is_html: 0
+          title: "Automatic renewal notice"
+          message_transport_type: email
+          lang: default
+          content:
+            - "Dear [% borrower.firstname %] [% borrower.surname %],"
+            - "[% IF checkout.auto_renew_error %]"
+            - "The following item, [% biblio.title %], has not been renewed because:"
+            - "[% IF checkout.auto_renew_error == 'too_many' %]"
+            - "You have reached the maximum number of checkouts possible."
+            - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
+            - "This item is on hold for another patron."
+            - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
+            - "You are currently restricted."
+            - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
+            - "You have overdue items."
+            - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
+            - "It's too late to renew this item."
+            - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
+            - "Your total unpaid fines are too high."
+            - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
+            - "This item must be renewed at the library."
+            - "[% END %]"
+            - "[% ELSE %]"
+            - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]"
+            - "[% END %]"
+
+        - module: circulation
+          code: CHECKINSLIP
+          branchcode: ""
+          name: "Checkin slip"
+          is_html: 1
+          title: "Checkin slip"
+          message_transport_type: print
+          lang: default
+          content:
+            - "<h3>[% branch.branchname %]</h3>"
+            - "Checked in items for [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br />"
+            - "([% borrower.cardnumber %]) <br />"
+            - ""
+            - "[% today | $KohaDates %]<br />"
+            - ""
+            - "<h4>Checked in today</h4>"
+            - "[% FOREACH checkin IN old_checkouts %]"
+            - "[% SET item = checkin.item %]"
+            - "<p>"
+            - "[% item.biblio.title %] <br />"
+            - "Barcode: [% item.barcode %] <br />"
+            - "</p>"
+            - "[% END %]"
+
+        - module: circulation
+          code: AUTO_RENEWALS_DGST
+          branchcode: ""
+          name: "Notification on auto renewals"
+          is_html: 0
+          title: "Auto renewals (Digest)"
+          message_transport_type: email
+          lang: default
+          content:
+            - "Dear [% borrower.firstname %] [% borrower.surname %],"
+            - "[% IF error %]"
+            - "There were [% error %] items that were not renewed."
+            - "[% END %]"
+            - "[% IF success %]"
+            - "There were [% success %] items that were renewed."
+            - "[% END %]"
+            - "[% FOREACH checkout IN checkouts %]"
+            - "[% checkout.item.biblio.title %] : [% checkout.item.barcode %]"
+            - "[% IF !checkout.auto_renew_error %]"
+            - "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
+            - "[% ELSIF checkout.auto_renew_error == 'too_many' %]"
+            - "You have reached the maximum number of checkouts possible."
+            - "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
+            - "This item is on hold for another patron."
+            - "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
+            - "You are currently restricted."
+            - "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
+            - "You have overdue items."
+            - "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
+            - "It's too late to renew this item."
+            - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
+            - "Your total unpaid fines are too high."
+            - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]"
+            - "This item must be renewed at the library."
+            - "[% END %]"
+            - "[% END %]"