@@ -, +, @@ --- C4/Letters.pm | 3 +++ .../prog/en/modules/admin/preferences/acquisitions.pref | 8 ++++++++ 2 files changed, 11 insertions(+) --- a/C4/Letters.pm +++ a/C4/Letters.pm @@ -368,6 +368,9 @@ sub SendAlerts { Message => Encode::encode( "utf8", "" . $letter->{content} ), 'Content-Type' => 'text/plain; charset="utf8"', ); + if (C4::Context->preference("ClaimsBccCopy")) { + $mail{'Bcc'} = $userenv->{emailaddress}; + } sendmail(%mail) or carp $Mail::Sendmail::error; logaction( --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref @@ -57,6 +57,14 @@ Acquisitions: type: textarea - "You can use the following fields: price, quantity, budget_code, discount, sort1, sort2" - "
For example:
price: 947$a|947$c
quantity: 969$h
budget_code: 922$a" + - + - Send a copy in bcc of the claimacquisition and claimissues letters to the active user + - pref: ClaimsBccCopy + default: no + choices: + yes: Send + no: Don't send + Printing: - - Use the --