

You will need a basic working knowledge of PHP coding to understand and modify the file.
#INVOICE PDF PDF#
These files contain all of the code relating to the layout and display in the PDF file. To do this, edit the invoicepdf.tpl or quotepdf.tpl system theme template files in the active template folder. You can customise the contents of PDF invoices and quotes by adding or removing text, altering the layout, or adding images and formatting. On line 10, adjust the last number ( 75) before the closing bracket ( ) ). You can change the width of the logo image in the invoicepdf.tpl template file. The name of the file should be logo.jpg or logo.png. To change this logo, upload the required logo to the /assets/img/ folder. The logo on PDF invoices and quotes is in the /assets/img/ folder. You must store these files in the same directory as the quotepdf.tpl template file.ĭuring template processing, Smarty will provide each of these files with the same variables that it provides to quotepdf.tpl. For example, for a customized footer on each page, create the quotepdffooter.tpl file. The system only requires the respective header or footer files. If they exist in your theme, the system will include the following template files for every rendered PDF page: You must store these files in the same directory as the invoicepdf.tpl system theme template file.ĭuring template processing, Smarty will provide each of these files with the same variables that it provides to invoicepdf.tpl. For example, for a customized footer on each page, create the invoicepdffooter.tpl file. If they exist in your theme, the system will include the following system theme template files on every rendered PDF page: You can cause a header or footer to automatically repeat on every page of a multi-page PDF invoice or quote by updating the header and footer templates.
