From a439697f1f0e1ea9d593fc24952966db72aceee5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 11 Jan 2017 16:45:15 +0100 Subject: [PATCH] =?utf8?q?ActionBar:=20Lieferscheine:=20Drucken=20=C3=BCbe?= =?utf8?q?r=20Dialog=20implementiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/do.pl | 2 +- templates/webpages/do/form_footer.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index d4e312365..7107017ab 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -323,7 +323,7 @@ sub setup_do_action_bar { action => [ t8('Export') ], action => [ t8('Print'), - submit => [ '#form', { action => "print" } ], + call => [ 'kivi.SalesPurchase.show_print_dialog' ], checks => [ @req_trans_desc ], ], action => [ diff --git a/templates/webpages/do/form_footer.html b/templates/webpages/do/form_footer.html index 13456ca7b..954eff7b1 100644 --- a/templates/webpages/do/form_footer.html +++ b/templates/webpages/do/form_footer.html @@ -84,3 +84,6 @@ [%- IF !delivered %] [%- END %] + -- 2.20.1