|
Lines 195-201
Link Here
|
| 195 |
</p> |
195 |
</p> |
| 196 |
</div> |
196 |
</div> |
| 197 |
<div class="modal-footer"> |
197 |
<div class="modal-footer"> |
| 198 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check" onclick="$('#barcode').focus(); return false;"></i> OK</button> |
198 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 199 |
</div> |
199 |
</div> |
| 200 |
</form> |
200 |
</form> |
| 201 |
</div> |
201 |
</div> |
|
Lines 222-230
Link Here
|
| 222 |
</p> |
222 |
</p> |
| 223 |
</div> |
223 |
</div> |
| 224 |
<div class="modal-footer"> |
224 |
<div class="modal-footer"> |
| 225 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check" onclick="$('#barcode').focus(); return false;"></i> OK</button> |
225 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 226 |
<button type="submit" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% TransferWaitingAt | html %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
226 |
<button type="submit" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% TransferWaitingAt | html %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
| 227 |
<button class="btn btn-default deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber | html %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
227 |
<button class="btn btn-default deny cancel-transfer" type="submit"><i class="fa fa-times"></i> Cancel transfer</button> |
| 228 |
</div> |
228 |
</div> |
| 229 |
</form> |
229 |
</form> |
| 230 |
</div> |
230 |
</div> |
|
Lines 310-320
Link Here
|
| 310 |
</button> |
310 |
</button> |
| 311 |
|
311 |
|
| 312 |
<input type="hidden" name="print_slip" value="0" /> |
312 |
<input type="hidden" name="print_slip" value="0" /> |
| 313 |
<button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();"> |
313 |
<button type="submit" class="btn btn-default print"> |
| 314 |
<i class="fa fa-print"></i> Print slip and confirm |
314 |
<i class="fa fa-print"></i> Print slip and confirm |
| 315 |
</button> |
315 |
</button> |
| 316 |
|
316 |
|
| 317 |
<button type="submit" class="btn btn-default deny" onclick="this.form.cancel_reserve.value = 1; this.form.submit();"> |
317 |
<button type="submit" class="btn btn-default deny cancel-hold"> |
| 318 |
<i class="fa fa-times"></i> Cancel hold |
318 |
<i class="fa fa-times"></i> Cancel hold |
| 319 |
</button> |
319 |
</button> |
| 320 |
</div> |
320 |
</div> |
|
Lines 349-355
Link Here
|
| 349 |
<input type="hidden" name="print_slip" value="0" /> |
349 |
<input type="hidden" name="print_slip" value="0" /> |
| 350 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
350 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 351 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
351 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
| 352 |
<button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and continue</button> |
352 |
<button type="submit" class="print"><i class="fa fa-print"></i> Print slip and continue</button> |
| 353 |
[% FOREACH inputloo IN inputloop %] |
353 |
[% FOREACH inputloo IN inputloop %] |
| 354 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
354 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 355 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
355 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
|
Lines 405-413
Link Here
|
| 405 |
<div class="modal-footer"> |
405 |
<div class="modal-footer"> |
| 406 |
[% IF !transfer %] |
406 |
[% IF !transfer %] |
| 407 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default approve"><i class="fa fa-check"></i> Yes</button> |
407 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default approve"><i class="fa fa-check"></i> Yes</button> |
| 408 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button><button type="submit" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times" onclick="$('#barcode').focus(); return false;"></i> No</button> |
408 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button><button type="submit" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times"></i> No</button> |
| 409 |
[% ELSE %] |
409 |
[% ELSE %] |
| 410 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check" onclick="$('#barcode').focus(); return false;"></i> OK</button> |
410 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 411 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
411 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
| 412 |
[% END %] |
412 |
[% END %] |
| 413 |
</div> |
413 |
</div> |
|
Lines 530-548
Link Here
|
| 530 |
<button type="submit" class="btn btn-default approve"> |
530 |
<button type="submit" class="btn btn-default approve"> |
| 531 |
<i class="fa fa-check"></i> Confirm hold and transfer |
531 |
<i class="fa fa-check"></i> Confirm hold and transfer |
| 532 |
</button> |
532 |
</button> |
| 533 |
<button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit()"> |
533 |
<button type="submit" class="btn btn-default print"> |
| 534 |
<i class="fa fa-print"></i> Print slip, transfer, and confirm |
534 |
<i class="fa fa-print"></i> Print slip, transfer, and confirm |
| 535 |
</button> |
535 |
</button> |
| 536 |
[% ELSE %] |
536 |
[% ELSE %] |
| 537 |
<button type="submit" class="btn btn-default approve"> |
537 |
<button type="submit" class="btn btn-default approve"> |
| 538 |
<i class="fa fa-check"></i> Confirm hold |
538 |
<i class="fa fa-check"></i> Confirm hold |
| 539 |
</button> |
539 |
</button> |
| 540 |
<button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();"> |
540 |
<button type="submit" class="btn btn-default print"> |
| 541 |
<i class="fa fa-print"></i> Print slip and confirm |
541 |
<i class="fa fa-print"></i> Print slip and confirm |
| 542 |
</button> |
542 |
</button> |
| 543 |
[% END %] |
543 |
[% END %] |
| 544 |
|
544 |
|
| 545 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-default deny" onclick="$('#barcode').focus(); return false;"> |
545 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-default deny"> |
| 546 |
<i class="fa fa-times"></i> Ignore |
546 |
<i class="fa fa-times"></i> Ignore |
| 547 |
</button> |
547 |
</button> |
| 548 |
</div> |
548 |
</div> |
|
Lines 672-683
Link Here
|
| 672 |
|
672 |
|
| 673 |
<label for="return_date_override_remember"> Remember for next check in:</label> |
673 |
<label for="return_date_override_remember"> Remember for next check in:</label> |
| 674 |
[% IF ( return_date_override_remember ) %] |
674 |
[% IF ( return_date_override_remember ) %] |
| 675 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" /> |
675 |
<input type="checkbox" id="return_date_override_remember" name="return_date_override_remember" checked="checked" /> |
| 676 |
[% ELSE %] |
676 |
[% ELSE %] |
| 677 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" /> |
677 |
<input type="checkbox" id="return_date_override_remember" name="return_date_override_remember" /> |
| 678 |
[% END %] |
678 |
[% END %] |
| 679 |
|
679 |
|
| 680 |
<input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.return_date_override.value = ''; this.form.return_date_override_remember.checked = false; this.form.barcode.focus(); return false;" /> |
680 |
<input type="button" class="action" id="cleardate" value="Clear" name="cleardate" /> |
| 681 |
</div> |
681 |
</div> |
| 682 |
[% END %] |
682 |
[% END %] |
| 683 |
[% FOREACH inputloo IN inputloop %] |
683 |
[% FOREACH inputloo IN inputloop %] |
|
Lines 920-925
Link Here
|
| 920 |
$('.openWin').on("click",function(e){ |
920 |
$('.openWin').on("click",function(e){ |
| 921 |
Dopop( $(this).data("url") ); |
921 |
Dopop( $(this).data("url") ); |
| 922 |
}); |
922 |
}); |
|
|
923 |
|
| 924 |
$('.print').on("click",function(e){ |
| 925 |
this.form.print_slip.value = 1; |
| 926 |
this.form.submit(); |
| 927 |
}); |
| 928 |
|
| 929 |
$('.cancel-hold').on("click",function(e){ |
| 930 |
this.form.cancel_reserve.value = 1; |
| 931 |
this.form.submit(); |
| 932 |
}); |
| 933 |
|
| 934 |
$('.cancel-transfer').on("click",function(e){ |
| 935 |
window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber | html %]&canceltransfer=1' |
| 936 |
}); |
| 937 |
|
| 938 |
$('.action').on("click",function(e){ |
| 939 |
this.checked = false; |
| 940 |
this.form.return_date_override.value = ''; |
| 941 |
this.form.return_date_override_remember.checked = false; |
| 942 |
this.form.barcode.focus(); |
| 943 |
return false; |
| 944 |
}); |
| 923 |
}); |
945 |
}); |
| 924 |
</script> |
946 |
</script> |
| 925 |
[% END %] |
947 |
[% END %] |
| 926 |
- |
|
|