'is' in a ternary expression on a receipt renders as '=='

@emre Just a small one. is in a value option in ternary expression on receipt renders as ==
Can confirm it prints like this also.

FYI, I know my true and false are the wrong way round :wink:

Escape it since it seems to be reserved.

How does one escape in a printer template? :slightly_smiling:

It’s an expression you escape it the same way you do any expression.

:frowning: … backslash? Gave an error, obviously not that…

Payment total tag needs to be in quotes as well

Forward slash works :slight_smile: but is also shown on receipt :frowning:

Try escaping all the escape characters. Lol jk. Try " quote instead of ’ maybe?

:frowning: nope. with or without slash…

Slash is the only one I know LOL :frowning:

Lol sorry was bad joke you would have had infinite slashes lol.

Any other ideas? :slightly_smiling:

Use another word or phrase that is not reserved?

Thanks… sounds like your on fire tonight.
Not entirely the point though :stuck_out_tongue:

Will change as looks like have to but seems like a but to me…
Surely within quotes it should treat it as a sting…

Script is your friend lol

This’s not a receipt LOL. It is not reserved for sure :wink:

EDIT: Found solution for you for real :slightly_smiling:

use
This\bis not a receipt.