|
Lines 40-45
use Koha::Patrons;
Link Here
|
| 40 |
use Koha::SMS::Providers; |
40 |
use Koha::SMS::Providers; |
| 41 |
use Koha::SMTP::Servers; |
41 |
use Koha::SMTP::Servers; |
| 42 |
use Koha::Subscriptions; |
42 |
use Koha::Subscriptions; |
|
|
43 |
use Koha::Template::Plugin::KohaDates; |
| 43 |
|
44 |
|
| 44 |
use constant SERIALIZED_EMAIL_CONTENT_TYPE => 'message/rfc822'; |
45 |
use constant SERIALIZED_EMAIL_CONTENT_TYPE => 'message/rfc822'; |
| 45 |
|
46 |
|
|
Lines 638-643
sub GetPreparedLetter {
Link Here
|
| 638 |
$lang = shift @languages; |
639 |
$lang = shift @languages; |
| 639 |
} |
640 |
} |
| 640 |
|
641 |
|
|
|
642 |
$Template::Stash::SCALAR_OPS->{strftime} = sub { |
| 643 |
return Koha::Template::Plugin::KohaDates->strftime(@_); |
| 644 |
}; |
| 645 |
|
| 641 |
$letter->{content} = _process_tt( |
646 |
$letter->{content} = _process_tt( |
| 642 |
{ |
647 |
{ |
| 643 |
content => $letter->{content}, |
648 |
content => $letter->{content}, |