|
Lines 401-407
Link Here
|
| 401 |
$("#returned, #refund_type").focus(); |
401 |
$("#returned, #refund_type").focus(); |
| 402 |
}); |
402 |
}); |
| 403 |
|
403 |
|
| 404 |
$(".printReceipt").click(function() { |
404 |
$("body").on('click', ".printReceipt", function() { |
| 405 |
var accountlines_id = $(this).data('accountline'); |
405 |
var accountlines_id = $(this).data('accountline'); |
| 406 |
var win = window.open('/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=' + accountlines_id, '_blank'); |
406 |
var win = window.open('/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=' + accountlines_id, '_blank'); |
| 407 |
win.focus(); |
407 |
win.focus(); |
| 408 |
- |
|
|