Lines 87-94
$(document).ready(function() {
Link Here
|
87 |
// Remove potential previous input added |
87 |
// Remove potential previous input added |
88 |
$(current_column).find("input").remove(); |
88 |
$(current_column).find("input").remove(); |
89 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
89 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
90 |
} else if ( i == 3 || i == 4 ) { |
90 |
} else if ( i == 3 || i == 4 || i == 23 ) { |
91 |
// If the value is not an integer for "Current checkouts allowed" or "Current on-site checkouts allowed" |
91 |
// If the value is not an integer for |
|
|
92 |
// - "Current checkouts allowed" |
93 |
// - "Current on-site checkouts allowed" |
94 |
// - "Holds allowed (daily)" |
92 |
// The value is "Unlimited" (or an equivalent translated string) |
95 |
// The value is "Unlimited" (or an equivalent translated string) |
93 |
// an it should be set to an empty string |
96 |
// an it should be set to an empty string |
94 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
97 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
Lines 188-194
$(document).ready(function() {
Link Here
|
188 |
<th>Automatic renewal</th> |
191 |
<th>Automatic renewal</th> |
189 |
<th>No automatic renewal after</th> |
192 |
<th>No automatic renewal after</th> |
190 |
<th>No automatic renewal after (hard limit)</th> |
193 |
<th>No automatic renewal after (hard limit)</th> |
191 |
<th>Holds allowed (count)</th> |
194 |
<th>Holds allowed (total)</th> |
|
|
195 |
<th>Holds allowed (daily)</th> |
192 |
<th>Holds per record (count)</th> |
196 |
<th>Holds per record (count)</th> |
193 |
<th>On shelf holds allowed</th> |
197 |
<th>On shelf holds allowed</th> |
194 |
<th>Item level holds</th> |
198 |
<th>Item level holds</th> |
Lines 276-281
$(document).ready(function() {
Link Here
|
276 |
<td>[% rule.no_auto_renewal_after %]</td> |
280 |
<td>[% rule.no_auto_renewal_after %]</td> |
277 |
<td>[% rule.no_auto_renewal_after_hard_limit %]</td> |
281 |
<td>[% rule.no_auto_renewal_after_hard_limit %]</td> |
278 |
<td>[% rule.reservesallowed %]</td> |
282 |
<td>[% rule.reservesallowed %]</td> |
|
|
283 |
<td>[% IF rule.unlimited_holds_per_day %] |
284 |
Unlimited |
285 |
[% ELSE %] |
286 |
[% rule.holds_per_day %] |
287 |
[% END %] |
288 |
</td> |
279 |
<td>[% rule.holds_per_record %]</td> |
289 |
<td>[% rule.holds_per_record %]</td> |
280 |
<td> |
290 |
<td> |
281 |
[% IF rule.onshelfholds == 1 %] |
291 |
[% IF rule.onshelfholds == 1 %] |
Lines 373-378
$(document).ready(function() {
Link Here
|
373 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
383 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
374 |
</td> |
384 |
</td> |
375 |
<td><input type="text" name="reservesallowed" id="reservesallowed" size="2" /></td> |
385 |
<td><input type="text" name="reservesallowed" id="reservesallowed" size="2" /></td> |
|
|
386 |
<td><input type="text" name="holds_per_day" id="holds_per_day" size="2" /></td> |
376 |
<td><input type="text" name="holds_per_record" id="holds_per_record" size="2" /></td> |
387 |
<td><input type="text" name="holds_per_record" id="holds_per_record" size="2" /></td> |
377 |
<td> |
388 |
<td> |
378 |
<select name="onshelfholds" id="onshelfholds"> |
389 |
<select name="onshelfholds" id="onshelfholds"> |
Lines 426-433
$(document).ready(function() {
Link Here
|
426 |
<th>No renewal before</th> |
437 |
<th>No renewal before</th> |
427 |
<th>Automatic renewal</th> |
438 |
<th>Automatic renewal</th> |
428 |
<th>No automatic renewal after</th> |
439 |
<th>No automatic renewal after</th> |
429 |
<th>No automatic renewal after (hard limit)</th> |
440 |
<th>No automatic renewal after (hard limit)</th> |
430 |
<th>Holds allowed (count)</th> |
441 |
<th>Holds allowed (total)</th> |
|
|
442 |
<th>Holds allowed (daily)</th> |
431 |
<th>Holds per record (count)</th> |
443 |
<th>Holds per record (count)</th> |
432 |
<th>On shelf holds allowed</th> |
444 |
<th>On shelf holds allowed</th> |
433 |
<th>Item level holds</th> |
445 |
<th>Item level holds</th> |
434 |
- |
|
|