From 20e572be4cd1345d7a8c0188535862f24ed2ed7f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 4 Aug 2017 15:13:55 +0200 Subject: [PATCH] E-Mail-Dialog: keine Vorbelegung bei Lieferantenauftrag/-lieferschein Siehe #263. --- bin/mozilla/io.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 1fd47c877..a4ad06b9b 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1976,6 +1976,8 @@ sub show_sales_purchase_email_dialog { $email = SL::DB::Vendor ->load_cached($::form->{vc_id})->email if 'vendor' eq $::form->{vc}; } + $email = '' if $::form->{type} =~ m{^ purchase (?: _delivery)? _order $}x; + my $email_form = { to => $email, subject => $::form->generate_email_subject, -- 2.20.1