Bug 34924: Adjust auto renewal email to reflect success for final renewals
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
cc0a8bf423
commit
5fea2e431a
1 changed files with 7 additions and 7 deletions
|
@ -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 %]"
|
||||
|
|
Loading…
Reference in a new issue