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 <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Aleisha Amohia 2023-11-12 21:35:58 +00:00 committed by Katrin Fischer
parent 4314b5012c
commit 6d6de01890
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 5 additions and 4 deletions

View File

@ -18,7 +18,7 @@
[% IF ( Koha.Preference('SlipCSS') ) %]
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') | $raw %]" />
[% END %]
[% IF slip.style %]<style>[% slip.style | $raw %]</style>[% END %]
[% IF style %]<style>[% style | $raw %]</style>[% END %]
</head>
<body id="members_printslip" class="member">

View File

@ -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;