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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt (-1 / +8 lines)
Lines 402-407 Link Here
402
        });
402
        });
403
403
404
        $('#payForm').submit(function(e){
404
        $('#payForm').submit(function(e){
405
            // first, clear stale sales 'rows' from the payForm
406
            if($('input[name="sales"]').length > 0) {
407
                $('input[name="sales"]').each(function() {
408
                    $(this).remove();
409
                });
410
            }
411
412
            // now, process the current & fresh contents of the sale_table
405
            if (change != undefined && change.innerHTML > 0.00 && !checked) {
413
            if (change != undefined && change.innerHTML > 0.00 && !checked) {
406
                e.preventDefault();
414
                e.preventDefault();
407
                $("#confirm_change_form").modal("show");
415
                $("#confirm_change_form").modal("show");
408
- 

Return to bug 30003