From 4a38fff6242946f092d51adf09581851aae8b98b 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 Signed-off-by: Sam Lau --- 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 1bd013d854..76f3ffb467 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