From: Moritz Bunkus Date: Wed, 25 Jan 2017 11:41:56 +0000 (+0100) Subject: ActionBar: Lieferscheine: E-Mail-Versand über Dialog implementiert X-Git-Tag: release-3.5.4~1342 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=307f0b13b5d0b1068cb7eacad1601f4786b28353;p=kivitendo-erp.git ActionBar: Lieferscheine: E-Mail-Versand über Dialog implementiert --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 8d57f0118..000fc6eee 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -328,7 +328,7 @@ sub setup_do_action_bar { ], action => [ t8('E Mail'), - submit => [ '#form', { action_print => 1 } ], + call => [ 'kivi.SalesPurchase.show_email_dialog' ], checks => [ @req_trans_desc ], ], ], # end of combobox "Export" @@ -479,7 +479,7 @@ sub form_footer { my $form = $main::form; - $form->{PRINT_OPTIONS} = print_options('inline' => 1); + $form->{PRINT_OPTIONS} = setup_sales_purchase_print_options(); $form->{ALL_DELIVERY_TERMS} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); print $form->parse_html_template('do/form_footer', diff --git a/templates/webpages/do/form_footer.html b/templates/webpages/do/form_footer.html index 4848b178c..a24ad0a0f 100644 --- a/templates/webpages/do/form_footer.html +++ b/templates/webpages/do/form_footer.html @@ -62,11 +62,7 @@ -
- -

[% PRINT_OPTIONS %]

- - + @@ -76,6 +72,12 @@ [%- PROCESS 'common/_ship_to_dialog.html' vc_obj=VC_OBJ %] [%- END %] + + + +