From 3f2be4a0b4aa4aa988ef08866d36798777f9d305 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 a2ed265577..c28db55670 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 6c695e469a..04ed5b3789 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.30.2