I’m not sure if I’m doing something wrong but my template changes are not showing. Eg. I have selected to change the green template ( application/views/invoice_templates/pdf/green.php ) with the following code:
<?php echo $invoice->client_custom_contact_person; ?>This is between the “client_tax_code” and “client_address_1” in the class “invoice-to”. I’ve also tested this with the default.php template but same issue. I’ve also tried it on the public/default.php template and same issue. I’ve alos used the code in:
https://wiki.invoiceplane.com/en/1.0/templates/customize-templates
as follows:
<?php print_r($invoice); ?>
… and the variables don’t show up. Perhaps I’m not editing the correct files?
I thought perhaps that the changes weren’t being applied to existing invoices so I generated a new invoice but still same issue. Any assistance is appreciated.
Regards, Robby