Menu

#1297 LaTeX INCLUDE processing loads from filesystem, not database

1.4
closed-duplicate
nobody
None
1.2
5
2015-10-17
2014-12-13
John Locke
No

In testing out invoice generation, I discovered that when you edit the letterhead.tex in the database using the UI, any changes you make are ignored.

By examining LedgerSMB/Template/LaTeX.pm, I noticed that INCLUDE_PATH appears to be hard-coded to templates/demo, and, sure enough, editing templates/demo/letterhead.tex does change the result on invoices, etc.

Discussion

  • Chris Travers

    Chris Travers - 2015-10-17
    • status: open --> closed-duplicate
    • Version: --> 1.2