Sales documents, i.e. VAT invoices, pro forma forms and sales receipts, can be customized in the same way as printed documents. Templates for each type of document can be found in the section ‘’’MODERATION / Printed documents’’’.
In addition, the edition of the most common parameters of sales documents is in the '' ‘MODERATION / Printed documents’’ section and is fully reflected in the default sales document templates. There you can also edit:
Currently, in order to display correctly diacritics on a PDF document, use the font "DejaVu Sans" in the HTML document template.
In order for the PDF document generated from the list of products / orders to be in the correct form, do not include the following tags in the HTML document template: <!DOCTYPE>, <html>, <head>, <body>.
In order for the generated PDF document to have a valid table, the <tbody> and <thead> tags should not be used in the HTML code.
For your document to have page numbering, add the following HTML code to the template at the beginning:
<style> #footer { font-family: DejaVu Sans, sans-serif; height: 15px; } #footer .page { text-align: right; font-size: 12px; } #footer .page:after { content: counter(page); } </style> <div id="footer"> <p class="page"></p> </div>
This is the page number node code, which is also included in the default templates. You can also modify the template to include elements contained in this block.