From cd3683e47d20a2c8bdbda3b7be7fd8ff1a9db085 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Sun, 12 Nov 2023 21:26:42 +0000 Subject: [PATCH] Bug 33478: Apply formatting to AR_SLIP To test: 1. Enable ArticleRequests system preference in Koha Administration -> Global system preferences 2. Log into the OPAC 3. Do a catalogue search 4. Click the 'Request article' button for a record 5. Fill in some information and submit 6. Go to the staff interface 7. Go to Circulation -> Article Requests 8. Click the Actions menu next to your article request and choose Print slip 9. Confirm your format settings for AR_SLIP are applied --- circ/article-request-slip.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circ/article-request-slip.pl b/circ/article-request-slip.pl index f31eac72d06..75266f832ab 100755 --- a/circ/article-request-slip.pl +++ b/circ/article-request-slip.pl @@ -74,9 +74,10 @@ while ( my $ar = $ars->next ) { } $template->param( - slip => $slipContent, + slip => $slipContent, caller => 'article-request', plain => 0, + style => $slip->{style}, ); output_html_with_http_headers $cgi, $cookie, $template->output; -- 2.30.2