@@ -, +, @@ (sender / recipient) - Appply patch - Go to a patron's page for sent notices (members/notices.pl) - Verify that two new columns display sender and recipient - Use this patch to test 18397 --- C4/Letters.pm | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) --- a/C4/Letters.pm +++ a/C4/Letters.pm @@ -1113,7 +1113,7 @@ sub GetQueuedMessages { my $dbh = C4::Context->dbh(); my $statement = << 'ENDSQL'; -SELECT message_id, borrowernumber, subject, content, message_transport_type, status, time_queued +SELECT message_id, borrowernumber, subject, content, message_transport_type, status, time_queued, from_address, to_address FROM message_queue ENDSQL --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -11,8 +11,8 @@ // Notice Type + Sender + Recipient Status Time @@ -69,6 +71,8 @@ [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]sms [% ELSE %][% QUEUED_MESSAGE.message_transport_type %][% END %] + [% QUEUED_MESSAGE.from_address %] + [% QUEUED_MESSAGE.to_address %] [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending --