PDF Template, logical or alebric operations?


There is a way to do algebric or logic operations in PDF template?

this type of things :

{if $aos_products_quotes_discount =="Amount"} Amount {else} %



I don’t think this feature exists.

If you can code, you can try changing something here:


… but I’m not sure that’s the best place, I just made a quick search.

Given Suite’s “SugarCRM ancestry”, I found this thread on the Sugar forum. Check out a couple of the responses on this post, which may point you in the right direction…


Note: This is a calculation inside SuiteCRM, not just a PDF template. Therefore, the variable’s name would then need to be edited into your PDF template.