]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/io.pl
Emailversand: Anhangnamen auch bei Gutschriften vorbelegen.
[kivitendo-erp.git] / bin / mozilla / io.pl
index 9a1e3ab72c931be19d838b6bbc7037f87be6a81a..ba008c249a6939c55428840bc3591be0a22cbc36 100644 (file)
@@ -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";