Web Client: Print Template Library Settings do not work with HTML

Bug #1801143 reported by John Amundson
This bug affects 9 people
Affects Status Importance Assigned to Milestone

Bug Description

Evergreen 3.0.13 and Evergreen 3.2.1

The following library settings

can be added to print templates in the web client with the following code

These settings currently only work with plain text. If HTML is added to the setting, (as described in the setting's description "Text/HTML/Macros to be inserted into receipt templates in place of %INCLUDE(header_text)%" - bug #1705302), the text is printed plainly.

The XUL client seems to work fine with HTML in these settings.

Therefore the Web client print templates should also work when HTML is stored in these settings.

(For reference I tested all five of the settings on the following print templates: Checkout, Items Out, and Bills, Payment).

Revision history for this message
Garry Collum (gcollum) wrote :

Confirmed in 3.2.5 and in current master.

Changed in evergreen:
status: New → Confirmed
tags: added: printing
tags: removed: webstaffclient
Revision history for this message
Janet MacDonald (jgpl) wrote :

I've tried all 5 includes and they do not take html. When I had a dash '_' in the text it converted it to Unicode \u2013. So I converted my line break to Unicode. But, when it saves it, it converts it to Unicode and I end up with \\u2424 instead of \u2424 within the value.
Also, I find the Revert does strange things.

Changed in evergreen:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers