From f47adb14b6119720997b35087e6927d2ba117ae3 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 --- .../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 3566bc6d0c8..fbe6587a987 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 8fb6b20d872..32ec8170a0f 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.30.2