Not tested but it should be something like that. At least you’ll get the idea
<J00>[='{ENTITY NAME:Customer}' == '' ? 'Suggested Tip:|' + F(TN('{PLAIN TOTAL}')*0.1,'0.00') : '']
Not tested but it should be something like that. At least you’ll get the idea
<J00>[='{ENTITY NAME:Customer}' == '' ? 'Suggested Tip:|' + F(TN('{PLAIN TOTAL}')*0.1,'0.00') : '']
Thanks for reply @emre, it doesn’t works for me because PLAIN TOTAL prints only when total and subtotal are different, so I need to use brackets again, is there another variable similar to PLAIN TOTAL that I can use in this case?
So what about this?
<J00>[='{ENTITY NAME:Customer}' == '' && TN('{CALCULATION TOTAL:Tip}') == 0 ? 'Suggested Tip:|' + F(TN('{TICKET TOTAL}')*0.1,'0.00') : '']
Tip will be your calculation template name.
@emre you always find a solution for every problem, I would like to be so creative like you, thanks a lot!!!