Custom fields for tasks are not completely implemented ($task.task1_label)

Hi @ben,

I am on v5.1.40-C45 fresh test install and company. I can can confirm the template formatting is working for both options: empty column show/hide.

There is still an issue:

I configured a custom field for task like here:

Added some tasks – all with set custom field – no empty ones.

By the way: The column title is not named properly after its task filed name 1. Operating with a column “Custom 1” is not self-explaining at forces users to guess, what was meant.

In Invoice Design I set up like this:

When I do an “Invoice Project” I discover that the columns are not corresponding to the task columns set in Invoice Design (here should show up “custom task 1” instead of “Item”, or is that meant for an other purpose?)

The PDF has correct Column Titles but the Custom Column is empty when “show empty”:

or disappears completely if “hide empty” is selected – although there are no empty custom task fields.

Can you please investigate once more in that scenario?