Lines 84-90
Link Here
|
84 |
<th>Automatic renewal</th> |
84 |
<th>Automatic renewal</th> |
85 |
<th>No automatic renewal after</th> |
85 |
<th>No automatic renewal after</th> |
86 |
<th>No automatic renewal after (hard limit)</th> |
86 |
<th>No automatic renewal after (hard limit)</th> |
87 |
<th>Holds allowed (count)</th> |
87 |
<th>Holds allowed (total)</th> |
|
|
88 |
<th>Holds allowed (daily)</th> |
88 |
<th>Holds per record (count)</th> |
89 |
<th>Holds per record (count)</th> |
89 |
<th>On shelf holds allowed</th> |
90 |
<th>On shelf holds allowed</th> |
90 |
<th>Item level holds</th> |
91 |
<th>Item level holds</th> |
Lines 171-177
Link Here
|
171 |
</td> |
172 |
</td> |
172 |
<td>[% rule.no_auto_renewal_after %]</td> |
173 |
<td>[% rule.no_auto_renewal_after %]</td> |
173 |
<td>[% rule.no_auto_renewal_after_hard_limit %]</td> |
174 |
<td>[% rule.no_auto_renewal_after_hard_limit %]</td> |
174 |
<td>[% rule.reservesallowed %]</td> |
175 |
<td>[% rule.reservesallowed %]</td> |
|
|
176 |
<td>[% IF rule.unlimited_holds_per_day %] |
177 |
Unlimited |
178 |
[% ELSE %] |
179 |
[% rule.holds_per_day %] |
180 |
[% END %] |
181 |
</td> |
175 |
<td>[% rule.holds_per_record %]</td> |
182 |
<td>[% rule.holds_per_record %]</td> |
176 |
<td> |
183 |
<td> |
177 |
[% IF rule.onshelfholds == 1 %] |
184 |
[% IF rule.onshelfholds == 1 %] |
Lines 268-274
Link Here
|
268 |
<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"/> |
275 |
<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"/> |
269 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
276 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
270 |
</td> |
277 |
</td> |
271 |
<td><input type="text" name="reservesallowed" id="reservesallowed" size="2" /></td> |
278 |
<td><input type="text" name="reservesallowed" id="reservesallowed" size="2" /></td> |
|
|
279 |
<td><input type="text" name="holds_per_day" id="holds_per_day" size="2" /></td> |
272 |
<td><input type="text" name="holds_per_record" id="holds_per_record" size="2" /></td> |
280 |
<td><input type="text" name="holds_per_record" id="holds_per_record" size="2" /></td> |
273 |
<td> |
281 |
<td> |
274 |
<select name="onshelfholds" id="onshelfholds"> |
282 |
<select name="onshelfholds" id="onshelfholds"> |
Lines 322-329
Link Here
|
322 |
<th>No renewal before</th> |
330 |
<th>No renewal before</th> |
323 |
<th>Automatic renewal</th> |
331 |
<th>Automatic renewal</th> |
324 |
<th>No automatic renewal after</th> |
332 |
<th>No automatic renewal after</th> |
325 |
<th>No automatic renewal after (hard limit)</th> |
333 |
<th>No automatic renewal after (hard limit)</th> |
326 |
<th>Holds allowed (count)</th> |
334 |
<th>Holds allowed (total)</th> |
|
|
335 |
<th>Holds allowed (daily)</th> |
327 |
<th>Holds per record (count)</th> |
336 |
<th>Holds per record (count)</th> |
328 |
<th>On shelf holds allowed</th> |
337 |
<th>On shelf holds allowed</th> |
329 |
<th>Item level holds</th> |
338 |
<th>Item level holds</th> |
Lines 816-823
Link Here
|
816 |
// Remove potential previous input added |
825 |
// Remove potential previous input added |
817 |
$(current_column).find("input").remove(); |
826 |
$(current_column).find("input").remove(); |
818 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
827 |
$(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); |
819 |
} else if ( i == 3 || i == 4 ) { |
828 |
} else if ( i == 3 || i == 4 || i == 23 ) { |
820 |
// If the value is not an integer for "Current checkouts allowed" or "Current on-site checkouts allowed" |
829 |
// If the value is not an integer for |
|
|
830 |
// - "Current checkouts allowed" |
831 |
// - "Current on-site checkouts allowed" |
832 |
// - "Holds allowed (daily)" |
821 |
// The value is "Unlimited" (or an equivalent translated string) |
833 |
// The value is "Unlimited" (or an equivalent translated string) |
822 |
// an it should be set to an empty string |
834 |
// an it should be set to an empty string |
823 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
835 |
if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { |
824 |
- |
|
|