I have just noticed that for customers who have not entered a company name, the name of the first contact also appears as the company name on the invoice.
So the whole thing looks like this:
Max Mustermann
Max Mustermann
Sample street 1
12345 Sample city
In my opinion, however, if no company name is entered, the whole thing should only be optional, or am I wrong?
If you can give me a trick in the design I will gladly use it
Steps To Reproduce
Creates a customer without a name (i.e. only the contact without the company name)
Uses âFull name of contactâ in addition to âCompany nameâ in the invoice template
Now a customer of mine / yours has also contacted me and asked if there has been a change.
I am also sure that this problem did not exist until recently.
No company name then only showed the name of the contact and not the name of the contact twice.
So itâs really annoying when @david thinks that a bug is not a bug and just turns it into a discussion again, especially when this discussion already exists.
Above all, I can narrow down exactly the time.
Between January 01 and January 09, 2025 something has been changed that leads to this problem.
Follow the issue templates, fill in every piece of information. Without a proper issue template, I usually close the issue immediately, or push it back to a discussion.
FWIW, i rolled back to 5.11.0 and the same functionality exists there.
So the whole thing is a farce.
The problem CONTINUES and there is no sign of a solution.
The mere fact that the requirement to simply hide the duplicate names has existed since 2022 and you have to make do with a Javascript is a farce in my opinion.
The installation of an if-then statement really shouldnât be a problem:
If company name empty â hide field on entities
Otherwise, you really manage to scare away a customer who has been satisfied up to this point (since 2018).
I still have problems with getting Company Name (of thereâs any) and Client Name in there.
In the settings I chose to display:
Client Name
Contact Full Name
Street
City
But this always includes the contactâs name which I donât always want to include.
There is a toggle in the Client Editing panel at âContactsâ called âAdd to invoicesâ but when toggled on, itâs not added (in case the Contact Full Name is not included in the settings) and itâs not removed (in case Contact Full Name is included in the settings as described).
Any way to make this dynamic/customer dependent if the client contact in included?
Edit:
The toggle always stays on, no matter if the contact is saved with it being switched off (not that it did what I thought it would do in the first place)
Temoprary solution:
When nothing works, itâs woraround time. I now added the contact name in the website field and use that instead as I donât need it anyway. Not elegant but it works.