Bug 9423: Add notforloan value to issue confirmation or blocking message
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Fri, 18 Jan 2013 13:32:06 +0000 (14:32 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 20 Mar 2013 02:22:23 +0000 (22:22 -0400)
commit6cec57901a27a8fd026b3557b58290629da984b7
treef7911a38c6cb2e364d62808c6f90da043b7ef3cc
parent055a783fbc89d25d506e96c6b9f205754c2b401b
Bug 9423: Add notforloan value to issue confirmation or blocking message

When trying to checkout an item that is not for loan (due to
items.notforloan value or because itemtype is not for loan), you get a
confirmation or blocking message (depending on AllowNotForLoanOverride
syspref).

This message tells "Item is normally not for loan".

This patch adds some informations :
if itemtype is not for loan, tells "Item type is normally not for loan".
if item is not for loan due to items.notforloan value, adds notforloan
description to message.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Works as advertised: Not for loan authorized value is correctly shown.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Circulation.pm
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt