Loyalty Balance on Receipts

Hello,

I have a loyalty program setup, the entity type is called “Members” and each customer is an entity. On the receipt I want to print the customer name and the balance of their account (it will have a positive value).

I am struggling to do this… can anybody offer me any guidance?

Modify this to use the applicable Entity Type:

[ENTITIES:Customer]
<J00>Cust: {ENTITY NAME}|Bal: {ENTITY BALANCE}

Use this:

[ENTITIES:Members]
<J00>Cust: {ENTITY NAME}|Bal: [=F(TN('{ENTITY BALANCE}') * -1)]  

If you want postive to be +
and negative to be -

When I do that it still just prints {ENTITY BALANCE} on the receipt but not the actual balance. I have gotten it to print the name properly but not the balance.

<EB>
<J00>Date: {TICKET DATE} | Time: {TIME} 
Table: {ENTITY NAME: Table}  
<L00>Name: {TICKET TAG:Customer Name} {ENTITY NAME: Members} 
Coffee Hero Balance: <J00>Cust: {ENTITY NAME}|Bal: [=F(TN('{ENTITY BALANCE}') * -1)]
<L00>
<EB>

[ENTITIES: Customer]

-- Member entity format
<J00>Customer: {ENTITY NAME}

[ENTITES: Members]

-- Member entity format
<J00>Cust: {ENTITY NAME}|Bal: [=F(TN('{ENTITY BALANCE}') * -1)]

Well no where in your print template have you actually used the section to get the Members Entity Balance… Is this your whole print template? So I can fix it but from what you’ve posted you need something more like this

<EB>
<J00>Date: {TICKET DATE} | Time: {TIME} 
{ENTITIES}
<EB>
[ENTITIES:Table]
<J00>Table:  {ENTITY NAME}

[ENTITIES: Members]
<L00>Name: {TICKET TAG:Customer Name} {ENTITY NAME: Members} 
<J00>Coffee Hero Balance: Bal: [=F(TN('{ENTITY BALANCE}') * -1)]