Hi,
I would like to put conditional on payment terms to be displayed on invoice.
Scene :
In invoice if Bank reference = “xyz”
then print “pay to xyz bank”
else if bank refernce = “abc”
then print “pay to abc bank”
endif
Example: Wiki ODT document doesn’t have clear picture.
[!-- IF {my_var} --]
Print this text if {my_var} is true (can be any value but null/0/empty string)
[!-- ELSE {my_var} --]
Or print this if it’s false (null/0/empty string)
[!-- ENDIF {my_var} --]
where does my_var comes from?
How to construct the if statement using my scene.
Thanks.
In my above quest,
xyz and abc are bank reference on invoice card.
we deal with multiple banks, so if user select bank reference as xyz, then bank details of xyz should be printed or if bank reference is abc, print abc bank details. this is the quest.
You create a list that, as far as I know, it is incompatible with IF statement.
In IF statement of OTD you need fals or true information.
So better to create two check boxes and use the IF statement of h6585