diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt index 85157a6d55..fd8077bcc4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt @@ -29,7 +29,6 @@ [% IF ( Koha.Preference('SlipCSS') ) %] [% END %] -[% IF slip.style %][% END %] [% INCLUDE 'slip-print.inc' #printThenClose %] @@ -37,9 +36,10 @@
[% IF ( slip.content ) %][% slip.content | html %][% ELSE %]No slip template found[% END %]
diff --git a/members/printslip.pl b/members/printslip.pl
index d7709775e6..67df3fd808 100755
--- a/members/printslip.pl
+++ b/members/printslip.pl
@@ -113,12 +113,13 @@ $is_html = $letter->{is_html};
$template->param(
- slip => $slip,
- plain => !$is_html,
+ slip => $slip,
+ plain => !$is_html,
borrowernumber => $borrowernumber,
- caller => 'members',
- stylesheet => C4::Context->preference("SlipCSS"),
- error => $error,
+ caller => 'members',
+ stylesheet => C4::Context->preference("SlipCSS"),
+ error => $error,
+ style => $letter->{style},
);
$template->param( IntranetSlipPrinterJS => C4::Context->preference('IntranetSlipPrinterJS' ) );