From c53991c597f96792f4d6772143c277c789c99ebf Mon Sep 17 00:00:00 2001 From: freiphone Date: Mon, 5 Jun 2017 10:41:17 +0200 Subject: [PATCH] =?utf8?q?Vorbereitung=20f=C3=BCr=20Drucken=20und=20Buchen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/is/form_header.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/webpages/is/form_header.html b/templates/webpages/is/form_header.html index 66367ef88..133ff7d1c 100644 --- a/templates/webpages/is/form_header.html +++ b/templates/webpages/is/form_header.html @@ -284,9 +284,11 @@ [% IF resubmit && is_format_html %] window.open('about:blank','Beleg'); document.invoice.target = 'Beleg'; - $('#action_print').click(); + kivi.SalesPurchase.show_print_dialog(); + kivi.SalesPurchase.print_record(); [% ELSIF resubmit %] - $('#action_print').click(); + kivi.SalesPurchase.show_print_dialog(); + kivi.SalesPurchase.print_record(); [% ELSIF creditwarning != '' %] alert('[% 'Credit Limit exceeded!!!' | $T8 %]'); [% ELSE %] -- 2.20.1