Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 5.10.0
-
Fix Version/s: 5.12.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
Custom client fields are not available to the email templates Invoice Delivery (Paid) or Invoice Delivery (Unpaid).
The invoices object looks like so:
[invoices][i][client]
which contains client data, but we should also include custom client fields.
Also include the custom fields under:
[contact]
I assume [contact] will include the data for the contact, which is not necessarily the primary contact. custom client field data should be included here also, for whichever contact this is.
The custom client data should also be available to the PDF invoice template, to support customizations to the PDF template to add this. So for clarity, we're adding custom client field data to both:
- Invoice Delivery (Paid) and Invoice Delivery (Unpaid) Email Templates
- Invoice PDF templates (Made available to, but PDF templates not updated to display)