From 1d753d2350930958ea4b95738c0756305fe457e2 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Sun, 12 Nov 2023 21:33:29 +0000 Subject: [PATCH] Bug 33478: Apply formatting to ACCOUNT_CREDIT 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 Pay button next to your invoice and confirm Payment 5. Click the Print button next to your Payment 6. Confirm your format settings for ACCOUNT_CREDIT are applied Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt | 2 +- members/printfeercpt.pl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt index a2ed2655775..c28db55670c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.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/printfeercpt.pl b/members/printfeercpt.pl index 6c695e469a2..04ed5b37896 100755 --- a/members/printfeercpt.pl +++ b/members/printfeercpt.pl @@ -91,6 +91,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.44.0