if - endif condition on one line with empty value outputs if condition

Any critical bugs will be fixed within 24-48 hours.
Post Reply
antevasin
Posts: 121
Joined: 24 Mar 2020, 08:57
Name: Spencer Crocker
Location: Corby, UK
Company Name: Unicloud
Contact:

if - endif condition on one line with empty value outputs if condition

Post by antevasin »

replicated in this demo by going to
https://rukovoditel.cloud/demo/3.5/inde ... mo_id=3141
Print>>Print Sticker is fine and outputs as expected as there is value for field 215 (Project)

However going to this record
https://rukovoditel.cloud/demo/3.5/inde ... mo_id=3141
Print>>Print Sticker outputs {{if([215]>0):}} incorrectly
export template issue.png
User avatar
support
Site Admin
Posts: 6194
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: if - endif condition on one line with empty value outputs if condition

Post by support »

In one line just ad spaces in condition

Code: Select all

{{if([215]>0):}} {#215:Project} {{endif}}
https://rukovoditel.cloud/demo/3.5/inde ... mo_id=3141
Post Reply