Bug 8422 - Fix impossible warning in circulation.pl when OverduesBlockCirc set to...
authorDavid Cook <dcook@prosentient.com.au>
Thu, 12 Jul 2012 01:26:56 +0000 (11:26 +1000)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 17 Jul 2012 13:33:38 +0000 (15:33 +0200)
Previously, the message Patron has x overdue item(s). Checkout anyway? was shown when syspref OverduesBlockCirc was set to Ask for confirmation or Block.

This patch changes the message for Block to: Checkouts are BLOCKED because patron has overdues.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

index 2743c5f..6f72392 100644 (file)
@@ -410,7 +410,7 @@ function validate1(date) {
         [% END %]
        
            [% IF ( USERBLOCKEDOVERDUE ) %]
-            <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).  Check out anyway?</li>
+            <li>Checkouts are BLOCKED because patron has overdue items</li>
         [% END %]
         </ul>