Hi,
maybe it is a bug, or I am doing it wrong. As you can see I came quite far with my odt template, but now I am stuck and need help.
So I want to implement a conditional substitution into my documents table. I have my row.lines there and in the line_up I, tried this.
{line_up}
{line_discount_percent}[!-- IF {line_discount_percent} --] Rabatt [!-- ENDIF {line_discount_percent} --]
tried many variations. It keeps giving printing into my invoice [!-- IF --] Rabatt [!-- ENDIF --] but I want to have āRabattā and nothing more. As you can see in the file at another area it is working, but outside the table. I need it inside. Can anyone help me.
So what am I doing wrong? Or is it reallly not posible in the tableā¦
[!-- IF {my_var} ---] Rabatt [!-- ENDIF {my_var} --]
not working inside of tables in odt documents.
So is this a bug or did anyone got a conditional substitution to work inside of a table.
Hi there Striebig, I know this post is old already, but had you any luck with this feature? Iām having the same problem here. Also tried many variationsā¦
Iām in France and I got the same problem.
Have you find a solution ?
Iād like to put lines without price in my table so i add services with description and no price but in the generated odt, the price is generated with the value of 0.
I thought that substitution could help but i didnāt find the solution.
I think that when many balise [!-- xyz --] are nested it doesnāt work.
Hi there rorotoche, I think I donāt understand your problem. If you DONāT put the price ODT tag in the document, itās not going to generate itself in it. You are probably inserting something in there.
I have just tested in my config using the following tag lines and it doesnāt generate any price in there by itself.
[!-- BEGIN row.lines --]{line_product_label} {line_desc} .- ā¬[!-- END row.lines --]