From 78292fc968f4064edd05e66784f98f6eb11b958c Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Fri, 21 Apr 2023 02:19:01 +0000 Subject: [PATCH] Bug 33478: Apply formatting to TRANSFERSLIP To test: 1. Search for an item that was last seen at a library different from your logged in library i.e the holding library is Fairview but your logged in library is Centerville 2. Use the barcode to check in the item 3. When the popup to 'please return this item to ' is triggered, click the Print slip button 4. Confirm your format settings for TRANSFERSLIP are applied --- circ/transfer-slip.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/circ/transfer-slip.pl b/circ/transfer-slip.pl index 1bd013d8546..76f3ffb467e 100755 --- a/circ/transfer-slip.pl +++ b/circ/transfer-slip.pl @@ -47,15 +47,13 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my $userenv = C4::Context->userenv; my ($slip, $is_html); if ( my $letter = TransferSlip ($session->param('branch') || $userenv->{branch}, $itemnumber, $barcode, $branchcode) ) { - $slip = $letter->{content}; - $is_html = $letter->{is_html}; + $slip = $letter; } else { $slip = "Item not found"; } $template->param( slip => $slip, - plain => !$is_html, caller => 'transfer', stylesheet => C4::Context->preference("SlipCSS"), ); -- 2.30.2