|
Lines 941-947
Link Here
|
| 941 |
|
941 |
|
| 942 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
942 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
| 943 |
<label for="suspend_until">until</label> |
943 |
<label for="suspend_until">until</label> |
| 944 |
<input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker"/> |
944 |
<input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker futuredate"/> |
| 945 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
945 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
| 946 |
[% END %] |
946 |
[% END %] |
| 947 |
</form> |
947 |
</form> |
|
Lines 1122-1135
Link Here
|
| 1122 |
$("#onsite_checkout").click(function(){ |
1122 |
$("#onsite_checkout").click(function(){ |
| 1123 |
toggle_onsite_checkout(); |
1123 |
toggle_onsite_checkout(); |
| 1124 |
}); |
1124 |
}); |
| 1125 |
|
1125 |
|
| 1126 |
$("#suspend_until").datepicker({ |
|
|
| 1127 |
onClose: function(dateText, inst) { |
| 1128 |
validate_date(dateText, inst); |
| 1129 |
}, |
| 1130 |
minDate: 1, // require that hold suspended until date is after today |
| 1131 |
}); |
| 1132 |
|
| 1133 |
[% IF HIGHHOLDS %] |
1126 |
[% IF HIGHHOLDS %] |
| 1134 |
[% IF !override_high_holds %] |
1127 |
[% IF !override_high_holds %] |
| 1135 |
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate | html %]'); |
1128 |
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate | html %]'); |