Lines 87-93
Link Here
|
87 |
<th>Automatic renewal</th> |
87 |
<th>Automatic renewal</th> |
88 |
<th>No automatic renewal after</th> |
88 |
<th>No automatic renewal after</th> |
89 |
<th>No automatic renewal after (hard limit)</th> |
89 |
<th>No automatic renewal after (hard limit)</th> |
90 |
<th>Holds allowed (count)</th> |
90 |
<th>Holds allowed (total)</th> |
|
|
91 |
<th>Holds allowed (daily)</th> |
91 |
<th>Holds per record (count)</th> |
92 |
<th>Holds per record (count)</th> |
92 |
<th>On shelf holds allowed</th> |
93 |
<th>On shelf holds allowed</th> |
93 |
<th>Item level holds</th> |
94 |
<th>Item level holds</th> |
Lines 182-188
Link Here
|
182 |
<td>[% rule.no_auto_renewal_after | html %]</td> |
183 |
<td>[% rule.no_auto_renewal_after | html %]</td> |
183 |
<td>[% rule.no_auto_renewal_after_hard_limit | html %]</td> |
184 |
<td>[% rule.no_auto_renewal_after_hard_limit | html %]</td> |
184 |
<td>[% rule.reservesallowed | html %]</td> |
185 |
<td>[% rule.reservesallowed | html %]</td> |
185 |
<td>[% rule.holds_per_record | html %]</td> |
186 |
<td>[% IF rule.unlimited_holds_per_day %] |
|
|
187 |
<span>Unlimited</span> |
188 |
[% ELSE %] |
189 |
[% rule.holds_per_day | html %] |
190 |
[% END %] |
191 |
</td> |
192 |
<td>[% rule.holds_per_record | html %]</td> |
186 |
<td> |
193 |
<td> |
187 |
[% IF rule.onshelfholds == 1 %] |
194 |
[% IF rule.onshelfholds == 1 %] |
188 |
<span>Yes</span> |
195 |
<span>Yes</span> |
Lines 288-294
Link Here
|
288 |
<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 | html %]" class="datepicker"/> |
295 |
<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 | html %]" class="datepicker"/> |
289 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
296 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
290 |
</td> |
297 |
</td> |
291 |
<td><input type="text" name="reservesallowed" id="reservesallowed" size="2" /></td> |
298 |
<td><input type="text" name="reservesallowed" id="reservesallowed" size="2" /></td> |
|
|
299 |
<td><input type="text" name="holds_per_day" id="holds_per_day" size="2" /></td> |
292 |
<td><input type="text" name="holds_per_record" id="holds_per_record" size="2" /></td> |
300 |
<td><input type="text" name="holds_per_record" id="holds_per_record" size="2" /></td> |
293 |
<td> |
301 |
<td> |
294 |
<select name="onshelfholds" id="onshelfholds"> |
302 |
<select name="onshelfholds" id="onshelfholds"> |
Lines 343-350
Link Here
|
343 |
<th>No renewal before</th> |
351 |
<th>No renewal before</th> |
344 |
<th>Automatic renewal</th> |
352 |
<th>Automatic renewal</th> |
345 |
<th>No automatic renewal after</th> |
353 |
<th>No automatic renewal after</th> |
346 |
<th>No automatic renewal after (hard limit)</th> |
354 |
<th>No automatic renewal after (hard limit)</th> |
347 |
<th>Holds allowed (count)</th> |
355 |
<th>Holds allowed (total)</th> |
|
|
356 |
<th>Holds allowed (daily)</th> |
348 |
<th>Holds per record (count)</th> |
357 |
<th>Holds per record (count)</th> |
349 |
<th>On shelf holds allowed</th> |
358 |
<th>On shelf holds allowed</th> |
350 |
<th>Item level holds</th> |
359 |
<th>Item level holds</th> |
Lines 847-854
Link Here
|
847 |
// Remove potential previous input added |
856 |
// Remove potential previous input added |
848 |
$(current_column).find("input").remove(); |
857 |
$(current_column).find("input").remove(); |
849 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
858 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
850 |
} else if ( i == 3 || i == 4 ) { |
859 |
} else if ( i == 3 || i == 4 || i == 24 ) { |
851 |
// If the value is not an integer for "Current checkouts allowed" or "Current on-site checkouts allowed" |
860 |
// If the value is not an integer for |
|
|
861 |
// - "Current checkouts allowed" |
862 |
// - "Current on-site checkouts allowed" |
863 |
// - "Holds allowed (daily)" |
852 |
// The value is "Unlimited" (or an equivalent translated string) |
864 |
// The value is "Unlimited" (or an equivalent translated string) |
853 |
// an it should be set to an empty string |
865 |
// an it should be set to an empty string |
854 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
866 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
855 |
- |
|
|