From 5c6913bb9dee65d27e909971ff8a29a618b45f2d Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Sat, 5 Sep 2020 05:26:47 +0000 Subject: [PATCH] Bug 26389: Add auto renewal error to opac-user.tt Test plan: 1 Check out an auto-renewing item to a patron 2 confirm in circ rules that the rule allows at least one renewal 3 log into OPAC, confirm your summary shows item is scheduled for auto-renewal 4 click Renew All 5 Get note "Please note: Your loan renewal failed because of the following reason(s):" with no following reasons 6 Apply patch 7 Repeat 3-5 8 See appropriate error --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 5e72d21891..493a24c3c4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -93,6 +93,8 @@
  • This item is on hold for another borrower.
  • [% ELSIF error == 'item_denied_renewal' %]
  • Item renewal is not allowed.
  • + [% ELSIF error == 'auto_too_soon' %] +
  • This item is scheduled for auto renewal.
  • [% END %] [% END %] -- 2.11.0