");
+ [% END %]
+ [% END %]
+
$( "#suspend_until" ).datepicker({ minDate: 1 }); // Require that "until date" be in the future
- });
+
+ });
//]]>
@@ -105,7 +113,7 @@ var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended
Please note:
Your account renewal failed because of the following:
- [% FOREACH error IN RENEW_ERROR.split('|') %]
+ [% FOREACH error IN RENEW_ERROR.split('\|') %]
[% IF error == 'card_expired' %]
Your account has expired. Please contact the library for more information.
[% ELSIF error == 'too_many' %]
@@ -162,7 +170,7 @@ var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended
[% UNLESS ( item_level_itypes ) %]
Item type
[% END %]
[% IF ( show_barcode ) %]
Barcode
[% END %]
Call No.
- [% IF ( OpacRenewalAllowed ) %]
+ [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]
Renew
[% END %]
[% IF ( OPACFinesTab ) %]
@@ -210,7 +218,7 @@ var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended
[% UNLESS ( item_level_itypes ) %]
[% IF ( ISSUE.imageurl ) %][% END %] [% ISSUE.description %]
[% END %]
[% IF ( show_barcode ) %]
[% ISSUE.barcode %]
[% END %]
[% ISSUE.itemcallnumber %]
- [% IF ( OpacRenewalAllowed ) %]
+ [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]
[% IF ( ISSUE.status ) %][% IF ( canrenew ) %] Renew[% END %] ([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)
[% ELSE %]
Not renewable[% IF ( ISSUE.too_many ) %] ([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)[% ELSE %][% IF ( ISSUE.on_reserve ) %] (On hold)[% END %][% END %]
@@ -225,11 +233,11 @@ var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended
[% END %]
- [% IF ( canrenew && !userdebarred && OpacRenewalAllowed ) %]
+ [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]
[% END %]
- [% IF ( canrenew && !userdebarred && OpacRenewalAllowed ) %]
+ [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]