assemblynumber => { type => 'text' },
assortmentnumber => { type => 'text' },
balance_startdate_method => { type => 'text' },
+ bcc_to_login => { type => 'boolean' },
bin_id => { type => 'integer' },
bin_id_ignore_onhand => { type => 'integer' },
businessnumber => { type => 'text' },
sub get_bcc_defaults {
my ($self, $myconfig, $mybcc) = @_;
-# if (SL::DB::Default->get->bcc_to_login) {
-# $mybcc .= ", " if $mybcc;
-# $mybcc .= $myconfig->{email};
-# }
+ if (SL::DB::Default->get->bcc_to_login) {
+ $mybcc .= ", " if $mybcc;
+ $mybcc .= $myconfig->{email};
+ }
my $otherbcc = SL::DB::Default->get->global_bcc;
if ($otherbcc) {
$mybcc .= ", " if $mybcc;
'Sellprice for price group \'#1\'' => 'Verkaufspreis für Preisgruppe \'#1\'',
'Sellprice significant places' => 'Verkaufspreis: Nachkommastellen',
'Semicolon' => 'Semikolon',
+ 'Send a blind copy of all outgoing emails to current user\'s email address?' => 'Eine blinde Kopie aller ausgehenden E-Mails wird an den angemeldeten Nutzer geschickt',
'Send invoice via email' => 'Rechnung via E-Mail verschicken',
'Send letter via e-mail' => 'Brief via E-Mail verschicken',
'Sender' => 'AbsenderIn',
--- /dev/null
+-- @tag: defaults_bcc_to_login
+-- @description: BCC Email zu aktuellem Benutzer
+-- @depends: defaults_global_bcc
+
+ALTER TABLE defaults ADD bcc_to_login boolean NOT NULL DEFAULT FALSE;
+
<td>[% 'Manually sent E-Mails will have their BCC field appended with this address. Will not trigger for employees without the right to send bcc, and will not apply to mails sent by automated jobs.' | $T8 %]</td>
</tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Send a BCC to logged in user?') %]</td>
+ <td>
+ [% L.yes_no_tag('defaults.bcc_to_login', SELF.defaults.bcc_to_login) %]
+ </td>
+ <td>
+ [% LxERP.t8('Send a blind copy of all outgoing emails to current user\'s email address?') %]
+ </td>
+ </tr>
+
<tr>
<td align="right">[% LxERP.t8('Email journal') %]</td>
<td>