From 75371c700c06c3520f027fe279113599f4f2612c Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Sun, 12 Nov 2023 21:32:13 +0000 Subject: [PATCH] Bug 33478: Apply formatting to ACCOUNT_DEBIT To test: 1. Go to a patron accounting page 2. Create a manual invoice and Save 3. You'll be redirected to the Transactions tab 4. Click the Print button next to your invoice 5. Confirm your format settings for ACCOUNT_DEBIT are applied Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt | 2 +- members/printinvoice.pl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt index 8a1a3f95053..45432340139 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt @@ -15,7 +15,7 @@ [% Asset.css("css/printreceiptinvoice.css") | $raw %] -[% IF slip.style %][% END %] +[% IF style %][% END %] [% INCLUDE 'blocking_errors.inc' %] diff --git a/members/printinvoice.pl b/members/printinvoice.pl index 7d591c44d23..9abf901710b 100755 --- a/members/printinvoice.pl +++ b/members/printinvoice.pl @@ -83,6 +83,7 @@ $template->param( slip => $letter->{content}, plain => !$letter->{is_html}, patron => $patron, + style => $letter->{style}, ); output_html_with_http_headers $input, $cookie, $template->output; -- 2.39.2