Print voided item detail in ticket


#1

Hi, this is my first question on forums ever.

When i void (iade?) an item it prints a ticket to corresponding printer. But there are options for the void type and i also want to print that extra info on the ticket. Because we save and sign back of those void tickets so it would be very helpful if we can print why that item is voided.


#2

How are you storing the reason? We need all the info to help!!!


#3

OK i just found this thread.

As it explains here, i have entered “reasons” for void and gifts. But i want that “reasons” to be printed on my bar and kitchen tickets as i collect them at the end of the day. It would be super helpful to see the extra data on the ticket.


#4

modified my printer template like this. Not sure this is right though

[LAYOUT]

<C10>{ENTITY NAME:Masa}
<C10>{ENTITY NAME:Müşteriler}
<L00>Garson: {USER NAME}
<L00>Tarih:{TICKET DATE} - {TIME}
<L00>Adisyon No:{TICKET NO}
<L10>Adisyon Notu: {NOTE}

<BEEP>
<F>-

{ORDERS}

[ORDERS]
<L10>- {QUANTITY} {NAME}

{ORDER TAGS}

[ORDERS:İade]	-- void
<J10>- {QUANTITY} {NAME}|IADE: {REPORT ORDER DETAILS:OSV.GStatus:(OS.GStatus=İade)}
{ORDER TAGS}

[ORDERS:İkram]	-- gift
<J10>- {QUANTITY} {NAME}|IKRAM: {REPORT ORDER DETAILS:OSV.GStatus:(OS.GStatus=İkram)}
{ORDER TAGS}

[ORDER TAGS]
-- Format for order tags
<L00>     * {ORDER TAG NAME}

#5

I managed to print the reason next to void/gift but it prints the reason many times (i guess thats the quantity of daily total of that reason)

Can anybody help me?


#6

So the answer to the question was you using state value then.
Pretty sure you don’t need to use that long report order details expression… Sure there is a direct state value one for orders on template…
Plus that report expression by itself has no way to reference that single order…


#7

i’m trying hard to understand the syntax, its also fun but frustrating. i have no idea how to write that. can you help?


#8

Use template help button to show you a list of printer template tags…

{ORDER STATE VALUE:X}

In your case {ORDER STATE VALUE:GStatus}