From: freiphone Date: Mon, 5 Jun 2017 08:41:17 +0000 (+0200) Subject: Vorbereitung für Drucken und Buchen X-Git-Tag: release-3.5.4~1048^2~1^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c53991c597f96792f4d6772143c277c789c99ebf;p=kivitendo-erp.git Vorbereitung für Drucken und Buchen --- 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 %]