From 285ee251210013ba959ccef0dceb2a1164d34356 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Sun, 12 Nov 2023 21:37:02 +0000 Subject: [PATCH] Bug 33478: Apply formatting to RECALL_REQUESTER_DET To test: 1. Enable UseRecalls system preference and configure all relevant recalls circulation and fines rules 2. Search for a record with only one item 3. Check out this item to Patron A 4. Log into the OPAC as Patron B 5. Search for the item and place a recall 6. Go back to the staff interface 7. Check in the item 8. When the pop-up for the recall is triggered, confirm recall and print slip 9. Confirm your format settings for RECALL_REQUESTER_DET are applied Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer --- recalls/recall_pickup_slip.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/recalls/recall_pickup_slip.pl b/recalls/recall_pickup_slip.pl index 20816db517..19e439ce29 100755 --- a/recalls/recall_pickup_slip.pl +++ b/recalls/recall_pickup_slip.pl @@ -58,16 +58,18 @@ my $letter = C4::Letters::GetPreparedLetter( } ); -my ($slip, $is_html); +my ( $slip, $is_html, $style ); if ($letter) { - $slip = $letter->{content}; + $slip = $letter->{content}; $is_html = $letter->{is_html}; + $style = $letter->{style}; } $template->param( - slip => $slip, - plain => !$is_html, + slip => $slip, + plain => !$is_html, caller => 'recall', + style => $style, ); output_html_with_http_headers $input, $cookie, $template->output; -- 2.39.5