Changing Table Button Captions

<color Orange>£{REPORT TICKET DETAILS:T.RemainingAmount:(TEN.Table=$1)  and T.RemainingAmount>0:-}</color><br/><size 18><i><b><color Black>$1</color></b></i></size><br/><color Yellow>{SETTING:{ENTITY NAME}}</color>
1 Like

Is {SETTING:{ENTITY NAME}} configured to display Ticket’s customer?

Yes i’ll upload the Rule for you to see…

OK. Unfortunately when used on entity screens reporting tags will not display tickets created on past work periods for performance reasons. To display data from older work periods we need to fetch all tickets into memory and that will work slower as you create new tickets.

What is the reason of keeping these tickets open?

Well sometimes some of our regular Customers don’t have enough money to pay that day so we open a tab up until they can pay it off. To date we haven’t had anyone not come back apart from the intentional ones who sneak out lol. and of Course there are Traders who pay the day after and staff also… Hope this explains the information you need…

Thanks

Instead of keeping tickets open you can track a customer account for these customers. Did you watched this video or tested this feature?

2 Likes

OK Thank You will have a Look and see where it leads me thankyou for your Help and Support and can i just say Fabulous Software…

Thanks

MW

1 Like

Are you able to display the time ticket was opened.

I would like to display the number of persons on table and time ticket was opened. More like a timer showing how long the table has been occupied. Thanks

Yes, use {TICKET TIME} or I think better use {TICKET STATE MINUTES:X} or {ENTITY STATE MINUTES:X}

1 Like

$1
Occupied {TICKET STATE MINUTES:X}

Is that the correct display format?

1 Like

No X is State Name like Status.

So how would I type it? If you can tell me that I would be grateful, also I will understand how it works.

At the moment I have “$1
Occupied” Which shows occupied only.

Please advise

{TICKET STATE MINUTES:Status}

I am confused, I type “$1{TICKET STATE MINUTES:X}” in the display format in the states.

On the screen it shows table number plus {TICKET STATE MINUTES:X}

Not table number plus actual minutes.

Sorry for being so confused.

OK. I know the reason of the confusion. (me lol).

On next V5 update you’ll be able to use {ENTITY STATE MINUTES:Status} and other entity related tags on state display formats.

We don’t have access to tickets from entity buttons but you can use reporting tags like {DISPLAY TICKET DETAILS} to display ticket related data.

Why at IN Entity Screen, i can’t display status button table?
But at OUT Entity Screen status button display remaining total table.

this out entity screen:

this in entity screen :

New Order State:

1 Like

Check if your table names are exactly 05,06, etc.

Oke, Thanks Again. it solve now. my fault because my table name 1, 2.

Hey @emre
Just trying to put this topic to bed - when you made the comment above, which part of the Tutorial were you referring to? With regards Button Captions I thought from our work the other day JScript was not supported.

Also just found this so will included it just to keep “documentation” in order:
http://forum.sambapos.com/t/entity-state-formatting-templates/6120/2?u=pauln

Your reference in above link:

Hello @pauln

This is a JScript Expression[=2+1].
This is not supported.

This is a printer template that calls JScript {CALL:utils.sum(2,1)}. **
This is supported as Printer Templates already supported on button headers.

Using inline report tag expressions for calculations is recommended as it does not instantiate (create) JScript Engine.

**Assuming you already defined utils.sum function in scripts.