@@ -, +, @@ --- koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 4 ++-- opac/opac-user.pl | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt @@ -101,9 +101,9 @@ $.tablesorter.addParser({
  • Please note: Your library card has been marked as lost or stolen. If this is an error, please contact the library.
  • [% END %] [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %] -
  • Please note: Since you have more than [% renewal_blocked_fines %] in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.
  • +
  • Please note: Since you have [% IF renewal_blocked_fines != "0.00" %] more than [% renewal_blocked_fines %] in [% END %] fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.
  • [% ELSIF ( renewal_blocked_fines ) %] -
  • Please note: You currently owe [% renewal_blocked_fines %] in fines.
  • +
  • Please note: You currently owe [% renewal_blocked_fines_amountoutstanding %] in fines.
  • [% END %] [% END %] --- a/opac/opac-user.pl +++ a/opac/opac-user.pl @@ -109,7 +109,8 @@ if ( $borr->{amountoutstanding} > $no_renewal_amt ) { $borr->{'flagged'} = 1; $canrenew = 0; $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} ), ); } --