Bug 15581: Follow-up - suggested change to the OPAC message
Instead of showing "Automatic renewal" to the user, this changes it to show "No longer renewable" when the automatic renewal won't happen any longer because of the days the item has already been checked out. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
e3387862fb
commit
85e95d069d
2 changed files with 3 additions and 0 deletions
|
@ -259,6 +259,8 @@ Using this account is not recommended because some parts of Koha will not functi
|
|||
Not renewable
|
||||
[% ELSIF ( ISSUE.norenew_overdue ) %]
|
||||
Not allowed <span class="renewals">(overdue)</span>
|
||||
[% ELSIF ( ISSUE.auto_too_late ) %]
|
||||
No longer renewable
|
||||
[% ELSIF ( ISSUE.auto_renew || ISSUE.auto_too_soon ) %]
|
||||
Automatic renewal
|
||||
<span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
|
||||
|
|
|
@ -212,6 +212,7 @@ if ($issues){
|
|||
$issue->{'norenew_overdue'} = 1 if $renewerror eq 'overdue';
|
||||
$issue->{'auto_renew'} = 1 if $renewerror eq 'auto_renew';
|
||||
$issue->{'auto_too_soon'} = 1 if $renewerror eq 'auto_too_soon';
|
||||
$issue->{'auto_too_late'} = 1 if $renewerror eq 'auto_too_late';
|
||||
|
||||
if ( $renewerror eq 'too_soon' ) {
|
||||
$issue->{'too_soon'} = 1;
|
||||
|
|
Loading…
Reference in a new issue