Bug 11257: PREDUEDST should have more useful default text
authorJames O'Keeffe <jamespfk@gmail.com>
Tue, 19 Jan 2021 22:47:53 +0000 (22:47 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 29 Jan 2021 15:03:50 +0000 (16:03 +0100)
commit584fe9aefa0f651b1dcb3d70db9c9dbec1056f0b
tree160d75b217af43b35e8b092d25c591cc35d3bb5d
parent178026f3390ffae38445449477a39211cead3d04
Bug 11257: PREDUEDST should have more useful default text

This patch changes the default text of PEDUEDST to the following:
    Dear <<borrowers.firstname>> <<borrowers.surname>>,
    The following item(s) will be due soon:
    <<items.content>>

Note: I dont beleive ive done everything requesting in the bug, ie there
was a request to add  <<items.content>> to the documentation of
sample_notices.yml, but I couldn't find documentation for it. If there's
things I missed, please tell me so I can make the appropraite changes,
or feel free to make the changes yourself.

Test plan:
1. Select "edit" on PREDUEDST 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>
JD amended patch: Remove double spaces in PREDUEDST

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6d7a91654cf3e30afe48303cc66aac7bdd1dcb9a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/en/mandatory/sample_notices.yml