X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/23d86027fdfdea7e6fefa1ace7a2e683fbd0cbb7..36857857e2c4210c0080974b50e469507dfb912d:/SL/DN.pm 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)