Lines 191-197
Link Here
|
191 |
</p> |
191 |
</p> |
192 |
</div> |
192 |
</div> |
193 |
<div class="modal-footer"> |
193 |
<div class="modal-footer"> |
194 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check" onclick="$('#barcode').focus(); return false;"></i> OK</button> |
194 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
195 |
</div> |
195 |
</div> |
196 |
</form> |
196 |
</form> |
197 |
</div> |
197 |
</div> |
Lines 218-226
Link Here
|
218 |
</p> |
218 |
</p> |
219 |
</div> |
219 |
</div> |
220 |
<div class="modal-footer"> |
220 |
<div class="modal-footer"> |
221 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check" onclick="$('#barcode').focus(); return false;"></i> OK</button> |
221 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
222 |
<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> |
222 |
<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> |
223 |
<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> |
223 |
<button class="btn btn-default deny cancel-transfer" type="submit"><i class="fa fa-times"></i> Cancel transfer</button> |
224 |
</div> |
224 |
</div> |
225 |
</form> |
225 |
</form> |
226 |
</div> |
226 |
</div> |
Lines 306-316
Link Here
|
306 |
</button> |
306 |
</button> |
307 |
|
307 |
|
308 |
<input type="hidden" name="print_slip" value="0" /> |
308 |
<input type="hidden" name="print_slip" value="0" /> |
309 |
<button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();"> |
309 |
<button type="submit" class="btn btn-default print"> |
310 |
<i class="fa fa-print"></i> Print slip and confirm |
310 |
<i class="fa fa-print"></i> Print slip and confirm |
311 |
</button> |
311 |
</button> |
312 |
|
312 |
|
313 |
<button type="submit" class="btn btn-default deny" onclick="this.form.cancel_reserve.value = 1; this.form.submit();"> |
313 |
<button type="submit" class="btn btn-default deny cancel-hold"> |
314 |
<i class="fa fa-times"></i> Cancel hold |
314 |
<i class="fa fa-times"></i> Cancel hold |
315 |
</button> |
315 |
</button> |
316 |
</div> |
316 |
</div> |
Lines 345-351
Link Here
|
345 |
<input type="hidden" name="print_slip" value="0" /> |
345 |
<input type="hidden" name="print_slip" value="0" /> |
346 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
346 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
347 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
347 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
348 |
<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> |
348 |
<button type="submit" class="print"><i class="fa fa-print"></i> Print slip and continue</button> |
349 |
[% FOREACH inputloo IN inputloop %] |
349 |
[% FOREACH inputloo IN inputloop %] |
350 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
350 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
351 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
351 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
Lines 401-409
Link Here
|
401 |
<div class="modal-footer"> |
401 |
<div class="modal-footer"> |
402 |
[% IF !transfer %] |
402 |
[% IF !transfer %] |
403 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default approve"><i class="fa fa-check"></i> Yes</button> |
403 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default approve"><i class="fa fa-check"></i> Yes</button> |
404 |
<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> |
404 |
<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> |
405 |
[% ELSE %] |
405 |
[% ELSE %] |
406 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check" onclick="$('#barcode').focus(); return false;"></i> OK</button> |
406 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
407 |
<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> |
407 |
<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> |
408 |
[% END %] |
408 |
[% END %] |
409 |
</div> |
409 |
</div> |
Lines 526-544
Link Here
|
526 |
<button type="submit" class="btn btn-default approve"> |
526 |
<button type="submit" class="btn btn-default approve"> |
527 |
<i class="fa fa-check"></i> Confirm hold and transfer |
527 |
<i class="fa fa-check"></i> Confirm hold and transfer |
528 |
</button> |
528 |
</button> |
529 |
<button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit()"> |
529 |
<button type="submit" class="btn btn-default print"> |
530 |
<i class="fa fa-print"></i> Print slip, transfer, and confirm |
530 |
<i class="fa fa-print"></i> Print slip, transfer, and confirm |
531 |
</button> |
531 |
</button> |
532 |
[% ELSE %] |
532 |
[% ELSE %] |
533 |
<button type="submit" class="btn btn-default approve"> |
533 |
<button type="submit" class="btn btn-default approve"> |
534 |
<i class="fa fa-check"></i> Confirm hold |
534 |
<i class="fa fa-check"></i> Confirm hold |
535 |
</button> |
535 |
</button> |
536 |
<button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();"> |
536 |
<button type="submit" class="btn btn-default print"> |
537 |
<i class="fa fa-print"></i> Print slip and confirm |
537 |
<i class="fa fa-print"></i> Print slip and confirm |
538 |
</button> |
538 |
</button> |
539 |
[% END %] |
539 |
[% END %] |
540 |
|
540 |
|
541 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-default deny" onclick="$('#barcode').focus(); return false;"> |
541 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-default deny"> |
542 |
<i class="fa fa-times"></i> Ignore |
542 |
<i class="fa fa-times"></i> Ignore |
543 |
</button> |
543 |
</button> |
544 |
</div> |
544 |
</div> |
Lines 668-679
Link Here
|
668 |
|
668 |
|
669 |
<label for="return_date_override_remember"> Remember for next check in:</label> |
669 |
<label for="return_date_override_remember"> Remember for next check in:</label> |
670 |
[% IF ( return_date_override_remember ) %] |
670 |
[% IF ( return_date_override_remember ) %] |
671 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" /> |
671 |
<input type="checkbox" id="return_date_override_remember" name="return_date_override_remember" checked="checked" /> |
672 |
[% ELSE %] |
672 |
[% ELSE %] |
673 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" /> |
673 |
<input type="checkbox" id="return_date_override_remember" name="return_date_override_remember" /> |
674 |
[% END %] |
674 |
[% END %] |
675 |
|
675 |
|
676 |
<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;" /> |
676 |
<input type="button" class="action" id="cleardate" value="Clear" name="cleardate" /> |
677 |
</div> |
677 |
</div> |
678 |
[% END %] |
678 |
[% END %] |
679 |
[% FOREACH inputloo IN inputloop %] |
679 |
[% FOREACH inputloo IN inputloop %] |
Lines 912-917
Link Here
|
912 |
$('.openWin').on("click",function(e){ |
912 |
$('.openWin').on("click",function(e){ |
913 |
Dopop( $(this).data("url") ); |
913 |
Dopop( $(this).data("url") ); |
914 |
}); |
914 |
}); |
|
|
915 |
|
916 |
$('.print').on("click",function(e){ |
917 |
this.form.print_slip.value = 1; |
918 |
this.form.submit(); |
919 |
}); |
920 |
|
921 |
$('.cancel-hold').on("click",function(e){ |
922 |
this.form.cancel_reserve.value = 1; |
923 |
this.form.submit(); |
924 |
}); |
925 |
|
926 |
$('.cancel-transfer').on("click",function(e){ |
927 |
window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber | html %]&canceltransfer=1' |
928 |
}); |
929 |
|
930 |
$('.action').on("click",function(e){ |
931 |
this.checked = false; |
932 |
this.form.return_date_override.value = ''; |
933 |
this.form.return_date_override_remember.checked = false; |
934 |
this.form.barcode.focus(); |
935 |
return false; |
936 |
}); |
915 |
}); |
937 |
}); |
916 |
</script> |
938 |
</script> |
917 |
[% END %] |
939 |
[% END %] |
918 |
- |
|
|