X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDN.pm;h=39ea64b0ecaccb4c9608f9643dff21573ebc49ff;hb=ab98131d8e9f5102ac0ea1c33fe122432407b49f;hp=38174f912c82ae524def63b0139fbf544f8e5a34;hpb=1fba275de673c27cc787f6555f2f06ec18b3a5db;p=kivitendo-erp.git diff --git a/SL/DN.pm b/SL/DN.pm index 38174f912..39ea64b0e 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -379,9 +379,7 @@ sub send_email { $mail->{subject} = $template->parse_block($ref->{email_subject}); $mail->{message} = $template->parse_block($ref->{email_body}); - if ($myconfig->{signature}) { - $mail->{message} .= "\n-- \n$myconfig->{signature}"; - } + $mail->{message} .= $form->create_email_signature(); $mail->{message} =~ s/\r\n/\n/g; @@ -875,7 +873,7 @@ sub print_dunning { push @{ $form->{DUNNING_PDFS} }, $filename; push @{ $form->{DUNNING_PDFS_EMAIL} }, { 'filename' => "${spool}/$filename", - 'name' => "dunning_${dunning_id}.pdf" }; + 'name' => $form->get_formname_translation('dunning') . "_${dunning_id}.pdf" }; $form->parse_template($myconfig);