What is the proper way to show entity tags on other templates except Ticket Template ?
(i search in forum and i think taht I didn’t find anything, in case i’m wrong please point me )
For example I want on a ticket tos show Customer Name and Balance
If i use {ENTITY NAME:Customer} it gives me ENTITY NAME
If i use
[ENTITIES:Customer]
– Customer entity format
Client: {ENTITY NAME} | Tel:{ENTITY DATA:Telephone}
Addr.{ENTITY DATA:Address} | Floor:{ENTITY DATA:Floor}
Here what i’ve got (the secons one is for the Second Screen)
If you see the Customer name in the in the second template is working …
and in te seccond picture the ballance should be 10,00 and not 0
I’m sure i have done something wrong …
On a separate note, you have an unterminated square bracket on this line which is why you have one showing on your second screen template and further down
Ok, think I might nave it…
Your [quote=“marios, post:4, topic:8641”]
{ENTITY NAME:Customer}
[/quote]
in [quote=“marios, post:4, topic:8641”]
[LAYOUT] – General layout <EB> <BMP>C:\Users\Marios\Documents\SambaPOS4\images\free_coffee_1.bmp <T>Coffee Shop <DB> <C>{DOCUMENT DATE} {DOCUMENT TIME} <C>{ENTITY NAME:Customer} <L> <EB> {ORDERS} <DB> <L> {TRANSACTIONS} <C>NO CASH VALUE <F>* [TRANSACTIONS] <C>{AMOUNT} € <L> <F>- <EC> – <QR>{SOURCE ACCOUNT} – <BAR>{SOURCE ACCOUNT} <EL> <J00>{SOURCE ACCOUNT} | {AMOUNT} € [ORDERS] – Default format for order <J00>{QUANTITY} {NAME} {ORDER TAGS}
[/quote]
Doesn’t work because its a transaction document!
Its reporting on account transaction not ticket/entity.
and the ticket is showing transaction not orders.
The first one looks like a Gift Certificate Template, and the way it reads is for printing Transactions, not Orders. It is not a regular Bill/Ticket Template.
instead of Customer, you need to use {ENTITY NAME:Gift Certificate}
there should be no {ORDERS} placeholder and no [ORDERS]section in the GC Template
A normal Bill/Ticket Template would not have any of these elements:
As for balance… when are you triggering the second screen update?
If its on payment processed the balance will not be up to date as the transactions are not generated untill the ticket is closed.
You will either need to to BALANCE + TICKET TOTAL as a rough bodge to rework your second screen flow.
This would depend on what he is wanting to be customer name, the other screenshot shows a customer name working so expect he is doubling up on entities (customer details & gift voucher)
When I did my gift voucher setup I added a custom field for the voucher customer name and called it with;
{REPORT ENTITY DETAIL:EC.Customer Name:(EN={ACCOUNT})} (sorry if this is not 100% as do not have that setup loaded at the minute
@JTRTech, your setup is way beyond the mistakes that are being made here. I made it clear that he was using a Transaction Template, and since it has a GC Account number in it, he obviously has the GC setup installed.
I wonder if people even bother reading sometimes…
I need to take a break from this today I guess. Frustrated and lots of “real” work to do for my venues anyway…
I get that, was purely saying that to me it looked like he was trying to add the customers name to the transaction receipt by doubling up the entities to use both gift voucher and customer entities as his other screenshot showing a customer name of ‘asdfgh’
And was offering a idea that if he wanted customer name (like i did in my alternative method) that would be a solution which should be useable with your GC setup.
Wow a lot of informations …
First of all Thank you for your answers …
The most of waht you suggested i have already try them …
(I always search the forum for solution and i post only if I can’t find any or if i’m desperate )
For example
I want the name of the customer who bought the ticket