Lines 1418-1424
sub _send_message_by_email {
Link Here
|
1418 |
} else { |
1418 |
} else { |
1419 |
$email = Koha::Email->create($params); |
1419 |
$email = Koha::Email->create($params); |
1420 |
if ($is_html) { |
1420 |
if ($is_html) { |
1421 |
$content .= "<br/>$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1421 |
$content .= "<span id='letter_id' style='display:none'>$message->{letter_id}</span>" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1422 |
$email->html_body( _wrap_html( $content, $subject ) ); |
1422 |
$email->html_body( _wrap_html( $content, $subject ) ); |
1423 |
} else { |
1423 |
} else { |
1424 |
$content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1424 |
$content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1425 |
- |
|
|