From 7a17558be181acfba29433808034efb26cfd49d4 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Fri, 21 Apr 2023 03:19:23 +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 --- recalls/recall_pickup_slip.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recalls/recall_pickup_slip.pl b/recalls/recall_pickup_slip.pl index 20816db517f..016558e512a 100755 --- a/recalls/recall_pickup_slip.pl +++ b/recalls/recall_pickup_slip.pl @@ -58,15 +58,13 @@ my $letter = C4::Letters::GetPreparedLetter( } ); -my ($slip, $is_html); +my $slip; if ($letter) { - $slip = $letter->{content}; - $is_html = $letter->{is_html}; + $slip = $letter; } $template->param( slip => $slip, - plain => !$is_html, caller => 'recall', ); -- 2.30.2