projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f428993
)
fehlendes BCC(global_bcc) in CreatePeriodicInvoices.pm(_email_invoice) hinzugefĆ¼gt
author
ChrisWi
<chris@computersalat.de>
Mon, 27 Nov 2017 15:23:54 +0000
(16:23 +0100)
committer
ChrisWi
<chris@computersalat.de>
Mon, 27 Nov 2017 15:23:54 +0000
(16:23 +0100)
SL/BackgroundJob/CreatePeriodicInvoices.pm
patch
|
blob
|
history
diff --git
a/SL/BackgroundJob/CreatePeriodicInvoices.pm
b/SL/BackgroundJob/CreatePeriodicInvoices.pm
index
851bf3f
..
45a41d0
100644
(file)
--- a/
SL/BackgroundJob/CreatePeriodicInvoices.pm
+++ b/
SL/BackgroundJob/CreatePeriodicInvoices.pm
@@
-400,10
+400,13
@@
sub _email_invoice {
);
}
+ my $global_bcc = SL::DB::Default->get->global_bcc;
+
for my $recipient (@recipients) {
my $mail = Mailer->new;
$mail->{from} = $data->{config}->email_sender || $::lx_office_conf{periodic_invoices}->{email_from};
$mail->{to} = $recipient;
+ $mail->{bcc} = $global_bcc;
$mail->{subject} = $data->{config}->email_subject;
$mail->{message} = $data->{config}->email_body;
$mail->{attachments} = [{