[Koha-bugs] [Bug 30555] Add more sample notice for sms messages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 5 17:42:27 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30555

--- Comment #2 from Shi Yao Wang <shi-yao.wang at inLibro.com> ---
Comment on attachment 133360
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133360
Bug 30555 : Add more sample notice for sms messages

>From a2b2d34ad2b89d0ba3fa559f7fb7482137fbbbdd Mon Sep 17 00:00:00 2001
>From: Shi Yao Wang <shiyao at inlibro.com>
>Date: Fri, 15 Apr 2022 11:42:29 -0400
>Subject: [PATCH] Bug 30555 : Add more sample notice for sms messages
>
>Adds sms sample notice for due, hold, checkin and checkout
>---
> .../mysql/en/mandatory/sample_notices.yml     | 94 +++++++++++++++++++
> 1 file changed, 94 insertions(+)
>
>diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml
>index 0af93cd37b..300b7e7c6b 100644
>--- a/installer/data/mysql/en/mandatory/sample_notices.yml
>+++ b/installer/data/mysql/en/mandatory/sample_notices.yml
>@@ -396,6 +396,22 @@ tables:
>             - "----"
>             - "Thank you."
> 
>+        - module: circulation
>+          code: CHECKIN
>+          branchcode: ""
>+          name: "Item check-in (digest)"
>+          is_html: 0
>+          title: "Check-ins"
>+          message_transport_type: sms
>+          lang: default
>+          content:
>+            - "Hi <<borrowers.firstname>> <<borrowers.surname>>,"
>+            - "The following items have been checked in:"
>+            - "----"
>+            - "[% biblio.title %]"
>+            - "----"
>+            - "Thank you."
>+
>         - module: circulation
>           code: CHECKOUT
>           branchcode: ""
>@@ -411,6 +427,22 @@ tables:
>             - "----"
>             - "Thank you for visiting [% branch.branchname %]."
> 
>+        - module: circulation
>+          code: CHECKOUT
>+          branchcode: ""
>+          name: "Item check-out (digest)"
>+          is_html: 0
>+          title: "Checkouts"
>+          message_transport_type: sms
>+          lang: default
>+          content:
>+            - "Hi <<borrowers.firstname>> <<borrowers.surname>>,"
>+            - "The following items have been checked out:"
>+            - "----"
>+            - "[% biblio.title %]"
>+            - "----"
>+            - "Thank you."
>+
>         - module: circulation
>           code: CHECKOUT_NOTE
>           branchcode: ""
>@@ -437,6 +469,19 @@ tables:
>             - ""
>             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
> 
>+        - module: circulation
>+          code: DUE
>+          branchcode: ""
>+          name: "Item due reminder"
>+          is_html: 0
>+          title: "Item due reminder"
>+          message_transport_type: sms
>+          lang: default
>+          content:
>+            - "Hi,"
>+            - "The following item(s) are now due:"
>+            - "<<biblio.title>>"
>+
>         - module: circulation
>           code: DUEDGST
>           branchcode: ""
>@@ -454,6 +499,18 @@ tables:
>             - ""
>             - "Thank you."
> 
>+        - module: circulation
>+          code: DUEDGST
>+          branchcode: ""
>+          name: "Item due reminder (digest)"
>+          is_html: 0
>+          title: "Item due reminder"
>+          message_transport_type: sms
>+          lang: default
>+          content:
>+            - "Hi"
>+            - "You have <<count>> item(s) that are now due"
>+
>         - module: circulation
>           code: HOLD_SLIP
>           branchcode: ""
>@@ -621,6 +678,19 @@ tables:
>             - ""
>             - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
> 
>+        - module: circulation
>+          code: PREDUE
>+          branchcode: ""
>+          name: "Advance notice of item due"
>+          is_html: 0
>+          title: "Advance notice of item due"
>+          message_transport_type: sms
>+          lang: default
>+          content:
>+            - "Hi"
>+            - "The following item will be due soon:"
>+            - "<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)"
>+
>         - module: circulation
>           code: PREDUEDGST
>           branchcode: ""
>@@ -638,6 +708,18 @@ tables:
>             - ""
>             - "Thank you."
> 
>+        - module: circulation
>+          code: PREDUEDGST
>+          branchcode: ""
>+          name: "Advance notice of item due (digest)"
>+          is_html: 0
>+          title: "Advance notice of item due"
>+          message_transport_type: sms
>+          lang: default
>+          content:
>+            - "Hi"
>+            - "You have <<count>> item(s) that will be due soon."
>+
>         - module: circulation
>           code: RENEWAL
>           branchcode: ""
>@@ -1227,6 +1309,18 @@ tables:
>             - "<<branches.branchaddress3>>"
>             - "<<branches.branchcity>> <<branches.branchzip>>"
> 
>+        - module: reserves
>+          code: HOLD
>+          branchcode: ""
>+          name: "Hold available for pickup"
>+          is_html: 0
>+          title: "Hold available for pickup at <<branches.branchname>>"
>+          message_transport_type: sms
>+          lang: default
>+          content:
>+            - "Hi"
>+            - "Your hold for <<biblio.title>> is available for pickup as of <<reserves.waitingdate>>"
>+
>         - module: reserves
>           code: HOLD
>           branchcode: ""
>-- 
>2.25.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list