X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=SL%2FDN.pm;h=b29cf51a27eb0cf146651b8c3bebc54077a3a59e;hb=965a8ee142a6cd21c3056eacaa01a01818032c3e;hp=eed5808efba1410fc28220cad6e19d0bb707533b;hpb=23d86027fdfdea7e6fefa1ace7a2e683fbd0cbb7;p=kivitendo-erp.git diff --git a/SL/DN.pm b/SL/DN.pm index eed5808ef..b29cf51a2 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -399,6 +399,7 @@ sub send_email { my $template = SL::Template::create(type => 'PlainText', form => $form, myconfig => $myconfig); my $mail = Mailer->new(); + $mail->{bcc} = $form->get_bcc_defaults($myconfig, $form->{bcc}); $mail->{from} = $myconfig->{email}; $mail->{to} = $ref->{recipient}; $mail->{subject} = $template->parse_block($ref->{email_subject}); @@ -835,7 +836,7 @@ sub print_dunning { c.country, c.department_1, c.department_2, c.email, c.customernumber, c.greeting, c.contact, c.phone, c.fax, c.homepage, c.email, c.taxincluded, c.business_id, c.taxnumber, c.iban, - c,ustid, + c.ustid, co.* FROM dunning d LEFT JOIN ar ON (d.trans_id = ar.id)