Lines 1465-1471
sub _send_message_by_email {
Link Here
|
1465 |
} else { |
1465 |
} else { |
1466 |
$email = Koha::Email->create($params); |
1466 |
$email = Koha::Email->create($params); |
1467 |
if ($is_html) { |
1467 |
if ($is_html) { |
1468 |
$content .= "<br/>$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1468 |
$content .= "<span id='letter_id' style='display:none'>$message->{letter_id}</span>" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1469 |
$email->html_body( _wrap_html( $content, $subject ) ); |
1469 |
$email->html_body( _wrap_html( $content, $subject ) ); |
1470 |
} else { |
1470 |
} else { |
1471 |
$content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1471 |
$content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1472 |
- |
|
|