Bug 33478: Apply formatting to RECEIPT
To test: 1. Enable EnablePointOfSale and UseCashRegisters system preferences in Koha Administration -> Global system preferences 2. Go to Koha Administration -> Cash registers and add a new cash register 3. Go to Koha Administration -> Debit types and add a new debit type. Make sure you check the 'can be sold' option 4. Go to Point of sale 5. Select Add for your item under Items for purchase 6. Fill in Collect payment box and click Confirm 7. When payment is received, click Print receipt 8. Confirm your format settings for RECEIPT 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:
parent
6b9c43ec7d
commit
4314b5012c
2 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
|
||||
[% Asset.css("css/printreceiptinvoice.css") | $raw %]
|
||||
[% IF slip.style %]<style>[% slip.style | $raw %]</style>[% END %]
|
||||
[% IF style %]<style>[% style | $raw %]</style>[% END %]
|
||||
[% INCLUDE 'blocking_errors.inc' %]
|
||||
</head>
|
||||
|
||||
|
|
|
@ -69,7 +69,8 @@ my $letter = C4::Letters::GetPreparedLetter(
|
|||
|
||||
$template->param(
|
||||
slip => $letter->{content},
|
||||
plain => !$letter->{is_html}
|
||||
plain => !$letter->{is_html},
|
||||
style => $letter->{style},
|
||||
);
|
||||
|
||||
output_html_with_http_headers $input, $cookie, $template->output;
|
||||
|
|
Loading…
Reference in a new issue