Lines 315-327
$(document).ready(function() {
Link Here
|
315 |
[% IF HIGHHOLDS %] |
315 |
[% IF HIGHHOLDS %] |
316 |
<script language="JavaScript" type="text/javascript"> |
316 |
<script language="JavaScript" type="text/javascript"> |
317 |
$(document).ready(function() { |
317 |
$(document).ready(function() { |
318 |
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]'); |
318 |
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]'); |
|
|
319 |
if ('[% duedatespec %]' === '') { |
320 |
$("input[name=restoreduedatespec]:hidden").val('highholds_empty'); |
321 |
} else { |
322 |
$("input[name=restoreduedatespec]:hidden").val('[% duedatespec %]'); |
323 |
} |
319 |
}); |
324 |
}); |
320 |
</script> |
325 |
</script> |
321 |
[% END %] |
326 |
[% END %] |
322 |
|
327 |
|
323 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
328 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
324 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
329 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
|
|
330 |
<input type="hidden" name="restoreduedatespec" /> |
325 |
|
331 |
|
326 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
332 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
327 |
|
333 |
|
Lines 366-371
$(document).ready(function() {
Link Here
|
366 |
|
372 |
|
367 |
[% IF ( RESERVED ) %] |
373 |
[% IF ( RESERVED ) %] |
368 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
374 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
|
|
375 |
<input type="hidden" name="restoreduedatespec" /> |
369 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
376 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
370 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
377 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
371 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
378 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
Lines 375-380
$(document).ready(function() {
Link Here
|
375 |
|
382 |
|
376 |
[% IF ( RESERVE_WAITING ) %] |
383 |
[% IF ( RESERVE_WAITING ) %] |
377 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
384 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
|
|
385 |
<input type="hidden" name="restoreduedatespec" /> |
378 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
386 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
379 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
387 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
380 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
388 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
Lines 386-391
$(document).ready(function() {
Link Here
|
386 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
394 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
387 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
395 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
388 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
396 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
|
|
397 |
<input type="hidden" name="restoreduedatespec" /> |
389 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
398 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
390 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
399 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
391 |
[% IF ( RENEW_ISSUE ) %] |
400 |
[% IF ( RENEW_ISSUE ) %] |
Lines 430-435
$(document).ready(function() {
Link Here
|
430 |
<br /> |
439 |
<br /> |
431 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
440 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
432 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
441 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
|
|
442 |
<input type="hidden" name="restoreduedatespec" /> |
433 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
443 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
434 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
444 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
435 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
445 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
Lines 538-548
No patron matched <span class="ex">[% message %]</span>
Link Here
|
538 |
</h4> |
548 |
</h4> |
539 |
[% END %] |
549 |
[% END %] |
540 |
|
550 |
|
541 |
|
|
|
542 |
[% IF ( borrowers ) %] |
551 |
[% IF ( borrowers ) %] |
543 |
[% INCLUDE 'patron-toolbar.inc' %] |
552 |
[% INCLUDE 'patron-toolbar.inc' %] |
544 |
|
553 |
|
545 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
554 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
|
|
555 |
<input type="hidden" name="restoreduedatespec" /> |
546 |
<fieldset id="circ_circulation_selectborrower" class="brief"> |
556 |
<fieldset id="circ_circulation_selectborrower" class="brief"> |
547 |
<legend>Patron selection</legend> |
557 |
<legend>Patron selection</legend> |
548 |
|
558 |
|
Lines 598-605
No patron matched <span class="ex">[% message %]</span>
Link Here
|
598 |
|
608 |
|
599 |
[% END %] |
609 |
[% END %] |
600 |
|
610 |
|
601 |
|
|
|
602 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
611 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
|
|
612 |
<input type="hidden" name="restoreduedatespec" /> |
603 |
[% IF ( issue ) %] |
613 |
[% IF ( issue ) %] |
604 |
<fieldset id="circ_circulation_issue" class="lastchecked"> |
614 |
<fieldset id="circ_circulation_issue" class="lastchecked"> |
605 |
[% ELSE %] |
615 |
[% ELSE %] |
Lines 784-791
No patron matched <span class="ex">[% message %]</span>
Link Here
|
784 |
</li> |
794 |
</li> |
785 |
[% END %] |
795 |
[% END %] |
786 |
|
796 |
|
787 |
|
|
|
788 |
|
789 |
</ul> |
797 |
</ul> |
790 |
</div> |
798 |
</div> |
791 |
|
799 |
|
Lines 853-859
No patron matched <span class="ex">[% message %]</span>
Link Here
|
853 |
<!-- /If flagged -->[% END %] |
861 |
<!-- /If flagged -->[% END %] |
854 |
|
862 |
|
855 |
|
863 |
|
856 |
|
|
|
857 |
</div> |
864 |
</div> |
858 |
</div> |
865 |
</div> |
859 |
|
866 |
|
Lines 969-976
No patron matched <span class="ex">[% message %]</span>
Link Here
|
969 |
</div></div> |
976 |
</div></div> |
970 |
[% END %] |
977 |
[% END %] |
971 |
|
978 |
|
972 |
|
|
|
973 |
|
974 |
</div> |
979 |
</div> |
975 |
</div> |
980 |
</div> |
976 |
[% UNLESS ( borrowers ) %][% IF ( borrowernumber ) %]<div class="yui-b"> |
981 |
[% UNLESS ( borrowers ) %][% IF ( borrowernumber ) %]<div class="yui-b"> |
977 |
- |
|
|