From 6d6de01890e8901507944a246ac1d76f87bbc5d8 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Sun, 12 Nov 2023 21:35:58 +0000 Subject: [PATCH] Bug 33478: Apply formatting to ACCOUNTS_SUMMARY To test: 1. Go to a patron accounting page 2. Create a manual invoice and Save 3. Click the Print button in the patron toolbar 4. Click the 'Print account balance' button 5. Confirm your format settings for ACCOUNTS_SUMMARY are applied Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/members/printnotice.tt | 2 +- members/printnotice.pl | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printnotice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printnotice.tt index 3566bc6d0c..fbe6587a98 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printnotice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printnotice.tt @@ -18,7 +18,7 @@ [% IF ( Koha.Preference('SlipCSS') ) %] [% END %] -[% IF slip.style %][% END %] +[% IF style %][% END %] diff --git a/members/printnotice.pl b/members/printnotice.pl index 8fb6b20d87..32ec8170a0 100755 --- a/members/printnotice.pl +++ b/members/printnotice.pl @@ -64,9 +64,10 @@ my $letter = C4::Letters::GetPreparedLetter( ); $template->param( - title => $letter->{title}, - slip => $letter->{content}, - plain => !$letter->{is_html}, + title => $letter->{title}, + slip => $letter->{content}, + plain => !$letter->{is_html}, + style => $letter->{style}, ); output_html_with_http_headers $input, $cookie, $template->output; -- 2.39.5