Bug 12495 - Include streetnumber in hold alert address
[koha_fer] / circ / hold-transfer-slip.pl
index 8ae5d2a..28de5e9 100755 (executable)
@@ -57,18 +57,9 @@ if ( my $letter = ReserveSlip ($session->param('branch') || $userenv->{branch},
     $slip = $letter->{content};
     $is_html = $letter->{is_html};
 }
-else {
-    $slip = "Reserve not found";
-}
-$template->param(
-    slip => $slip,
-    plain => !$is_html,
-    title => "Koha -- Circulation: Transfers",
-    stylesheet => C4::Context->preference("SlipCSS"),
-);
+$template->param( slip => $slip ) if ($slip);
+$template->param( caller => 'hold-transfer' );
+$template->param( plain => !$is_html );
 
 output_html_with_http_headers $input, $cookie, $template->output;
 
-
-
-