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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt (-18 lines)
Lines 408-430 Link Here
408
            win.focus();
408
            win.focus();
409
        });
409
        });
410
410
411
        $('.modal.printable').on('shown.bs.modal', function() {
412
            $('.modal-dialog', this).addClass('focused');
413
            $('body').addClass('modalprinter');
414
415
            if ($(this).hasClass('autoprint')) {
416
                window.print();
417
            }
418
        }).on('hidden.bs.modal', function () {
419
            $('.modal-dialog', this).removeClass('focused');
420
            $('body').removeClass('modalprinter');
421
        });
422
423
        $('.printModal').click(function() {
424
            window.print();
425
        });
426
427
428
        var cashups_table_url = "/api/v1/cash_registers/[% register.id | html %]/cashups?";
411
        var cashups_table_url = "/api/v1/cash_registers/[% register.id | html %]/cashups?";
429
        var cashups_table = $("#table_cashups").kohaTable({
412
        var cashups_table = $("#table_cashups").kohaTable({
430
            "ajax": {
413
            "ajax": {
431
- 

Return to bug 31039