Lines 9-14
Link Here
|
9 |
[% USE ItemTypes %] |
9 |
[% USE ItemTypes %] |
10 |
[% USE Price %] |
10 |
[% USE Price %] |
11 |
[% USE AuthorisedValues %] |
11 |
[% USE AuthorisedValues %] |
|
|
12 |
[% USE JSON.Escape %] |
12 |
[% PROCESS 'i18n.inc' %] |
13 |
[% PROCESS 'i18n.inc' %] |
13 |
[% SET footerjs = 1 %] |
14 |
[% SET footerjs = 1 %] |
14 |
[% INCLUDE 'doc-head-open.inc' %] |
15 |
[% INCLUDE 'doc-head-open.inc' %] |
Lines 282-287
Link Here
|
282 |
<fieldset> |
283 |
<fieldset> |
283 |
<input type="hidden" name="restoreduedatespec" /> |
284 |
<input type="hidden" name="restoreduedatespec" /> |
284 |
<input type="hidden" name="op" value="cud-checkout" /> |
285 |
<input type="hidden" name="op" value="cud-checkout" /> |
|
|
286 |
<input type="hidden" name="booking_id" value="[% booking_id | html %]"/> |
285 |
|
287 |
|
286 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
288 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
287 |
|
289 |
|
Lines 390-395
Link Here
|
390 |
[% INCLUDE 'csrf-token.inc' %] |
392 |
[% INCLUDE 'csrf-token.inc' %] |
391 |
<input type="hidden" name="op" value="cud-checkout" /> |
393 |
<input type="hidden" name="op" value="cud-checkout" /> |
392 |
<input type="hidden" name="restoreduedatespec" /> |
394 |
<input type="hidden" name="restoreduedatespec" /> |
|
|
395 |
<input type="hidden" name="booking_id" value="[% booking_id | html %]"/> |
393 |
|
396 |
|
394 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
397 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
395 |
|
398 |
|
Lines 423-428
Link Here
|
423 |
<input type="hidden" name="hold_borrower" value="[% resborrowernumber | html %]" /> |
426 |
<input type="hidden" name="hold_borrower" value="[% resborrowernumber | html %]" /> |
424 |
<input type="hidden" name="hold_itemnumber" value="[% item.itemnumber | html %]" /> |
427 |
<input type="hidden" name="hold_itemnumber" value="[% item.itemnumber | html %]" /> |
425 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
428 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
|
|
429 |
<input type="hidden" name="booking_id" value="[% booking_id | html %]"/> |
426 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?reserve_id=[% reserve_id | uri %]&itemnumber=[% item.id | html %]');this.form.submit();"><i class="fa fa-print"></i> Don't check out, confirm hold, and print slip (P)</button> |
430 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?reserve_id=[% reserve_id | uri %]&itemnumber=[% item.id | html %]');this.form.submit();"><i class="fa fa-print"></i> Don't check out, confirm hold, and print slip (P)</button> |
427 |
</form> |
431 |
</form> |
428 |
[% END %] |
432 |
[% END %] |
Lines 439-444
Link Here
|
439 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
443 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
440 |
<input type="hidden" name="restoreduedatespec" /> |
444 |
<input type="hidden" name="restoreduedatespec" /> |
441 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
445 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
|
|
446 |
<input type="hidden" name="booking_id" value="[% booking_id | html %]"/> |
442 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS or ADDITIONAL_MATERIALS %] |
447 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS or ADDITIONAL_MATERIALS %] |
443 |
[% IF ( RENEW_ISSUE ) %] |
448 |
[% IF ( RENEW_ISSUE ) %] |
444 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> |
449 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> |
Lines 1049-1055
Link Here
|
1049 |
if ( $("#onsite_checkout").prop('checked') ) { |
1054 |
if ( $("#onsite_checkout").prop('checked') ) { |
1050 |
duedatespec_fp.setDate("[% today_due_date_and_time | $KohaDates dateformat => 'iso', with_hours => 1 %]"); |
1055 |
duedatespec_fp.setDate("[% today_due_date_and_time | $KohaDates dateformat => 'iso', with_hours => 1 %]"); |
1051 |
} else { |
1056 |
} else { |
1052 |
duedatespec_fp.setDate(""); |
1057 |
var booking_id = [% booking_id.json %]; |
|
|
1058 |
if (!booking_id) { |
1059 |
duedatespec_fp.setDate(""); |
1060 |
} |
1053 |
} |
1061 |
} |
1054 |
} |
1062 |
} |
1055 |
} |
1063 |
} |
1056 |
- |
|
|