How to Use our Joomla® Extensions e4j Knowledge Base

Knowledge Base  >  Vik Rent Car  >  Email Messages & PDF Files  >  How to Customize the Invoices Template

How to Customize the Invoices Template


From the administrator section it is possible to generate an invoice for each order with status "Confirmed".

The invoices are generated through a PHP-Template file that contain mostly HTML code. This default template can be customized in structure and layout by editing the following file:

By opening that file with a good text-editor, you will find a list of available "special tags" that will be replaced by the system with specific values of the order/invoice. You can enclose all the following information within the template-file of the invoice:

Special Tags Available for the generation of the invoices:



By saving the file and re-uploading it via FTP onto the original directory, the system will generate the new invoices with this layout.

If the invoices are generated as an empty/blank PDF file, it means that your current HTML structure is breaking the DOM rules, making the file unreadable. In this case it is necessary to take out some parts of HTML code until the files get generated correctly. A common markup error in HTML is to enclose a TABLE within a Paragraph (P) tag because that's not allowed.

Last Update: 2015-09-30
50% of people found this helpful. is not affiliated with or endorsed by the Joomla!® Project or Open Source Matters.
The Joomla!® name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
E4J s.r.l. - VAT N. 06794860483

This site uses cookies. By continuing to browse you accept their use. Further information