How to hide text if don't have value (empty)
tihomirvitkovic
Croatia
I am doing tax summary on invoice.
It is on summary part of reports. It has more rows:
Tax Tax base Tax amont
5% 100 5
10% 0 0
20% 100 20
(all of this are text objects)
I want to remove (don't show) the row where the Tax base =0. I set text property to text.visible=false in code on before_print
Now I have empty space and I want to move 3rd row up for 1 line (row).
How to do that?
Thank you!
It is on summary part of reports. It has more rows:
Tax Tax base Tax amont
5% 100 5
10% 0 0
20% 100 20
(all of this are text objects)
I want to remove (don't show) the row where the Tax base =0. I set text property to text.visible=false in code on before_print
Now I have empty space and I want to move 3rd row up for 1 line (row).
How to do that?
Thank you!
Comments
create a table and put the unused TableRows on not visible