Bug 30484: Add ILL update notice
[srvgit] / installer / data / mysql / en / mandatory / sample_notices.yml
index d679e94..fed8713 100644 (file)
@@ -240,7 +240,7 @@ tables:
             - "Volume: <<article_requests.volume>>"
             - "Issue: <<article_requests.issue>>"
             - "Date: <<article_requests.date>>"
-            - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]"
+            - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
@@ -267,13 +267,13 @@ tables:
             - "Volume: <<article_requests.volume>>"
             - "Issue: <<article_requests.issue>>"
             - "Date: <<article_requests.date>>"
-            - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]"
+            - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
             - "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 %]"
             - ""
-            - "[% 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 %]"
+            - "[% 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!"
 
@@ -296,7 +296,7 @@ tables:
             - "Volume: <<article_requests.volume>>"
             - "Issue: <<article_requests.issue>>"
             - "Date: <<article_requests.date>>"
-            - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]"
+            - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
@@ -323,7 +323,7 @@ tables:
             - "Volume: <<article_requests.volume>>"
             - "Issue: <<article_requests.issue>>"
             - "Date: <<article_requests.date>>"
-            - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]"
+            - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
@@ -350,7 +350,7 @@ tables:
             - "Volume: <<article_requests.volume>>"
             - "Issue: <<article_requests.issue>>"
             - "Date: <<article_requests.date>>"
-            - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]"
+            - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
@@ -380,7 +380,7 @@ tables:
             - "Volume: <<article_requests.volume>>"
             - "Issue: <<article_requests.issue>>"
             - "Date: <<article_requests.date>>"
-            - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]"
+            - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]"
             - "Pages: <<article_requests.pages>>"
             - "Chapters: <<article_requests.chapters>>"
             - "Notes: <<article_requests.patron_notes>>"
@@ -839,6 +839,40 @@ tables:
             - "[% branch.branchemail %]"
 
         - module: ill
+          code: ILL_REQUEST_UPDATE
+          branchcode: ""
+          name: "ILL request update"
+          is_html: 0
+          title: "Interlibrary loan request update"
+          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 %]"
+            - ""
+            - "has been updated."
+            - ""
+            - "Details of the update are below:"
+            - ""
+            - "[% additional_text %]"
+            - ""
+            - "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"
@@ -954,6 +988,40 @@ tables:
             - "[% branch.branchillemail %]"
             - "[% branch.branchemail %]"
 
+        - module: ill
+          code: ILL_REQUEST_UPDATE
+          branchcode: ""
+          name: "ILL request update"
+          is_html: 0
+          title: "Interlibrary loan request update"
+          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 %]"
+            - ""
+            - "has been updated."
+            - ""
+            - "Details of the update are below:"
+            - ""
+            - "[% additional_text %]"
+            - ""
+            - "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: DISCHARGE
           branchcode: ""
@@ -1030,6 +1098,27 @@ tables:
             - ""
 
         - module: members
+          code: STAFF_PASSWORD_RESET
+          branchcode: ""
+          name: "Online password reset"
+          is_html: 1
+          title: "Koha password reset"
+          message_transport_type: email
+          lang: default
+          content:
+            - "<html>"
+            - "<p>A librarian has reset the password for the account <strong><<user>></strong>."
+            - "</p>"
+            - "<p>"
+            - "Please create your new password using the following link:"
+            - "<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>"
+            - "</p>"
+            - "<p>This link will be valid for 5 days from this email's reception, then you must reapply if you do not change your password.</p>"
+            - "<p>Thank you.</p>"
+            - "</html>"
+            - ""
+
+        - module: members
           code: SHARE_ACCEPT
           branchcode: ""
           name: "Notification about an accepted share"
@@ -1089,6 +1178,20 @@ tables:
             - ""
             - "If you have any problems or questions regarding your account, please contact the library."
 
+        - module: members
+          code: 2FA_OTP_TOKEN
+          branchcode: ""
+          name: "two-authentication step token"
+          is_html: 1
+          title: "Two-authentication token"
+          message_transport_type: email
+          lang: default
+          content:
+            - "Dear [% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])"
+            - ""
+            - "Your authentication token is [% otp_token %]."
+            - "It is valid one minute."
+
         - module: orderacquisition
           code: ACQORDER
           branchcode: ""
@@ -1190,6 +1293,83 @@ tables:
             - "</tfoot>"
             - "</table>"
 
