-->
Welcome, Guest
Username: Password: Remember me
You can also tweak your setup of Dolibarr by setting hidden configurations found in Dolibarr Setup Other

TOPIC: IF condition ODT tags.

IF condition ODT tags. 6 days 19 hours ago #36559

  • nazeer
  • nazeer's Avatar
  • OFFLINE
  • Senior
  • Posts: 69
  • Thank you received: 2
  • Karma: 0
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.


Print this text if {my_var} is true (can be any value but null/0/empty string)

Or print this if it's false (null/0/empty string)


where does my_var comes from?
How to construct the if statement using my scene.
Thanks.
The administrator has disabled public write access.
Time to create page: 0.074 seconds