Receipt templates missing Org Unit Includes in Web Client
Bug #1680110 reported by
Lynn Floyd
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.12 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Org Unit Includes Alert_text, Notice_text, Event_text, Header_text, Footer_text are not implemented in the Receipts for the web client.
They are implemented in the XUL Client by the following macros
* %INCLUDE(
* %INCLUDE(
* %INCLUDE(
* %INCLUDE(
* %INCLUDE(
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
Changed in evergreen: | |
assignee: | nobody → Lynn Floyd (lfloyd) |
Changed in evergreen: | |
assignee: | nobody → Kathy Lussier (klussier) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's a branch that adds support to the printing code (egPrint), teaching it how to fetch the settings on demand add them to the print environment, so they can be used by print templates.
The values can be accessed in HTML templates like so:
{{includes. alert_text} } event_text} } footer_ text}} header_ text}} notice_ text}}
{{includes.
{{includes.
{{includes.
{{includes.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1680110- webstaff- print-includes
Next step will (presumably) be to add these values to all of the default templates so they just work without any manual tweaking required.