Kim Amaral

Show and hide table row based on fields value

Discussion created by Kim Amaral on Nov 1, 2018



I am working on a PDF template for Quotes and I'm getting into a challenge where I need to show the table discount row if discount amount is different then $0.00.


I could show/hide lables and values based on the following formula, but the row still presented in the PDF.

{if $fields.deal_tot!='$0.00'}Discount{/if} 

{if $fields.deal_tot!='$0.00'}{$fields.deal_tot}{/if}


The goal is hide the row instead. How I can accomplish this task?



Kim Amaral