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?
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#L443If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
Comment