Join Slack
Powered by
Does anyone know an if statement that will keep th...
# general
d
Danny Orsinger
08/29/2022, 6:06 PM
Does anyone know an if statement that will keep the discount line on a PDF from showing if the discount is 0 (in other words, if there is no discount)?
t
Th3VanMan
08/29/2022, 6:10 PM
<#if !item.item?contains("Credit Card Fee")>${item.amount}</#if>
Th3VanMan
08/29/2022, 6:11 PM
I used that to exclude any item that was "Credit Card Fee"
Th3VanMan
08/29/2022, 6:12 PM
Basically it printed the Item Amount if the Item was NOT Credit Card Fee
👍 1
3
Views
Open in Slack
Previous
Next