From f2c93e2d583f6b40d60fbc5afecacf3be211d001 Mon Sep 17 00:00:00 2001
From: James O'Keeffe <jamespfk@gmail.com>
Date: Thu, 21 Jan 2021 05:53:46 +0000
Subject: [PATCH] Bug 11257: (followup) Document <<items.content>> for DUEDGST
 and PREDUEDGST and update sample notices
Content-Type: text/plain; charset=utf-8

This patch changes the default text for the DUEDGST sample notice to the
following:
    Dear <<borrowers.firstname>> <<borrowers.surname>>,
    The following item(s) are due:
    <<items.content>>
(it does not include an atomic update)

Test plan:
1. Select "edit" on DUEDGST in the notices and slips page (Home ->
        tools -> Notices and slips)
2. Open "email", and note the default text.
3. Apply the patch, and peform a fresh install of Koha.
4. Navigate to the same page. The default text should have changed.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
---
 installer/data/mysql/en/mandatory/sample_notices.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml
index 97a9291ba8..9835a4cca5 100644
--- a/installer/data/mysql/en/mandatory/sample_notices.yml
+++ b/installer/data/mysql/en/mandatory/sample_notices.yml
@@ -401,7 +401,11 @@ tables:
           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>>"
 
         - module: circulation
           code: HOLD_SLIP
-- 
2.11.0