|
Lines 1-928
Link Here
|
| 1 |
[% USE KohaDates %] |
|
|
| 2 |
[% USE Branches %] |
| 3 |
[% USE Categories %] |
| 4 |
[% USE ItemTypes %] |
| 5 |
[% USE CirculationRules %] |
| 6 |
|
| 7 |
[% SET branchcode = humanbranch || undef %] |
| 8 |
|
| 9 |
[% SET categorycodes = [] %] |
| 10 |
[% FOREACH pc IN patron_categories %] |
| 11 |
[% categorycodes.push( pc.id ) %] |
| 12 |
[% END %] |
| 13 |
[% categorycodes.push(undef) %] |
| 14 |
|
| 15 |
[% SET itemtypes = [] %] |
| 16 |
[% FOREACH i IN itemtypeloop %] |
| 17 |
[% itemtypes.push( i.itemtype ) %] |
| 18 |
[% END %] |
| 19 |
[% itemtypes.push(undef) %] |
| 20 |
|
| 21 |
[% INCLUDE 'doc-head-open.inc' %] |
| 22 |
<title>Koha › Administration › Circulation and fine rules</title> |
| 23 |
[% INCLUDE 'doc-head-close.inc' %] |
| 24 |
[% INCLUDE 'calendar.inc' %] |
| 25 |
<script type="text/javascript"> |
| 26 |
//<![CDATA[ |
| 27 |
|
| 28 |
function clear_edit(){ |
| 29 |
var cancel = confirm(_("Are you sure you want to cancel your changes?")); |
| 30 |
if ( !cancel ) return; |
| 31 |
$('#default-circulation-rules td').removeClass('highlighted-row'); |
| 32 |
var edit_row = $("#edit_row"); |
| 33 |
$(edit_row).find("input").each(function(){ |
| 34 |
var type = $(this).attr("type"); |
| 35 |
if (type != "button" && type != "submit" ) { |
| 36 |
$(this).val(""); |
| 37 |
$(this).prop('disabled', false); |
| 38 |
} |
| 39 |
if ( type == "checkbox" ) { |
| 40 |
$(this).prop('checked', false); |
| 41 |
} |
| 42 |
}); |
| 43 |
$(edit_row).find("select").prop('disabled', false); |
| 44 |
$(edit_row).find("select option:first").attr("selected", "selected"); |
| 45 |
$(edit_row).find("td:last input[name='clear']").remove(); |
| 46 |
} |
| 47 |
|
| 48 |
var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this rule? This cannot be undone."); |
| 49 |
|
| 50 |
$(document).ready(function() { |
| 51 |
$(".delete").on("click",function(){ |
| 52 |
return confirmDelete(MSG_CONFIRM_DELETE); |
| 53 |
}); |
| 54 |
|
| 55 |
$('#cap_fine_to_replacement_price').on('change', function(){ |
| 56 |
$('#overduefinescap').prop('disabled', $(this).is(':checked') ); |
| 57 |
}); |
| 58 |
$('#selectlibrary').find("input:submit").hide(); |
| 59 |
$('#branch').change(function() { |
| 60 |
$('#selectlibrary').submit(); |
| 61 |
}); |
| 62 |
$(".editrule").click(function(){ |
| 63 |
if ( $("#edit_row").find("input[type='text']").filter(function(){return this.value.length > 0 }).length > 0 ) { |
| 64 |
var edit = confirm(_("Are you sure you want to edit another rule?")); |
| 65 |
if (!edit) return false; |
| 66 |
} |
| 67 |
$('#default-circulation-rules td').removeClass('highlighted-row'); |
| 68 |
$(this).parent().parent().find("td").each(function (i) { |
| 69 |
$(this).addClass('highlighted-row'); |
| 70 |
itm = $(this).text(); |
| 71 |
itm = itm.replace(/^\s*|\s*$/g,''); |
| 72 |
var current_column = $("#edit_row td:eq("+i+")"); |
| 73 |
if ( i == 6 ) { |
| 74 |
// specific processing for the Hard due date column |
| 75 |
var select_value = $(this).find("input[type='hidden'][name='hardduedatecomparebackup']").val(); |
| 76 |
var input_value = ''; |
| 77 |
if (typeof select_value === 'undefined'){ |
| 78 |
select_value = '-1'; |
| 79 |
}else { |
| 80 |
input_value = itm.split(' ')[1]; |
| 81 |
} |
| 82 |
$(current_column).find("input[type='text']").val(input_value); |
| 83 |
$(current_column).find("select").val(select_value); |
| 84 |
} else if ( i == 12 ) { |
| 85 |
// specific processing for cap_fine_to_replacement_price |
| 86 |
var cap_fine_to_replacement_price = $(this).find("input[type='checkbox']"); |
| 87 |
$('#cap_fine_to_replacement_price').prop('checked', cap_fine_to_replacement_price.is(':checked') ); |
| 88 |
$('#overduefinescap').prop('disabled', cap_fine_to_replacement_price.is(':checked') ); |
| 89 |
} else { |
| 90 |
$(current_column).find("input[type='text']").val(itm); |
| 91 |
// select the corresponding option |
| 92 |
$(current_column).find("select option").each(function(){ |
| 93 |
opt = $(this).text().toLowerCase(); |
| 94 |
opt = opt.replace(/^\s*|\s*$/g,''); |
| 95 |
if ( opt == itm.toLowerCase() ) { |
| 96 |
$(this).attr('selected', 'selected'); |
| 97 |
} |
| 98 |
}); |
| 99 |
if ( i == 0 || i == 1 ) { |
| 100 |
// Disable the 2 first columns, we cannot update them. |
| 101 |
var val = $(current_column).find("select option:selected").val(); |
| 102 |
var name = "categorycode"; |
| 103 |
if ( i == 1 ) { |
| 104 |
name="itemtype"; |
| 105 |
} |
| 106 |
// Remove potential previous input added |
| 107 |
$(current_column).find("input").remove(); |
| 108 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
| 109 |
} else if ( i == 2 || i == 3 ) { |
| 110 |
// If the value is not an integer for "Current checkouts allowed" or "Current on-site checkouts allowed" |
| 111 |
// The value is "Unlimited" (or an equivalent translated string) |
| 112 |
// an it should be set to an empty string |
| 113 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
| 114 |
$(current_column).find("input[type='text']").val(""); |
| 115 |
} |
| 116 |
} |
| 117 |
} |
| 118 |
}); |
| 119 |
$("#default-circulation-rules tr:last td:eq(0) select").prop('disabled', true); |
| 120 |
$("#default-circulation-rules tr:last td:eq(1) select").prop('disabled', true); |
| 121 |
return false; |
| 122 |
}); |
| 123 |
$(".clear_edit").on("click",function(e){ |
| 124 |
e.preventDefault(); |
| 125 |
clear_edit(); |
| 126 |
}); |
| 127 |
}); |
| 128 |
//]]> |
| 129 |
</script> |
| 130 |
</head> |
| 131 |
<body id="admin_smart-rules" class="admin"> |
| 132 |
[% INCLUDE 'header.inc' %] |
| 133 |
[% INCLUDE 'prefs-admin-search.inc' %] |
| 134 |
|
| 135 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › Circulation and fine rules</div> |
| 136 |
|
| 137 |
<div id="doc3" class="yui-t1"> |
| 138 |
|
| 139 |
<div id="bd"> |
| 140 |
<div id="yui-main"> |
| 141 |
<div class="yui-b"> |
| 142 |
<h1 class="parameters"> |
| 143 |
[% IF humanbranch %] |
| 144 |
Defining circulation and fine rules for "[% Branches.GetName( humanbranch ) %]" |
| 145 |
[% ELSE %] |
| 146 |
Defining circulation and fine rules for all libraries |
| 147 |
[% END %] |
| 148 |
</h1> |
| 149 |
<div class="help"> |
| 150 |
<p>The rules are applied from most specific to less specific, using the first found in this order:</p> |
| 151 |
<ul> |
| 152 |
<li>same library, same patron category, same item type</li> |
| 153 |
<li>same library, same patron category, all item types</li> |
| 154 |
<li>same library, all patron categories, same item type</li> |
| 155 |
<li>same library, all patron categories, all item types</li> |
| 156 |
<li>default (all libraries), same patron category, same item type</li> |
| 157 |
<li>default (all libraries), same patron category, all item types</li> |
| 158 |
<li>default (all libraries), all patron categories, same item type</li> |
| 159 |
<li>default (all libraries), all patron categories, all item types</li> |
| 160 |
</ul> |
| 161 |
<p>To modify a rule, create a new one with the same patron category and item type.</p> |
| 162 |
</div> |
| 163 |
<div> |
| 164 |
[% UNLESS restricted_to_own_library %] |
| 165 |
<form method="get" action="/cgi-bin/koha/admin/smart-rules.pl" id="selectlibrary"> |
| 166 |
Select a library : |
| 167 |
<select name="branch" id="branch" style="width:20em;"> |
| 168 |
<option value="*">Standard rules for all libraries</option> |
| 169 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => current_branch, unfiltered => 1 ) %] |
| 170 |
</select> |
| 171 |
</form> |
| 172 |
[% IF ( definedbranch ) %] |
| 173 |
<form action="/cgi-bin/koha/admin/clone-rules.pl" method="post"> |
| 174 |
<label for="tobranch"><strong>Clone these rules to:</strong></label> |
| 175 |
<input type="hidden" name="frombranch" value="[% current_branch %]" /> |
| 176 |
<select name="tobranch" id="tobranch"> |
| 177 |
[% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %] |
| 178 |
</select> |
| 179 |
<input type="submit" value="Clone" /> |
| 180 |
</form> |
| 181 |
[% END %] |
| 182 |
[% END %] |
| 183 |
|
| 184 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
| 185 |
<input type="hidden" name="op" value="add" /> |
| 186 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 187 |
<table id="default-circulation-rules"> |
| 188 |
<thead> |
| 189 |
<tr> |
| 190 |
<th>Patron category</th> |
| 191 |
<th>Item type</th> |
| 192 |
<th>Actions</th> |
| 193 |
<th>Current checkouts allowed</th> |
| 194 |
<th>Current on-site checkouts allowed</th> |
| 195 |
<th>Loan period</th> |
| 196 |
<th>Unit</th> |
| 197 |
<th>Hard due date</th> |
| 198 |
<th>Fine amount</th> |
| 199 |
<th>Fine charging interval</th> |
| 200 |
<th>When to charge</th> |
| 201 |
<th>Fine grace period</th> |
| 202 |
<th>Overdue fines cap (amount)</th> |
| 203 |
<th>Cap fine at replacement price</th> |
| 204 |
<th>Suspension in days (day)</th> |
| 205 |
<th>Max. suspension duration (day)</th> |
| 206 |
<th>Renewals allowed (count)</th> |
| 207 |
<th>Renewal period</th> |
| 208 |
<th>No renewal before</th> |
| 209 |
<th>Automatic renewal</th> |
| 210 |
<th>No automatic renewal after</th> |
| 211 |
<th>No automatic renewal after (hard limit)</th> |
| 212 |
<th>Holds allowed (count)</th> |
| 213 |
<th>Holds per record (count)</th> |
| 214 |
<th>On shelf holds allowed</th> |
| 215 |
<th>Item level holds</th> |
| 216 |
<th>Article requests</th> |
| 217 |
<th>Rental discount (%)</th> |
| 218 |
<th>Actions</th> |
| 219 |
</tr> |
| 220 |
</thead> |
| 221 |
<tbody> |
| 222 |
[% SET row_count = 0 %] |
| 223 |
[% FOREACH c IN categorycodes %] |
| 224 |
[% FOREACH i IN itemtypes %] |
| 225 |
[% SET maxissueqty = CirculationRules.Get( branchcode, c, i, 'maxissueqty' ) %] |
| 226 |
[% SET maxonsiteissueqty = CirculationRules.Get( branchcode, c, i, 'maxonsiteissueqty' ) %] |
| 227 |
[% SET issuelength = CirculationRules.Get( branchcode, c, i, 'issuelength' ) %] |
| 228 |
[% SET lengthunit = CirculationRules.Get( branchcode, c, i, 'lengthunit' ) %] |
| 229 |
[% SET hardduedate = CirculationRules.Get( branchcode, c, i, 'hardduedate' ) %] |
| 230 |
[% SET hardduedatecompare = CirculationRules.Get( branchcode, c, i, 'hardduedatecompare' ) %] |
| 231 |
[% SET fine = CirculationRules.Get( branchcode, c, i, 'fine' ) %] |
| 232 |
[% SET chargeperiod = CirculationRules.Get( branchcode, c, i, 'chargeperiod' ) %] |
| 233 |
[% SET chargeperiod_charge_at = CirculationRules.Get( branchcode, c, i, 'chargeperiod_charge_at' ) %] |
| 234 |
[% SET firstremind = CirculationRules.Get( branchcode, c, i, 'firstremind' ) %] |
| 235 |
[% SET overduefinescap = CirculationRules.Get( branchcode, c, i, 'overduefinescap' ) %] |
| 236 |
[% SET cap_fine_to_replacement_price = CirculationRules.Get( branchcode, c, i, 'cap_fine_to_replacement_price' ) %] |
| 237 |
[% SET finedays = CirculationRules.Get( branchcode, c, i, 'finedays' ) %] |
| 238 |
[% SET maxsuspensiondays = CirculationRules.Get( branchcode, c, i, 'maxsuspensiondays' ) %] |
| 239 |
[% SET renewalsallowed = CirculationRules.Get( branchcode, c, i, 'renewalsallowed' ) %] |
| 240 |
[% SET renewalperiod = CirculationRules.Get( branchcode, c, i, 'renewalperiod' ) %] |
| 241 |
[% SET norenewalbefore = CirculationRules.Get( branchcode, c, i, 'norenewalbefore' ) %] |
| 242 |
[% SET auto_renew = CirculationRules.Get( branchcode, c, i, 'auto_renew' ) %] |
| 243 |
[% SET no_auto_renewal_after = CirculationRules.Get( branchcode, c, i, 'no_auto_renewal_after' ) %] |
| 244 |
[% SET no_auto_renewal_after_hard_limit = CirculationRules.Get( branchcode, c, i, 'no_auto_renewal_after_hard_limit' ) %] |
| 245 |
[% SET reservesallowed = CirculationRules.Get( branchcode, c, i, 'reservesallowed' ) %] |
| 246 |
[% SET holds_per_record = CirculationRules.Get( branchcode, c, i, 'holds_per_record' ) %] |
| 247 |
[% SET onshelfholds = CirculationRules.Get( branchcode, c, i, 'onshelfholds' ) %] |
| 248 |
[% SET opacitemholds = CirculationRules.Get( branchcode, c, i, 'opacitemholds' ) %] |
| 249 |
[% SET article_requests = CirculationRules.Get( branchcode, c, i, 'article_requests' ) %] |
| 250 |
[% SET rentaldiscount = CirculationRules.Get( branchcode, c, i, 'rentaldiscount' ) %] |
| 251 |
|
| 252 |
[% SET show_rule = maxissueqty || maxonsiteissueqty || issuelength || lengthunit || hardduedate || hardduedatebefore || hardduedateexact || fine || chargeperiod |
| 253 |
|| chargeperiod_charge_at || firstremind || overduefinescap || cap_fine_to_replacement_price || finedays || maxsuspensiondays || renewalsallowed |
| 254 |
|| renewalsallowed || norenewalbefore || auto_renew || no_auto_renewal_after || no_auto_renewal_after_hard_limit || reservesallowed |
| 255 |
|| holds_per_record || onshelfholds || opacitemholds || article_requests || article_requests %] |
| 256 |
[% IF show_rule %] |
| 257 |
[% SET row_count = row_count + 1 %] |
| 258 |
<tr row_countd="row_[% row_count %]"> |
| 259 |
<td> |
| 260 |
[% IF c == undef %] |
| 261 |
<em>All</em> |
| 262 |
[% ELSE %] |
| 263 |
[% Categories.GetName(c) %] |
| 264 |
[% END %] |
| 265 |
</td> |
| 266 |
<td> |
| 267 |
[% IF i == undef %] |
| 268 |
<em>All</em> |
| 269 |
[% ELSE %] |
| 270 |
[% ItemTypes.GetDescription(i) %] |
| 271 |
[% END %] |
| 272 |
</td> |
| 273 |
<td class="actions"> |
| 274 |
<a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> |
| 275 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% rule.itemtype || '*' %]&categorycode=[% rule.categorycode || '*' %]&branch=[% current_branch %]"><i class="fa fa-trash"></i> Delete</a> |
| 276 |
</td> |
| 277 |
<td> |
| 278 |
[% IF maxissueqty %] |
| 279 |
[% maxissueqty %] |
| 280 |
[% ELSE %] |
| 281 |
Unlimited |
| 282 |
[% END %] |
| 283 |
</td> |
| 284 |
<td> |
| 285 |
[% IF maxonsiteissueqty %] |
| 286 |
[% maxonsiteissueqty %] |
| 287 |
[% ELSE %] |
| 288 |
Unlimited |
| 289 |
[% END %] |
| 290 |
</td> |
| 291 |
<td>[% issuelength %]</td> |
| 292 |
<td> |
| 293 |
[% lengthunit %] |
| 294 |
</td> |
| 295 |
<td> |
| 296 |
[% IF ( hardduedate ) %] |
| 297 |
[% IF ( hardduedatecompare == '-1' ) %] |
| 298 |
before [% hardduedate | $KohaDates %] |
| 299 |
<input type="hidden" name="hardduedatecomparebackup" value="-1" /> |
| 300 |
[% ELSIF ( hardduedatecompare == '0' ) %] |
| 301 |
on [% hardduedate | $KohaDates %] |
| 302 |
<input type="hidden" name="hardduedatecomparebackup" value="0" /> |
| 303 |
[% ELSIF ( hardduedatecompare == '1' ) %] |
| 304 |
after [% hardduedate | $KohaDates %] |
| 305 |
<input type="hidden" name="hardduedatecomparebackup" value="1" /> |
| 306 |
[% END %] |
| 307 |
[% ELSE %] |
| 308 |
None defined |
| 309 |
[% END %] |
| 310 |
</td> |
| 311 |
<td>[% fine %]</td> |
| 312 |
<td>[% chargeperiod %]</td> |
| 313 |
<td>[% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %]</td> |
| 314 |
<td>[% firstremind %]</td> |
| 315 |
<td>[% overduefinescap FILTER format("%.2f") %]</td> |
| 316 |
<td> |
| 317 |
[% IF cap_fine_to_replacement_price %] |
| 318 |
<input type="checkbox" checked="checked" disabled="disabled" /> |
| 319 |
[% ELSE %] |
| 320 |
<input type="checkbox" disabled="disabled" /> |
| 321 |
[% END %] |
| 322 |
</td> |
| 323 |
<td>[% finedays %]</td> |
| 324 |
<td>[% maxsuspensiondays %]</td> |
| 325 |
<td>[% renewalsallowed %]</td> |
| 326 |
<td>[% renewalperiod %]</td> |
| 327 |
<td>[% norenewalbefore %]</td> |
| 328 |
<td> |
| 329 |
[% IF auto_renew %] |
| 330 |
Yes |
| 331 |
[% ELSE %] |
| 332 |
No |
| 333 |
[% END %] |
| 334 |
</td> |
| 335 |
<td>[% no_auto_renewal_after %]</td> |
| 336 |
<td>[% no_auto_renewal_after_hard_limit %]</td> |
| 337 |
<td>[% reservesallowed %]</td> |
| 338 |
<td>[% holds_per_record %]</td> |
| 339 |
<td> |
| 340 |
[% IF onshelfholds == 1 %] |
| 341 |
Yes |
| 342 |
[% ELSIF onshelfholds == 2 %] |
| 343 |
If all unavailable |
| 344 |
[% ELSE %] |
| 345 |
If any unavailable |
| 346 |
[% END %] |
| 347 |
</td> |
| 348 |
<td>[% IF opacitemholds == 'F'%]Force[% ELSIF opacitemholds == 'Y'%]Allow[% ELSE %]Don't allow[% END %]</td> |
| 349 |
<td> |
| 350 |
[% IF article_requests == 'no' %] |
| 351 |
No |
| 352 |
[% ELSIF article_requests == 'yes' %] |
| 353 |
Yes |
| 354 |
[% ELSIF article_requests == 'bib_only' %] |
| 355 |
Record only |
| 356 |
[% ELSIF article_requests == 'item_only' %] |
| 357 |
Item only |
| 358 |
[% END %] |
| 359 |
</td> |
| 360 |
<td>[% rentaldiscount %]</td> |
| 361 |
<td class="actions"> |
| 362 |
<a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> |
| 363 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% rule.itemtype || '*' %]&categorycode=[% rule.categorycode || '*' %]&branch=[% current_branch %]"><i class="fa fa-trash"></i> Delete</a> |
| 364 |
</td> |
| 365 |
</tr> |
| 366 |
[% END %] |
| 367 |
[% END %] |
| 368 |
[% END %] |
| 369 |
<tr id="edit_row"> |
| 370 |
<td> |
| 371 |
<select name="categorycode" id="categorycode"> |
| 372 |
<option value="*">All</option> |
| 373 |
[% FOREACH patron_category IN patron_categories%] |
| 374 |
<option value="[% patron_category.categorycode %]">[% patron_category.description %]</option> |
| 375 |
[% END %] |
| 376 |
</select> |
| 377 |
</td> |
| 378 |
<td> |
| 379 |
<select name="itemtype" id="matrixitemtype" style="width:13em;"> |
| 380 |
<option value="*">All</option> |
| 381 |
[% FOREACH itemtypeloo IN itemtypeloop %] |
| 382 |
<option value="[% itemtypeloo.itemtype %]">[% itemtypeloo.translated_description %]</option> |
| 383 |
[% END %] |
| 384 |
</select> |
| 385 |
</td> |
| 386 |
<td class="actions"> |
| 387 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 388 |
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button> |
| 389 |
<button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button> |
| 390 |
</td> |
| 391 |
<td><input type="text" name="maxissueqty" id="maxissueqty" size="3" /></td> |
| 392 |
<td><input type="text" name="maxonsiteissueqty" id="maxonsiteissueqty" size="3" /></td> |
| 393 |
<td><input type="text" name="issuelength" id="issuelength" size="3" /> </td> |
| 394 |
<td> |
| 395 |
<select name="lengthunit" id="lengthunit"> |
| 396 |
<option value="days" selected="selected">Days</option> |
| 397 |
<option value="hours">Hours</option> |
| 398 |
</select> |
| 399 |
</td> |
| 400 |
<td> |
| 401 |
<select name="hardduedatecompare" id="hardduedatecompare"> |
| 402 |
<option value="-1">Before</option> |
| 403 |
<option value="0">Exactly on</option> |
| 404 |
<option value="1">After</option> |
| 405 |
</select> |
| 406 |
<input type="text" size="10" id="hardduedate" name="hardduedate" value="[% hardduedate %]" class="datepicker" /> |
| 407 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
| 408 |
</td> |
| 409 |
<td><input type="text" name="fine" id="fine" size="4" /></td> |
| 410 |
<td><input type="text" name="chargeperiod" id="chargeperiod" size="2" /></td> |
| 411 |
<td> |
| 412 |
<select name="chargeperiod_charge_at" id="chargeperiod_charge_at"> |
| 413 |
<option value="0">End of interval</option> |
| 414 |
<option value="1">Start of interval</option> |
| 415 |
</select> |
| 416 |
</td> |
| 417 |
<td><input type="text" name="firstremind" id="firstremind" size="2" /> </td> |
| 418 |
<td><input type="text" name="overduefinescap" id="overduefinescap" size="6" /> </td> |
| 419 |
<td><input type="checkbox" name="cap_fine_to_replacement_price" id="cap_fine_to_replacement_price" /></td> |
| 420 |
<td><input type="text" name="finedays" id="fined" size="3" /> </td> |
| 421 |
<td><input type="text" name="maxsuspensiondays" id="maxsuspensiondays" size="3" /> </td> |
| 422 |
<td><input type="text" name="renewalsallowed" id="renewalsallowed" size="2" /></td> |
| 423 |
<td><input type="text" name="renewalperiod" id="renewalperiod" size="3" /></td> |
| 424 |
<td><input type="text" name="norenewalbefore" id="norenewalbefore" size="3" /></td> |
| 425 |
<td> |
| 426 |
<select name="auto_renew" id="auto_renew"> |
| 427 |
<option value="no" selected>No</option> |
| 428 |
<option value="yes">Yes</option> |
| 429 |
</select> |
| 430 |
</td> |
| 431 |
<td><input type="text" name="no_auto_renewal_after" id="no_auto_renewal_after" size="3" /></td> |
| 432 |
<td> |
| 433 |
<input type="text" size="10" name="no_auto_renewal_after_hard_limit" id="no_auto_renewal_after_hard_limit" value="[% no_auto_renewal_after_hard_limit %]" class="datepicker"/> |
| 434 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
| 435 |
</td> |
| 436 |
<td><input type="text" name="reservesallowed" id="reservesallowed" size="2" /></td> |
| 437 |
<td><input type="text" name="holds_per_record" id="holds_per_record" size="2" /></td> |
| 438 |
<td> |
| 439 |
<select name="onshelfholds" id="onshelfholds"> |
| 440 |
<option value="1">Yes</option> |
| 441 |
<option value="0">If any unavailable</option> |
| 442 |
<option value="2">If all unavailable</option> |
| 443 |
</select> |
| 444 |
</td> |
| 445 |
<td> |
| 446 |
<select id="opacitemholds" name="opacitemholds"> |
| 447 |
<option value="N">Don't allow</option> |
| 448 |
<option value="Y">Allow</option> |
| 449 |
<option value="F">Force</option> |
| 450 |
</select> |
| 451 |
</td> |
| 452 |
<td> |
| 453 |
<select id="article_requests" name="article_requests"> |
| 454 |
<option value="no">No</option> |
| 455 |
<option value="yes">Yes</option> |
| 456 |
<option value="bib_only">Record only</option> |
| 457 |
<option value="item_only">Item only</option> |
| 458 |
</select> |
| 459 |
</td> |
| 460 |
<td><input type="text" name="rentaldiscount" id="rentaldiscount" size="2" /></td> |
| 461 |
<td class="actions"> |
| 462 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 463 |
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button> |
| 464 |
<button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button> |
| 465 |
</td> |
| 466 |
</tr> |
| 467 |
<tfoot> |
| 468 |
<tr> |
| 469 |
<th>Patron category</th> |
| 470 |
<th>Item type</th> |
| 471 |
<th> </th> |
| 472 |
<th>Current checkouts allowed</th> |
| 473 |
<th>Current on-site checkouts allowed</th> |
| 474 |
<th>Loan period</th> |
| 475 |
<th>Unit</th> |
| 476 |
<th>Hard due date</th> |
| 477 |
<th>Fine amount</th> |
| 478 |
<th>Fine charging interval</th> |
| 479 |
<th>Charge when?</th> |
| 480 |
<th>Fine grace period</th> |
| 481 |
<th>Overdue fines cap (amount)</th> |
| 482 |
<th>Cap fine at replacement price</th> |
| 483 |
<th>Suspension in days (day)</th> |
| 484 |
<th>Max. suspension duration (day)</th> |
| 485 |
<th>Renewals allowed (count)</th> |
| 486 |
<th>Renewal period</th> |
| 487 |
<th>No renewal before</th> |
| 488 |
<th>Automatic renewal</th> |
| 489 |
<th>No automatic renewal after</th> |
| 490 |
<th>No automatic renewal after (hard limit)</th> |
| 491 |
<th>Holds allowed (count)</th> |
| 492 |
<th>Holds per record (count)</th> |
| 493 |
<th>On shelf holds allowed</th> |
| 494 |
<th>Item level holds</th> |
| 495 |
<th>Article requests</th> |
| 496 |
<th>Rental discount (%)</th> |
| 497 |
<th> </th> |
| 498 |
</tr> |
| 499 |
</tfoot> |
| 500 |
</tbody> |
| 501 |
</table> |
| 502 |
</form> |
| 503 |
</div> |
| 504 |
<div id="defaults-for-this-library" class="container"> |
| 505 |
<h3>Default checkout, hold and return policy[% IF humanbranch %] for [% Branches.GetName( humanbranch ) %][% END %]</h3> |
| 506 |
<p>You can set a default maximum number of checkouts, hold policy and return policy that will be used if none is defined below for a particular item type or category.</p> |
| 507 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
| 508 |
<input type="hidden" name="op" value="set-branch-defaults" /> |
| 509 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 510 |
<table> |
| 511 |
<tr> |
| 512 |
<th> </th> |
| 513 |
<th>Total current checkouts allowed</th> |
| 514 |
<th>Total current on-site checkouts allowed</th> |
| 515 |
<th>Maximum total holds allowed (count)</th> |
| 516 |
<th>Hold policy</th> |
| 517 |
<th>Hold pickup library match</th> |
| 518 |
<th>Return policy</th> |
| 519 |
<th>Actions</th> |
| 520 |
</tr> |
| 521 |
<tr> |
| 522 |
<td><em>Defaults</em></td> |
| 523 |
<td> |
| 524 |
[% SET patron_maxissueqty = CirculationRules.Get( branchcode, undef, undef, 'patron_maxissueqty' ) %] |
| 525 |
<input type="text" name="patron_maxissueqty" size="3" value="[% patron_maxissueqty %]"/> |
| 526 |
</td> |
| 527 |
<td> |
| 528 |
[% SET patron_maxonsiteissueqty = CirculationRules.Get( branchcode, undef, undef, 'patron_maxonsiteissueqty' ) %] |
| 529 |
<input type="text" name="patron_maxonsiteissueqty" size="3" value="[% patron_maxonsiteissueqty %]"/> |
| 530 |
</td> |
| 531 |
<td> |
| 532 |
[% SET rule_value = CirculationRules.Get( current_branch, '*', undef, 'max_holds' ) %] |
| 533 |
<input name="max_holds" size="3" value="[% rule_value %]" /> |
| 534 |
</td> |
| 535 |
<td> |
| 536 |
<select name="holdallowed"> |
| 537 |
[% SET holdallowed = CirculationRules.Get( branchcode, undef, undef, 'holdallowed' ) %] |
| 538 |
<option value=""> |
| 539 |
Not set |
| 540 |
</option> |
| 541 |
|
| 542 |
[% IF holdallowed == 2 %] |
| 543 |
<option value="2" selected="selected"> |
| 544 |
[% ELSE %] |
| 545 |
<option value="2"> |
| 546 |
[% END %] |
| 547 |
From any library |
| 548 |
</option> |
| 549 |
|
| 550 |
[% IF holdallowed == 1 %] |
| 551 |
<option value="1" selected="selected"> |
| 552 |
[% ELSE %] |
| 553 |
<option value="1"> |
| 554 |
[% END %] |
| 555 |
From home library |
| 556 |
</option> |
| 557 |
|
| 558 |
[% IF holdallowed == 0 %] |
| 559 |
<option value="0" selected="selected"> |
| 560 |
[% ELSE %] |
| 561 |
<option value="0"> |
| 562 |
[% END %] |
| 563 |
No holds allowed |
| 564 |
</option> |
| 565 |
|
| 566 |
</select> |
| 567 |
</td> |
| 568 |
<td> |
| 569 |
<select name="hold_fulfillment_policy"> |
| 570 |
[% SET hold_fulfillment_policy = CirculationRules.Get( branchcode, undef, undef, 'hold_fulfillment_policy' ) %] |
| 571 |
|
| 572 |
<option value=""> |
| 573 |
Not set |
| 574 |
</option> |
| 575 |
|
| 576 |
[% IF hold_fulfillment_policy == 'any' %] |
| 577 |
<option value="any" selected="selected"> |
| 578 |
any library |
| 579 |
</option> |
| 580 |
[% ELSE %] |
| 581 |
<option value="any"> |
| 582 |
any library |
| 583 |
</option> |
| 584 |
[% END %] |
| 585 |
|
| 586 |
[% IF hold_fulfillment_policy == 'homebranch' %] |
| 587 |
<option value="homebranch" selected="selected"> |
| 588 |
item's home library |
| 589 |
</option> |
| 590 |
[% ELSE %] |
| 591 |
<option value="homebranch"> |
| 592 |
item's home library |
| 593 |
</option> |
| 594 |
[% END %] |
| 595 |
|
| 596 |
[% IF hold_fulfillment_policy == 'holdingbranch' %] |
| 597 |
<option value="holdingbranch" selected="selected"> |
| 598 |
item's holding library |
| 599 |
</option> |
| 600 |
[% ELSE %] |
| 601 |
<option value="holdingbranch"> |
| 602 |
item's holding library |
| 603 |
</option> |
| 604 |
[% END %] |
| 605 |
</select> |
| 606 |
</td> |
| 607 |
<td> |
| 608 |
<select name="returnbranch"> |
| 609 |
[% SET returnbranch = CirculationRules.Get( branchcode, undef, undef, 'returnbranch' ) %] |
| 610 |
|
| 611 |
<option value=""> |
| 612 |
Not set |
| 613 |
</option> |
| 614 |
|
| 615 |
[% IF returnbranch == 'homebranch' %] |
| 616 |
<option value="homebranch" selected="selected"> |
| 617 |
[% ELSE %] |
| 618 |
<option value="homebranch"> |
| 619 |
[% END %] |
| 620 |
Item returns home |
| 621 |
</option> |
| 622 |
[% IF returnbranch == 'holdingbranch' %] |
| 623 |
<option value="holdingbranch" selected="selected"> |
| 624 |
[% ELSE %] |
| 625 |
<option value="holdingbranch"> |
| 626 |
[% END %] |
| 627 |
Item returns to issuing library |
| 628 |
</option> |
| 629 |
[% IF returnbranch == 'noreturn' %] |
| 630 |
<option value="noreturn" selected="selected"> |
| 631 |
[% ELSE %] |
| 632 |
<option value="noreturn"> |
| 633 |
[% END %] |
| 634 |
Item floats |
| 635 |
</option> |
| 636 |
</select> |
| 637 |
</td> |
| 638 |
<td class="actions"> |
| 639 |
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button> |
| 640 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=*&branch=[% current_branch %]" id="unset"><i class="fa fa-undo"></i> Unset</a> |
| 641 |
</td> |
| 642 |
</tr> |
| 643 |
</table> |
| 644 |
</form> |
| 645 |
</div> |
| 646 |
[% IF ( show_branch_cat_rule_form ) %] |
| 647 |
<div id="holds-policy-by-patron-category" class="container"> |
| 648 |
<h3>[% IF humanbranch %]Checkout limit by patron category for [% Branches.GetName( humanbranch ) %][% ELSE %]Default checkout limit by patron category[% END %]</h3> |
| 649 |
<p>For this library, you can specify the maximum number of loans that |
| 650 |
a patron of a given category can make, regardless of the item type. |
| 651 |
</p> |
| 652 |
<p>If the total amount loanable for a given patron category is left blank, |
| 653 |
no limit applies, except possibly for a limit you define for a specific item type. |
| 654 |
</p> |
| 655 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
| 656 |
<input type="hidden" name="op" value="add-branch-cat" /> |
| 657 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 658 |
<table> |
| 659 |
<tr> |
| 660 |
<th>Patron category</th> |
| 661 |
<th>Total current checkouts allowed</th> |
| 662 |
<th>Total current on-site checkouts allowed</th> |
| 663 |
<th>Maximum total holds allowed (count)</th> |
| 664 |
<th> </th> |
| 665 |
</tr> |
| 666 |
[% FOREACH c IN categorycodes %] |
| 667 |
[% NEXT UNLESS c %] |
| 668 |
[% SET patron_maxissueqty = CirculationRules.Get( branchcode, c, undef, 'patron_maxissueqty' ) %] |
| 669 |
[% SET patron_maxonsiteissueqty = CirculationRules.Get( branchcode, c, undef, 'patron_maxonsiteissueqty' ) %] |
| 670 |
[% SET max_holds = CirculationRules.Get( branchcode, c, undef, 'max_holds' ) %] |
| 671 |
|
| 672 |
[% IF patron_maxissueqty || patron_maxonsiteissueqty || max_holds %] |
| 673 |
<tr> |
| 674 |
<td> |
| 675 |
[% IF c == undef %] |
| 676 |
<em>Default</em> |
| 677 |
[% ELSE %] |
| 678 |
[% Categories.GetName(c) %] |
| 679 |
[% END %] |
| 680 |
</td> |
| 681 |
<td> |
| 682 |
[% IF patron_maxissueqty %] |
| 683 |
[% patron_maxissueqty %] |
| 684 |
[% ELSE %] |
| 685 |
Unlimited |
| 686 |
[% END %] |
| 687 |
</td> |
| 688 |
<td> |
| 689 |
[% IF patron_maxonsiteissueqty %] |
| 690 |
[% patron_maxonsiteissueqty %] |
| 691 |
[% ELSE %] |
| 692 |
Unlimited |
| 693 |
[% END %] |
| 694 |
</td> |
| 695 |
<td> |
| 696 |
[% IF max_holds %] |
| 697 |
[% max_holds %] |
| 698 |
[% ELSE %] |
| 699 |
Unlimited |
| 700 |
[% END %] |
| 701 |
</td> |
| 702 |
|
| 703 |
<td class="actions"> |
| 704 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=[% c %]&branch=[% current_branch %]"><i class="fa fa-trash"></i> Delete</a> |
| 705 |
</td> |
| 706 |
</tr> |
| 707 |
[% END %] |
| 708 |
[% END %] |
| 709 |
<tr> |
| 710 |
<td> |
| 711 |
<select name="categorycode"> |
| 712 |
[% FOREACH patron_category IN patron_categories%] |
| 713 |
<option value="[% patron_category.categorycode %]">[% patron_category.description %]</option> |
| 714 |
[% END %] |
| 715 |
</select> |
| 716 |
</td> |
| 717 |
<td><input name="patron_maxissueqty" size="3" /></td> |
| 718 |
<td><input name="patron_maxonsiteissueqty" size="3" /></td> |
| 719 |
<td><input name="max_holds" size="3" /></td> |
| 720 |
<td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td> |
| 721 |
</tr> |
| 722 |
</table> |
| 723 |
</form> |
| 724 |
</div> |
| 725 |
[% END %] |
| 726 |
|
| 727 |
<div id="refund-lost-item-fee-on-return" class="container"> |
| 728 |
[% IF current_branch == '*' %] |
| 729 |
<h3>Default lost item fee refund on return policy</h3> |
| 730 |
[% ELSE %] |
| 731 |
<h3>Lost item fee refund on return policy for [% Branches.GetName(current_branch) %]</h3> |
| 732 |
[% END %] |
| 733 |
<p>Specify the default policy for lost item fees on return. |
| 734 |
</p> |
| 735 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
| 736 |
<input type="hidden" name="op" value="mod-refund-lost-item-fee-rule" /> |
| 737 |
<input type="hidden" name="branch" value="[% current_branch %]" /> |
| 738 |
<table> |
| 739 |
<tr> |
| 740 |
<th>Refund lost item fee</th> |
| 741 |
<th> </th> |
| 742 |
</tr> |
| 743 |
<tr> |
| 744 |
<td> |
| 745 |
<select name="refund"> |
| 746 |
[#% Default branch %#] |
| 747 |
[% IF ( current_branch == '*' ) %] |
| 748 |
[% IF ( refundLostItemFeeRule.rule_value ) %] |
| 749 |
<option value="1" selected="selected"> |
| 750 |
[% ELSE %] |
| 751 |
<option value="1"> |
| 752 |
[% END %] |
| 753 |
Yes |
| 754 |
</option> |
| 755 |
[% IF ( not refundLostItemFeeRule.rule_value ) %] |
| 756 |
<option value="0" selected="selected"> |
| 757 |
[% ELSE %] |
| 758 |
<option value="0"> |
| 759 |
[% END %] |
| 760 |
No |
| 761 |
</option> |
| 762 |
[% ELSE %] |
| 763 |
[#% Branch-specific %#] |
| 764 |
[% IF ( not refundLostItemFeeRule ) %] |
| 765 |
<option value="*" selected="selected"> |
| 766 |
[% ELSE %] |
| 767 |
<option value="*"> |
| 768 |
[% END %] |
| 769 |
[% IF defaultRefundRule %] |
| 770 |
Use default (Yes) |
| 771 |
[% ELSE %] |
| 772 |
Use default (No) |
| 773 |
[% END %] |
| 774 |
</option> |
| 775 |
[% IF ( not refundLostItemFeeRule ) %] |
| 776 |
<option value="1">Yes</option> |
| 777 |
<option value="0">No</option> |
| 778 |
[% ELSE %] |
| 779 |
[% IF ( refundLostItemFeeRule.rule_value ) %] |
| 780 |
<option value="1" selected="selected"> |
| 781 |
[% ELSE %] |
| 782 |
<option value="1"> |
| 783 |
[% END %] |
| 784 |
Yes |
| 785 |
</option> |
| 786 |
[% IF ( not refundLostItemFeeRule.rule_value ) %] |
| 787 |
<option value="0" selected="selected"> |
| 788 |
[% ELSE %] |
| 789 |
<option value="0"> |
| 790 |
[% END %] |
| 791 |
No |
| 792 |
</option> |
| 793 |
[% END %] |
| 794 |
[% END %] |
| 795 |
</select> |
| 796 |
</td> |
| 797 |
<td class="actions"> |
| 798 |
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button> |
| 799 |
</td> |
| 800 |
</td> |
| 801 |
</tr> |
| 802 |
</table> |
| 803 |
</form> |
| 804 |
</div> |
| 805 |
|
| 806 |
<div id="holds-policy-by-item-type" class="container"> |
| 807 |
<h3>[% IF humanbranch %]Holds policy by item type for [% Branches.GetName( humanbranch ) %][% ELSE %]Default holds policy by item type[% END %]</h3> |
| 808 |
<p> |
| 809 |
For this library, you can edit rules for given itemtypes, regardless |
| 810 |
of the patron's category. |
| 811 |
</p> |
| 812 |
<p> |
| 813 |
Currently, this means hold policies. |
| 814 |
The various policies have the following effects: |
| 815 |
</p> |
| 816 |
<ul> |
| 817 |
<li><strong>From any library:</strong> Patrons from any library may put this item on hold. <cite>(default if none is defined)</cite></li> |
| 818 |
<li><strong>From home library:</strong> Only patrons from the item's home library may put this book on hold.</li> |
| 819 |
<li><strong>No holds allowed:</strong> No patron may put this book on hold.</li> |
| 820 |
</ul> |
| 821 |
<p><strong>Note: </strong>If the system preference 'AllowHoldPolicyOverride' is enabled, these policies can be overridden by your circulation staff.</br /> |
| 822 |
<strong>Important: </strong>The policies are based on the patron's home library, not the library where the hold is being placed. |
| 823 |
</p> |
| 824 |
|
| 825 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
| 826 |
<input type="hidden" name="op" value="add-branch-item" /> |
| 827 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 828 |
<table> |
| 829 |
<tr> |
| 830 |
<th>Item type</th> |
| 831 |
<th>Hold policy</th> |
| 832 |
<th>Hold pickup library match</th> |
| 833 |
<th>Return policy</th> |
| 834 |
<th> </th> |
| 835 |
</tr> |
| 836 |
[% FOREACH i IN itemtypeloop %] |
| 837 |
[% SET holdallowed = CirculationRules.Get( branchcode, undef, i.itemtype, 'holdallowed' ) %] |
| 838 |
[% SET hold_fulfillment_policy = CirculationRules.Get( branchcode, undef, i.itemtype, 'hold_fulfillment_policy' ) %] |
| 839 |
[% SET returnbranch = CirculationRules.Get( branchcode, undef, i.itemtype, 'returnbranch' ) %] |
| 840 |
|
| 841 |
[% IF holdallowed || hold_fulfillment_policy || returnbranch %] |
| 842 |
<tr> |
| 843 |
<td> |
| 844 |
[% i.translated_description %] |
| 845 |
</td> |
| 846 |
<td> |
| 847 |
[% IF holdallowed == 2 %] |
| 848 |
From any library |
| 849 |
[% ELSIF holdallowed == 1 %] |
| 850 |
From home library |
| 851 |
[% ELSE %] |
| 852 |
No holds allowed |
| 853 |
[% END %] |
| 854 |
</td> |
| 855 |
<td> |
| 856 |
[% IF hold_fulfillment_policy == 'any' %] |
| 857 |
any library |
| 858 |
[% ELSIF hold_fulfillment_policy == 'homebranch' %] |
| 859 |
item's home library |
| 860 |
[% ELSIF hold_fulfillment_policy == 'holdingbranch' %] |
| 861 |
item's holding library |
| 862 |
[% END %] |
| 863 |
</td> |
| 864 |
<td> |
| 865 |
[% IF returnbranch == 'homebranch' %] |
| 866 |
Item returns home |
| 867 |
[% ELSIF returnbranch == 'holdingbranch' %] |
| 868 |
Item returns to issuing branch |
| 869 |
[% ELSIF returnbranch == 'noreturn' %] |
| 870 |
Item floats |
| 871 |
[% END %] |
| 872 |
</td> |
| 873 |
<td class="actions"> |
| 874 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-item&itemtype=[% i.itemtype %]&branch=[% current_branch %]"><i class="fa fa-trash"></i> Delete</a> |
| 875 |
</td> |
| 876 |
</tr> |
| 877 |
[% END %] |
| 878 |
[% END %] |
| 879 |
<tr> |
| 880 |
<td> |
| 881 |
<select name="itemtype"> |
| 882 |
[% FOREACH itemtypeloo IN itemtypeloop %] |
| 883 |
<option value="[% itemtypeloo.itemtype %]">[% itemtypeloo.translated_description %]</option> |
| 884 |
[% END %] |
| 885 |
</select> |
| 886 |
</td> |
| 887 |
<td> |
| 888 |
<select name="holdallowed"> |
| 889 |
<option value="2">From any library</option> |
| 890 |
<option value="1">From home library</option> |
| 891 |
<option value="0">No holds allowed</option> |
| 892 |
</select> |
| 893 |
</td> |
| 894 |
<td> |
| 895 |
<select name="hold_fulfillment_policy"> |
| 896 |
<option value="any"> |
| 897 |
any library |
| 898 |
</option> |
| 899 |
|
| 900 |
<option value="homebranch"> |
| 901 |
item's home library |
| 902 |
</option> |
| 903 |
|
| 904 |
<option value="holdingbranch"> |
| 905 |
item's holding library |
| 906 |
</option> |
| 907 |
</select> |
| 908 |
</td> |
| 909 |
<td> |
| 910 |
<select name="returnbranch"> |
| 911 |
<option value="homebranch">Item returns home</option> |
| 912 |
<option value="holdingbranch">Item returns to issuing library</option> |
| 913 |
<option value="noreturn">Item floats</option> |
| 914 |
</select> |
| 915 |
</td> |
| 916 |
<td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</button></td> |
| 917 |
</tr> |
| 918 |
</table> |
| 919 |
</form> |
| 920 |
</div> |
| 921 |
</div> |
| 922 |
|
| 923 |
</div> |
| 924 |
<div class="yui-b"> |
| 925 |
[% INCLUDE 'admin-menu.inc' %] |
| 926 |
</div> |
| 927 |
</div> |
| 928 |
[% INCLUDE 'intranet-bottom.inc' %] |