Table number not showing on docket and ticket

The printer template settings I’m using works fine with default entities that is pre-config when you install sambapos.

I created new entities and table number (entities name) is not showing on docket or tickets printed.

Below is my template

Ticket

\SERVER\Users\Public\Documents\NEW\logobmp.bmp

[LAYOUT]
– General layout
PLAYGROUND
BY REDSON
-
Shop 57, Delta Mall, Warri Delta State,
Phone: 09159518553


Date:{TICKET DATE}
Time:{TIME}
Waiter:{USER NAME}
{ENTITIES}
Ticket No:{TICKET NO}
-
{ORDERS}
=

{DISCOUNTS}
[Total Gift:|{ORDER STATE TOTAL:Gift}]
– Sub Total:|[=F(TN(’{TICKET TOTAL}’)-TN(’{TAX TOTAL}’))]
– VAT:|{TAX TOTAL}
{SERVICES}
Total:|{TICKET TOTAL}
{PAYMENTS}
Change:|{CHANGE TOTAL}

=
THANK YOU FOR GAMING WITH US


[DISCOUNTS]
{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[SERVICES]
{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
{PAYMENT NAME}|{TENDERED}

[ORDERS]
– Default format for orders
- {QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

[ORDERS:Gift]
– Format for gifted orders
- {QUANTITY} {NAME}|GIFT
{ORDER TAGS}

[ORDERS:Void]
– Nothing will print for void lines

[ORDER TAGS]
– Format for order tags
* {QUANTITY}x {ORDER TAG NAME} | {ORDER TAG PRICE}

[ENTITIES:Table]
– Table entity format
Table: {ENTITY NAME}

[ENTITIES:Customer]
– Customer entity format
Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

Docket

[LAYOUT]
PLAY GROUND ORDER DOCKET

-
Date:{TICKET DATE}
Time:{TIME}
Table:{ENTITY NAME:Table}
Ticket No:{TICKET NO}
Waiter:{USER NAME}
-
{ORDERS}

[ORDERS]
- {QUANTITY} {NAME}
{ORDER TAGS}

[ORDERS:Void]
- {QUANTITY} {NAME}|Void
{ORDER TAGS}

[ORDER TAGS]
– Format for order tags
* {QUANTITY}x {ORDER TAG NAME}

Please I need help to solve this. I have many clients with is same issues

Can you show your entity setup and output? Your template seems to be fine.

If ‘table numbers’ is new entity type and not using default entity of tables then it won’t as that template only has formats for customers and tables, you either need to create a new entities template section for table numbers or place directly in main layout with corresponding entity type e
Specific tag.

1 Like

How can I do this please. Any samples? Please.

Your samples are in your template:

[ENTITIES:Table]
– Table entity format
Table: {ENTITY NAME}

[ENTITIES:Customer]
– Customer entity format
Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

One formats for ‘Table’ entity and the other ‘Customer’

1 Like

These must be two separate ticket templates, lets call them #1 and #2

Ticket #1 - You’re using {ENTITIES} in your ticket and defining the output based on Entity Type. So if you created a custom entity you’re not going to see it unless you add a new [ENTITIES:WhateverYouCreated] at the bottom of your ticket with the desired output below such as {ENTITY NAME}. If you wanted to define the output for all entities you could just type [ENTITIES], but you probably don’t want to do that.

Ticket #2 - You are directly referencing the entity type with {ENTITY NAME:Table} so if you want to display a newly created ticket entity you would type {ENTITY NAME:WhateverYouCreated}.

1 Like