|
Lines 925-931
Link Here
|
| 925 |
|
925 |
|
| 926 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
926 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
| 927 |
<label for="suspend_until">until</label> |
927 |
<label for="suspend_until">until</label> |
| 928 |
<input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker"/> |
928 |
<input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker futuredate"/> |
| 929 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
929 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
| 930 |
[% END %] |
930 |
[% END %] |
| 931 |
</form> |
931 |
</form> |
|
Lines 1098-1111
Link Here
|
| 1098 |
$("#onsite_checkout").click(function(){ |
1098 |
$("#onsite_checkout").click(function(){ |
| 1099 |
toggle_onsite_checkout(); |
1099 |
toggle_onsite_checkout(); |
| 1100 |
}); |
1100 |
}); |
| 1101 |
|
1101 |
|
| 1102 |
$("#suspend_until").datepicker({ |
|
|
| 1103 |
onClose: function(dateText, inst) { |
| 1104 |
validate_date(dateText, inst); |
| 1105 |
}, |
| 1106 |
minDate: 1, // require that hold suspended until date is after today |
| 1107 |
}); |
| 1108 |
|
| 1109 |
[% IF HIGHHOLDS %] |
1102 |
[% IF HIGHHOLDS %] |
| 1110 |
[% IF !override_high_holds %] |
1103 |
[% IF !override_high_holds %] |
| 1111 |
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate | html %]'); |
1104 |
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate | html %]'); |