Lines 1385-1391
sub _send_message_by_email {
Link Here
|
1385 |
} else { |
1385 |
} else { |
1386 |
$email = Koha::Email->create($params); |
1386 |
$email = Koha::Email->create($params); |
1387 |
if ($is_html) { |
1387 |
if ($is_html) { |
1388 |
$content .= "<br/>$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1388 |
$content .= "<span id='letter_id' style='display:none'>$message->{letter_id}</span>" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1389 |
$email->html_body( _wrap_html( $content, $subject ) ); |
1389 |
$email->html_body( _wrap_html( $content, $subject ) ); |
1390 |
} else { |
1390 |
} else { |
1391 |
$content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1391 |
$content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); |
1392 |
- |
|
|