From: Moritz Bunkus Date: Tue, 13 Feb 2007 09:29:37 +0000 (+0000) Subject: Emailversand: Anhangnamen auch bei Gutschriften vorbelegen. X-Git-Tag: release-2.4.2~115 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/commitdiff_plain/190b6dbb8c7cfe346701d89081121c244cc44b4a Emailversand: Anhangnamen auch bei Gutschriften vorbelegen. --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 9a1e3ab72..ba008c249 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1329,7 +1329,7 @@ sub e_mail { my $attachment_filename = $formname_translations{$form->{"formname"}}; my $prefix; - if ($form->{"type"} =~ /invoice/) { + if (grep({ $form->{"type"} eq $_ } qw(invoice credit_note))) { $prefix = "inv"; } elsif ($form->{"type"} =~ /_quotation$/) { $prefix = "quo";