From ce9d5ee119ae910432db9f6e06ae6cb87cd386c6 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 23 Oct 2023 17:52:11 +0000 Subject: [PATCH] Bug 34924: Adjust auto renewal email to reflect success for final renewals --- .../data/mysql/en/mandatory/sample_notices.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index f0a84f4b0e..1250bbb8e2 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -2107,7 +2107,13 @@ tables: lang: default content: - "Dear [% borrower.firstname %] [% borrower.surname %]," - - "[% IF checkout.auto_renew_error %]" + - "[% IF checkout.auto_renew_error == 'auto_renew_final' %]" + - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]" + - "This item has reached the maximum number of automatic renewals and will no longer be renewed." + - "[% ELSIF checkout.auto_renew_error == 'auto_unseen_final' %]" + - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]" + - "This item has reached the maximum number of unseen renewals and will need to be renewed at the library." + - "[% ELSIF 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 renewals possible." @@ -2125,12 +2131,6 @@ tables: - "This item must be renewed at the library." - "[% ELSIF checkout.auto_renew_error == 'auto_account_expired' %]" - "Your account has expired." - - "[% ELSIF checkout.auto_renew_error == 'auto_renew_final' %]" - - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]" - - "This item has reached the maximum number of automatic renewals and will no longer be renewed." - - "[% ELSIF checkout.auto_renew_error == 'auto_unseen_final' %]" - - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]" - - "This item has reached the maximum number of unseen renewals and will need to be renewed at the library." - "[% END %]" - "[% ELSE %]" - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]" -- 2.30.2