Bug 8408 - Odd OPAC message when OPAC Renewals are disabled and OPACFineNoRenewals...
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 10 Jul 2012 14:57:46 +0000 (10:57 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 1 Aug 2012 15:43:03 +0000 (17:43 +0200)
commit82312383117ec5df678262391ba7a17e94b75336
treedc4ba097370372c9a177238cce698cf997454a81
parent29891f38f90b14d50da741715fe3e9c31ce0d170
Bug 8408 - Odd OPAC message when OPAC Renewals are disabled and OPACFineNoRenewals is set to blank

If OpacRenewalAllowed is set to "Don't allow" and OPACFineNoRenewals is set to blank ( i.e. disabled ).
A user who owes any fines, when logged in to the OPAC will receive the following message:

    Please note: You have more than 0.00 in fines.

This is a rather odd message, and is not very sensible. The message should either be modified or removed altogether.

This patch modifies the message to the following:

    Please note: You currently owe $fines in fines

where $fines in the formatted amount the borrower currently owes
in fines.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
opac/opac-user.pl