@@ -, +, @@ --- circ/hold-transfer-slip.pl | 14 ++------------ .../prog/en/modules/circ/printslip.tt | 10 +++++----- 2 files changed, 7 insertions(+), 17 deletions(-) --- a/circ/hold-transfer-slip.pl +++ a/circ/hold-transfer-slip.pl @@ -57,18 +57,8 @@ 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( plain => !$is_html ); output_html_with_http_headers $input, $cookie, $template->output; - - - --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt @@ -1,11 +1,11 @@ [% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] -[% title %] +Koha › Circulation › Transfers -[% IF stylesheet %] - +[% IF ( Koha.Preference('SlipCSS') ) %] + [% END %]