Hi!
After I always run into errors while trying to upgrade from 1.4.3 to the latest version, I made a fresh 1.5.5 installation. Only thing I can’t get to work is a part of my custom Invoice template. In the old one I had a header, containing my name and workfields. The Invoiceplane.php started like the one below. I tried to insert the body-part in the new one, but mpdf just ignores it and the page header stays hidden. Any ideas? Help?
Thanks a lot,
Mathias
The “head” part seems to have changed since v1.4.3, it looks like the one below now (this is the copy of the InvoicePlane.php with the new install). I tried to replace the custom-pdf.css at /assets/core/… with the old one from /default/css - but that didn’t help. I don’t know much about css in general, but somehow managed to get this working 1,5 years ago…
Any help is greatly appreciated!
EDIT: I just checked, I haven’t changed anything in the custom-pdf.css in the old install :-/
Thanks,
Mathias
Did you set the right template for invoice (see Settings -> System Settings -> Invoices -> Invoice Template)?
Your changes are in application/views/invoice_templates/pdf/ or in application/views/quote_templates/pdf/?
Hi Emanuel!
Yeah, I edit the default Invoice Template (and that one is selected in the system settings. Other changes (I added a custom field) are working as expected. That also shows I am working on the right file (application/views/invoice_templates/pdf/)…
Thanks,
Mathias