bug 2893: tweaks to AllowNotForLoanOverride (DB rev 030)
* 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>
This commit is contained in:
parent
43e4976806
commit
46037ac61a
|
|
@ -159,6 +159,7 @@ $tabsysprefs{AllowHoldsOnDamagedItems} = "Circulation";
|
|||
$tabsysprefs{UseBranchTransferLimits} = "Circulation";
|
||||
$tabsysprefs{AllowHoldPolicyOverride} = "Circulation";
|
||||
$tabsysprefs{BranchTransferLimitsType} = "Circulation";
|
||||
$tabsysprefs{AllowNotForLoanOverride} = "Circulation";
|
||||
|
||||
# Staff Client
|
||||
$tabsysprefs{TemplateEncoding} = "StaffClient";
|
||||
|
|
|
|||
|
|
@ -2389,7 +2389,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
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";
|
||||
|
|
|
|||
|
|
@ -110,6 +110,10 @@ $.tablesorter.addParser({
|
|||
<!-- 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">
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue