hello,
nothing is working for me, I can’t add a custom field to InvoicePlane_Web.php
not with changes to application\helpers\template_helper.php and application\modules\custom_fields\models\Mdl_custom_fields.php
nor with application/modules/guest/controllers/View.php
sorry, I know why, maybe you need to reapply same changes in View.php to include also custom tags for quotes not only invoices.
I modified it and it works now.
Issue seems to be with customs fields with “Single Choice” in E-Mail templates as I came across. It just displays the “custom_values_id” in “ip_custom_values” table.
Value in “ip_invoice_custom” table referring to the filed is also the same value. Is it correct?
Text and other single types work. @YeyDev any help from your side is also welcome
I’ve got this problem as well. Just migrated from 1.4 to 1.5.9 and trying to solve this. Have read the docs on migrating & changes to custom fields. I have custom fields working in my PDF templates and in email, but am getting errors / no result in the web view templates.
For a custom variable called “ABN” in “user”, I’ve tried:
Custom fields are working as expected for both web and PDF templates.
Email templates are using a different approach that makes usage of some custom fields impossible at the moment. But email templates will be completely rewritten anyway.