|
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 284-289
Link Here
|
| 284 |
[% FOREACH conf IN sessionConfirmationKeys %] |
285 |
[% FOREACH conf IN sessionConfirmationKeys %] |
| 285 |
<input type="hidden" name="session_confirmations" id="session_confirmations" value="[% conf | html %]" /> |
286 |
<input type="hidden" name="session_confirmations" id="session_confirmations" value="[% conf | html %]" /> |
| 286 |
[% END %] |
287 |
[% END %] |
|
|
288 |
<input type="hidden" name="booking_id" value="[% booking_id | html %]"/> |
| 287 |
|
289 |
|
| 288 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
290 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
| 289 |
|
291 |
|
|
Lines 399-404
Link Here
|
| 399 |
[% FOREACH conf IN sessionConfirmationKeys %] |
401 |
[% FOREACH conf IN sessionConfirmationKeys %] |
| 400 |
<input type="hidden" name="session_confirmations" id="session_confirmations" value="[% conf | html %]" /> |
402 |
<input type="hidden" name="session_confirmations" id="session_confirmations" value="[% conf | html %]" /> |
| 401 |
[% END %] |
403 |
[% END %] |
|
|
404 |
<input type="hidden" name="booking_id" value="[% booking_id | html %]"/> |
| 402 |
|
405 |
|
| 403 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
406 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
| 404 |
|
407 |
|
|
Lines 436-442
Link Here
|
| 436 |
<input type="hidden" name="hold_borrower" value="[% resborrowernumber | html %]" /> |
439 |
<input type="hidden" name="hold_borrower" value="[% resborrowernumber | html %]" /> |
| 437 |
<input type="hidden" name="hold_itemnumber" value="[% item.itemnumber | html %]" /> |
440 |
<input type="hidden" name="hold_itemnumber" value="[% item.itemnumber | html %]" /> |
| 438 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
441 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 439 |
<button class="btn btn-default 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> |
442 |
<input type="hidden" name="booking_id" value="[% booking_id | html %]"/> |
|
|
443 |
<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> |
| 440 |
</form> |
444 |
</form> |
| 441 |
[% END %] |
445 |
[% END %] |
| 442 |
|
446 |
|
|
Lines 452-457
Link Here
|
| 452 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
456 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 453 |
<input type="hidden" name="restoreduedatespec" /> |
457 |
<input type="hidden" name="restoreduedatespec" /> |
| 454 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
458 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
|
|
459 |
<input type="hidden" name="booking_id" value="[% booking_id | html %]"/> |
| 455 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS or ADDITIONAL_MATERIALS %] |
460 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS or ADDITIONAL_MATERIALS %] |
| 456 |
[% IF ( RENEW_ISSUE ) %] |
461 |
[% IF ( RENEW_ISSUE ) %] |
| 457 |
<button type="submit" class="btn btn-default deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> |
462 |
<button type="submit" class="btn btn-default deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> |
|
Lines 1066-1072
Link Here
|
| 1066 |
if ( $("#onsite_checkout").prop('checked') ) { |
1071 |
if ( $("#onsite_checkout").prop('checked') ) { |
| 1067 |
duedatespec_fp.setDate("[% today_due_date_and_time | $KohaDates dateformat => 'iso', with_hours => 1 %]"); |
1072 |
duedatespec_fp.setDate("[% today_due_date_and_time | $KohaDates dateformat => 'iso', with_hours => 1 %]"); |
| 1068 |
} else { |
1073 |
} else { |
| 1069 |
duedatespec_fp.setDate(""); |
1074 |
var booking_id = [% booking_id.json %]; |
|
|
1075 |
if (!booking_id) { |
| 1076 |
duedatespec_fp.setDate(""); |
| 1077 |
} |
| 1070 |
} |
1078 |
} |
| 1071 |
} |
1079 |
} |
| 1072 |
} |
1080 |
} |
| 1073 |
- |
|
|