@@ -, +, @@ backend to use it with. FreeForm was used for this test plan, BLDSS is usually also good for testing. See: https://wiki.koha-community.org/wiki/ILL_backends sure the email address is set in KohaAdminEmailAddress and the user you are using for testing this with. ILL notices by seleting them in the messaging preferences. Pick some attributes you want to use in the notice [% illrequestattributes.type %] [% illrequestattributes.title %] ILL request unavailable from the illrequestattributes you picked. --- Koha/Illrequest.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) --- a/Koha/Illrequest.pm +++ a/Koha/Illrequest.pm @@ -1650,6 +1650,13 @@ sub get_notice { push @metaarray, "- $key: $value" if $value; } my $metastring = join("\n", @metaarray); + + my $illrequestattributes = {}; + my $attributes = $self->illrequestattributes; + while ( my $attribute = $attributes->next ) { + $illrequestattributes->{$attribute->type} = $attribute->value; + } + my $letter = C4::Letters::GetPreparedLetter( module => 'ill', letter_code => $params->{notice_code}, @@ -1666,7 +1673,8 @@ sub get_notice { ill_bib_title => $title ? $title->value : '', ill_bib_author => $author ? $author->value : '', ill_full_metadata => $metastring, - additional_text => $params->{additional_text} + additional_text => $params->{additional_text}, + illrequestattributes => $illrequestattributes, } ); --