Ticket printing IF/ELSE operators

Search for Ternary Expression and you will find a bit of info on how to incorporate into a Template.
GLUCK…

Example: