Hope you are well.
Since upgrading to the latest version, it has now broken my custom PDF templates.
Seems that its the Custom Fields that are causing the issue.
Can you show me an example of how to add the custom fields using the new template.
@Kovah, Thank you for the link; But it does not seem to be helping on the PDF for the Custom Fields.
I use like this as shown below, but it does not display the Value of the Custom Field, instead throws an error.
Request to please suggest/help on this.
I am using Invoice Plane 1.5.2
<?php $custom_fields['User']['PanID'] ?></b>
Error it prints on PDF is:
A PHP Error was encountered
Message: Undefined variable: custom_fields
Line Number: 33
Just realized after reading the code over and over again after a good night sleep and some coffee.
I had not echo-ed the values out, to add to the entertainment, I had a typo in it as well.
Corrected as below and it works like a charm. Thank you @Kovah for the clean documentation.
<?php echo $custom_fields['user']['PanID'] ?>