From fbb24543001606d6132fd30c2ea186893d61bc37 Mon Sep 17 00:00:00 2001 From: Andrew Fuerste-Henry Date: Wed, 11 Mar 2020 00:43:20 +0000 Subject: [PATCH] Bug 23787: add AUTO_RENEWALS to sample_notices To test: - create a new install - confirm presence of auto renewal notice Signed-off-by: David Nind --- .../data/mysql/en/mandatory/sample_notices.yml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index 7f814c377b..1404f96f45 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -1179,3 +1179,32 @@ tables: - "Title: <>" - "" - "Message: <>" + + - 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." + - "[% END %]" + - "[% ELSE %]" + - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due %]" + - "[% END %]" -- 2.11.0