From 5fea2e431af8d1b87cf8904a6b05191d0f78fe36 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 Signed-off-by: Martin Renvoize Signed-off-by: Emily Lamancusa Signed-off-by: Tomas Cohen Arazi --- .../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 9b0880679d..e50ffb97a2 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -2145,7 +2145,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." @@ -2163,12 +2169,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.39.5