From 543716c7ea993c995b9ed5eb4c081599aeff4e62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 2 Jun 2016 11:30:21 +0200 Subject: [PATCH] Rechnungen: resubmit dispatching gefixt --- templates/webpages/is/form_footer.html | 2 +- templates/webpages/is/form_header.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index 7980bcac4..3f06db669 100644 --- a/templates/webpages/is/form_footer.html +++ b/templates/webpages/is/form_footer.html @@ -161,7 +161,7 @@ [% IF id %] - + [% IF show_storno %] [% L.submit_tag("action_storno", LxERP.t8("Storno"), "data-require-transaction-description"=INSTANCE_CONF.get_require_transaction_description_ps, confirm=LxERP.t8('Do you really want to cancel this invoice?')) %] diff --git a/templates/webpages/is/form_header.html b/templates/webpages/is/form_header.html index f9a8879c6..ef60cc9ae 100644 --- a/templates/webpages/is/form_header.html +++ b/templates/webpages/is/form_header.html @@ -292,9 +292,9 @@ [% IF resubmit && is_format_html %] window.open('about:blank','Beleg'); document.invoice.target = 'Beleg'; - document.invoice.submit(); + $('#action_print').click(); [% ELSIF resubmit %] - document.invoice.submit(); + $('#action_print').click(); [% ELSIF creditwarning != '' %] alert('[% 'Credit Limit exceeded!!!' | $T8 %]'); [% ELSE %] -- 2.20.1