View | Details | Raw Unified | Return to bug 30610
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt (-2 / +1 lines)
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
- 

Return to bug 30610