Bug 8408 - Followup - Fix broken messages.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
8231238311
commit
06ebf87a6f
2 changed files with 4 additions and 3 deletions
|
@ -101,9 +101,9 @@ $.tablesorter.addParser({
|
||||||
<span id="lost"><li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please contact the library.</li></span>
|
<span id="lost"><li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please contact the library.</li></span>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %]
|
[% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %]
|
||||||
<span id="renewal_blocked_fines"><li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span></a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li></span>
|
<span id="renewal_blocked_fines"><li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">[% IF renewal_blocked_fines != "0.00" %] more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span> in [% END %] fines</a>, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li></span>
|
||||||
[% ELSIF ( renewal_blocked_fines ) %]
|
[% ELSIF ( renewal_blocked_fines ) %]
|
||||||
<span id="renewal_blocked_fines"><li><strong>Please note: </strong> You currently owe <a href="/cgi-bin/koha/opac-account.pl"><span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %] in fines.</span></a></li></span>
|
<span id="renewal_blocked_fines"><li><strong>Please note: </strong> You currently owe <a href="/cgi-bin/koha/opac-account.pl"><span id="renewal_blocked_fines_amount">[% renewal_blocked_fines_amountoutstanding %] in fines.</span></a></li></span>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul></div>
|
</ul></div>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
|
@ -109,7 +109,8 @@ if ( $borr->{amountoutstanding} > $no_renewal_amt ) {
|
||||||
$borr->{'flagged'} = 1;
|
$borr->{'flagged'} = 1;
|
||||||
$canrenew = 0;
|
$canrenew = 0;
|
||||||
$template->param(
|
$template->param(
|
||||||
renewal_blocked_fines => sprintf( '%.02f', $borr->{amountoutstanding} ),
|
renewal_blocked_fines => sprintf( '%.02f', $no_renewal_amt ),
|
||||||
|
renewal_blocked_fines_amountoutstanding => sprintf( '%.02f', $borr->{amountoutstanding} ),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue