* moved to DB rev 030
* assigned AllowNotForLoanOverride to circulation syspref category
* added a hint to the circulation operator: when the
AllowNotForLoanOverride is ON, if the operator attempts
to check out an item that is normally not for loan due to
its item type or because the item is explicitly marked as
not-for-loan, the operator is given the chance to check
out the item anyway.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
$tabsysprefs{UseBranchTransferLimits} = "Circulation";
$tabsysprefs{AllowHoldPolicyOverride} = "Circulation";
$tabsysprefs{BranchTransferLimitsType} = "Circulation";
+$tabsysprefs{AllowNotForLoanOverride} = "Circulation";
# Staff Client
$tabsysprefs{TemplateEncoding} = "StaffClient";
SetVersion ($DBversion);
}
-$DBversion = "3.01.00.015";
+$DBversion = "3.01.00.030";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'AllowNotForLoanOverride', '0', '', 'If ON, Koha will allow the librarian to loan a not for loan item.', 'YesNo')");
print "Upgrade to $DBversion done (added AllowNotForLoanOverride system preference)\n";
<!-- TMPL_IF NAME="TOO_MANY" -->
<li>Too many checked out (already checked out / max : <!-- TMPL_VAR name="TOO_MANY" -->)</li>
<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="NOT_FOR_LOAN_FORCING" -->
+ <li>Item is normally not for loan. Check out anyway?</li>
+<!-- /TMPL_IF -->
</ul>
<form method="post" action="/cgi-bin/koha/circ/circulation.pl">
use strict;
sub kohaversion {
- our $VERSION = '3.01.00.029';
+ our $VERSION = '3.01.00.030';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install