+        - module: pos
+          code: RECEIPT
+          branchcode: ""
+          name: "Point of sale receipt"
+          is_html: 1
+          title: "Receipt"
+          message_transport_type: email
+          lang: default
+          content:
+            - "[% USE KohaDates %]"
+            - "[% USE Branches %]"
+            - "[% USE Price %]"
+            - "[% PROCESS \"accounts.inc\" %]"
+            - "<table>"
+            - "[% IF ( LibraryName ) %]"
+            - " <tr>"
+            - "    <th colspan=\"2\" class=\"centerednames\">"
+            - "        <h3>[% LibraryName | html %]</h3>"
+            - "    </th>"
+            - " </tr>"
+            - "[% END %]"
+            - " <tr>"
+            - "    <th colspan=\"2\" class=\"centerednames\">"
+            - "        <h2>[% Branches.GetName( credit.branchcode ) | html %]</h2>"
+            - "    </th>"
+            - " </tr>"
+            - "<tr>"
+            - "    <th colspan=\"2\" class=\"centerednames\">"
+            - "        <h3>[% credit.date | $KohaDates %]</h3>"
+            - "</tr>"
+            - "<tr>"
+            - "  <td>Transaction ID: </td>"
+            - "  <td>[% credit.accountlines_id %]</td>"
+            - "</tr>"
+            - "<tr>"
+            - "  <td>Operator ID: </td>"
+            - "  <td>[% credit.manager_id %]</td>"
+            - "</tr>"
+            - "<tr>"
+            - "  <td>Payment type: </td>"
+            - "  <td>[% credit.payment_type %]</td>"
+            - "</tr>"
+            - " <tr></tr>"
+            - " <tr>"
+            - "    <th colspan=\"2\" class=\"centerednames\">"
+            - "        <h2><u>Fee receipt</u></h2>"
+            - "    </th>"
+            - " </tr>"
+            - " <tr></tr>"
+            - " <tr>"
+            - "    <th>Description of charges</th>"
+            - "    <th>Amount</th>"
+            - "  </tr>"
+            - ""
+            - "  [% FOREACH debit IN credit.debits %]"
+            - "    <tr>"
+            - "        <td>[% PROCESS account_type_description account=debit %]</td>"
+            - "        <td>[% debit.amount * -1 | $Price %]</td>"
+            - "    </tr>"
+            - "  [% END %]"
+            - ""
+            - "<tfoot>"
+            - "  <tr class=\"highlight\">"
+            - "    <td>Total: </td>"
+            - "    <td>[% credit.amount * -1| $Price %]</td>"
+            - "  </tr>"
+            - "  <tr>"
+            - "    <td>Tendered: </td>"
+            - "    <td>[% collected | $Price %]</td>"
+            - "  </tr>"
+            - "  <tr>"
+            - "    <td>Change: </td>"
+            - "    <td>[% change | $Price %]</td>"
+            - "    </tr>"
+            - "</tfoot>"
+            - "</table>"
+
         - module: reserves
           code: CANCEL_HOLD_ON_LOST
           branchcode: ""
@@ -1286,6 +1466,22 @@ tables:
             - "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_CHANGED
+          branchcode: ""
+          name: "Canceled hold available for different patron"
+          is_html: 0
+          title: "Canceled hold available for different patron"
+          message_transport_type: email
+          lang: default
+          content:
+            - "The patron picking up <<biblio.title>> (<<items.barcode>>) has changed to <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)."
+            - "Please update the hold information for this item."
+            - "Title: <<biblio.title>>"
+            - "Author: <<biblio.author>>"
+            - "Item: <<items.itemcallnumber>>"
+            - "Pickup location: <<branches.branchname>>"
+
+        - module: reserves
           code: HOLD_REMINDER
           branchcode: ""
           name: "Waiting hold reminder"
@@ -1296,6 +1492,23 @@ tables:
           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: reserves
+          code: NEW_CURBSIDE_PICKUP
+          branchcode: ""
+          name: "New curbside pickup"
+          is_html: 0
+          title: "You have scheduled a curbside pickup for [% branch.branchname %]"
+          message_transport_type: email
+          lang: default
+          content:
+            - "[%- USE KohaDates -%]"
+            - "[%- SET cp = curbside_pickup -%]"
+            - ""
+            - "You have a curbside pickup scheduled for [% cp.scheduled_pickup_datetime | $KohaDates with_hours => 1 %] at [% cp.library.branchname %]."
+            - "Any holds waiting for you at the pickup time will be included in this pickup. At this time, that list includes:\n[%- FOREACH h IN cp.patron.holds %]\n[%- IF h.branchcode == cp.branchcode && h.found == 'W' %]\n* [% h.biblio.title %], [% h.biblio.author %] ([% h.item.barcode %])\n[%- END %]\n[%- END %]"
+            - ""
+            - "Once you have arrived, please call your library or log into your account and click the \"Alert staff of your arrival\" button to let them know you are there."
+
         - module: serial
           code: SERIAL_ALERT
           branchcode: ""
@@ -1545,6 +1758,17 @@ tables:
             - "[% END %]"
 
         - module: circulation
+          code: OVERDUE_FINE_DESC
+          branchcode: ""
+          name: "Overdue item fine description"
+          is_html: 0
+          title: "Overdue item fine description"
+          message_transport_type: print
+          lang: default
+          content:
+            - "[% item.biblio.title %] [% checkout.date_due | $KohaDates %]"
+
+        - module: circulation
           code: AUTO_RENEWALS_DGST
           branchcode: ""
           name: "Notification on auto renewals"