I'm trying to create an invoice based on templates. The invoice will have several sections: general invoice information (always there), a section with time-based entry lines and a section with materials used.
I have this working using a template marker and 3 variables, for each section one marker.
Some invoices will only use time-based entries, others may only use materials, while others will use both.
In my current solution, if a section is not used, it's still visible. Is it possible to hide a section programmatically?