mesovi
January 10, 2025, 2:07am
1
Version ie <v5.10.30>
v5.11.17
Environment <Docker/Shared Hosting/Zip/Other>
Docker
Checklist
Describe the bug
The invoices show the “Invoice terms:” label, although it is empty.
Uncommenting this HTML line in a custom invoice design, does not remove the label:
/* Hide terms label */
[data-ref="total_table-terms-label"] { display: none }
Steps To Reproduce
I could not find a way to reproduce it.
I have gone through all the settings and changed many.
Expected Behavior
I expect that the label is not visible.
Additional context
This issue started with my last update of the docker image.
I have also updated another docker instance in a VM, which has the same issue now.
I installed both instances at the beginning of last December.
The issue does not exist on newly created companies on the instance.
If I back up the data and import it into a new company, the issue comes up again.
Thank you for your help!
Kind regards
hillel
January 10, 2025, 7:09am
2
Hi,
I’m not sure, I suggest asking in a discussion on GitHub
kylegp
January 11, 2025, 12:17pm
4
Same issue here. Always shows an “Invoice Terms” label now, even without any terms entered or with the hidden code uncommented.
Issue raised: Invoice Terms Label Shown without terms set, hidden code has no influence · Issue #10509 · invoiceninja/invoiceninja
1 Like
mesovi
January 13, 2025, 7:02pm
5
Fixed with version 5.11.23
opened 12:15PM - 11 Jan 25 UTC
closed 12:23PM - 11 Jan 25 UTC
bug
fixed
v5.11.18-W171
As of v5.11.17, there is this "Invoice Terms" label that is now… shown on the Invoice design at all times.
Previously, if there were no terms entered, this label would not appear, and this is the expected behaviour.
I have also seen that in the includes for the invoice design there is the following line you can uncomment, but this has no effect either:
/* Hide terms label */
[data-ref="total_table-terms-label"] { display: none }
![image](https://github.com/user-attachments/assets/a1fc51f1-755c-40ca-b946-9eea91a59c4d)
Please return the behaviour as it was before where this would not appear if there were no terms entered, and have the hide terms label code above have the correct influence.
Another discussion reference to https://forum.invoiceninja.com/t/can-not-hide-invoice-terms-label/21059
1 Like