Billing module custom pdf
It's possible to custom the pdf invoice.
Myclient is french and i want translate the invoice in french
Make a copy of the existing template that is the nearest match to your new invoice template by creating y copy of the folder. e.g.:
cp -prf default mytemplate
The new template folder name shall only contain chars a-z, numbers 0-9 and underscores. Dont use whitepscaes or special chars or accents for the folder name.
Then edit the template files in your new folder. The new invoice template is listed automatically in the company settings.
i've tried to add a custom pdf invoice generator.
I've copied the template default_no_vat in another direcotry, then i've selected the new template from the trop down menu in panel.
When i'll try to create a new invoice, after adding objects and click on Save and Finalize nothing heappen.
In the log i'll get the following error
mod_fcgid: stderr: PHP Fatal error: Class 'PDFInvoice_custom' not found in /usr/local/ispconfig/interface/web/billing/invoice_edit.php on line 303, referer: https://www.domain.tld:8080/index.php
Take a look into the make_pdf_invoice file, the class name of the invoice class has to match with the name that you had choosen for your template.
Perfect, it works.
|All times are GMT +2. The time now is 06:03.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.