Hi, I use ifEqual functions in PDF and would like to know, if it is possible to use logical operators like == or || in these functions. If not by default, would it be possible to implement an handler in the handlebars file and where would I put it in case to make it upgrade safe?
Announcement
Collapse
No announcement yet.
logical operators in PDF template
Collapse
X
-
Hi,
You can define custom helpers. Check these links:
https://docs.espocrm.com/development...custom-helper/
https://zordius.github.io/Handlebars...tomhelper.html
https://github.com/espocrm/espocrm/blob/6.0.6/application/Espo/Core/Htmlizer/Htmlizer.php#L443
Comment