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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt (-1 / +11 lines)
Lines 384-389 Link Here
384
            }
384
            }
385
        });
385
        });
386
386
387
        $('#payForm').validate({
388
            rules: {
389
                collected: {
390
                    required: true
391
                },
392
                registerid: {
393
                    required: true
394
                }
395
            }
396
        });
397
387
        [% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %]
398
        [% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %]
388
            $("#printReceipt").click(function() {
399
            $("#printReceipt").click(function() {
389
                var win = window.open('/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]', '_blank');
400
                var win = window.open('/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]', '_blank');
390
- 

Return to bug 24786