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 <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Aleisha Amohia 2023-11-12 21:37:02 +00:00 committed by Katrin Fischer
parent 6d6de01890
commit 285ee25121
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 6 additions and 4 deletions

View File

@ -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;