Show REPRINTED note for kitchen ticket

Continuing the discussion from [New 4.1.13] Reprinting Tickets:

I was implementing the reprint button, it works great
But I want to add note to the kitchen that this is reprint order so they will not get confused

Example

First normal order
1xCorn Soup

when I choose to reprint
1xCorn Soup * Reprinted

I have read this topic and done exactly like Jesse recommendation
Continuing the discussion from Reprint Ticket Order:

But it seems not showing as expected
so I would like any advise please

How is it showing? Show your working in order for anyone to comment else will just get vague feedback/sugestions.

First sent 11.00 am
Ticket shows: 1xCorn Soup 11.00 am

Reprint send 11.15 am
Ticket shows: 1xCorn Soup 11.15 am (with no word says this is a reprint version)

Yer, get that bit, I mean how you implemented, generally tutorials on forum are accurate and work so if not working most likely a mistake has been made so show what you did to impliment.
It’s not as simple as saying did you do this, as there are many ways to achive this and 2 systems could do this is very different ways.

I just did something like
image


image

It works fine, but with no ticket noted REPRINT
so I do this

image
image
image

I add in Kitchen Orders Template

[LAYOUT]
<div style="font-size:15px;text-align:left;font-family:'Tahoma'"><L00>โต๊ะ: {ENTITY NAME:Table}
<div style="font-size:10px;text-align:left;font-family:'Tahoma'"><L00>Date:{TICKET DATE} | Time:{TIME} | Ticket No:{TICKET NO}
</div>
<F>-
{ORDERS}
<J00>Ticket Copy# {SETTING:{TICKET NO}}
</div>
[ORDERS]
<L00>{QUANTITY} x {NAME} {ORDER TAGS}
[ORDERS:Void]
<L00>{QUANTITY} x {NAME} {ORDER TAGS}
<L00>ยกเลิก !!! (X)  (X)  (X)
[ORDER TAGS]
-- Format for order tags
 *({ORDER TAG NAME})

Print first time at 16.33 pm
image

Print second time (reprint) at 16.34 pm
image

You increasing count on print bill button, isn’t this for customer copy not kitchen print?
Sure your not just getting null since havnt printed receipt yet…
Think your getting duplicate receipt flow mixed up with kitchen print…
Personally I’d use a ticket tag or state rather than program setting but same end result.

I see now why it doesn’t work, actually I want to increase count on kitchen print.
Could you recommend way to do please

Ad your increase action just before the print action in the reprint rule.
The issue is that adding more ordered will print new orders to kitchen, that wouldn’t be a copy but may show as copy if already been reprinted…

I added the increase action before the print action in the reprint rule.
but due to I used Update program settings, it count every time i click reprint in that table
could you demonstrate how to depend on ticket tag, or state as you recommend please
(I’m not kind of expert for the program, thinking I will messed it up by myself and this may helps other people also)
Thank you in advance

That’d what you want no? To count the number of copies?

JTRTech I just want to click reprint order to kitchen and shows this order is reprinting

I have now I used States, which works fine
every time I clicked reprint the Rstate that I created will update to “Reprint”
image

then I’m stucked with how to show in kitchen printer template
if State=Reprint, Show the word “This order is Reprinted”

This is my kitchen template

[LAYOUT]
<div style="font-size:15px;text-align:left;font-family:'Tahoma'"><L00>โต๊ะ: {ENTITY NAME:Table}
<div style="font-size:10px;text-align:left;font-family:'Tahoma'"><L00>Date:{TICKET DATE} | Time:{TIME} | Ticket No:{TICKET NO}
</div>
<F>-
{ORDERS}
<J00>[=TN('{ORDER STATE:{Reprint}}') ? 'This order is Reprinted!' ']
</div>
[ORDERS]
<L00>{QUANTITY} x {NAME} {ORDER TAGS}
[ORDERS:Void]
<L00>{QUANTITY} x {NAME} {ORDER TAGS}
<L00>ยกเลิก !!! (X) (X) (X)
[ORDER TAGS]
-- Format for order tags
*({ORDER TAG NAME})

Should be something like
[=TN(’{ORDER STATE:{Reprint}}’) ? ‘This order is Reprinted!’ ']
but I’m not sure how to write it correctly
can you help me with the code please

That makes more sence but no, that expression is wrong.

Should be something like:
[=’{ORDER STATE:Reprint’ == ‘Reprint’ ? ‘This order is Reprinted!’ : ‘’]

TN is turn to number, which you now using string not number.

image
image
image

I tried adding kitchen template
[=(’{ORDER STATE:RStatus}==Reprint’) ? ‘This order is Reprinted!’]
[=’{ORDER STATE:RStatus}’ == ‘{Reprint}’ ? ‘This order is Reprinted!’’]
[=’{ORDER STATE:RStatus}’ == ‘Reprint’ ? ‘This order is Reprinted!’ : ‘’]
[=’ORDER STATE:RStatus’ == ‘Reprint’ ? ‘This order is Reprinted!’ : ‘’]
[={ORDER STATE:RStatus} == ‘Reprint’ ? ‘This order is Reprinted!’ : ‘’]

With no luck. Am I missing something?

Make sure you are using the correct ' character. The forum tends to alter it when posting.
If unsure use the samba pop-up keyboard to type it.

I have tried changing the ’
but still not working
may be the coding is wrong

Try a format like this
[='{TICKET STATE:Order Type}' == 'pickup' ? 'I print if ticket state order type equals pickup':'where as i print if it does not equal pickup']

In your case it would look something like this…
[='{ORDER STATE:RStatus}' == 'Reprint' ? 'This order is Reprinted!':' ']

This should work and is what JTR wrote

Finally I got it
This is my successful template

[LAYOUT]
<div style="font-size:15px;text-align:left;font-family:'Tahoma'"><L00>โต๊ะ: {ENTITY NAME:Table}
<div style="font-size:10px;text-align:left;font-family:'Tahoma'"><L00>Date:{TICKET DATE} | Time:{TIME} | Ticket No:{TICKET NO}
</div>
<F>-
{ORDERS}
</div>
[ORDERS]
<L00>{QUANTITY} x {NAME} {ORDER TAGS}
<L00>[='{ORDER STATE:RStatus}' == 'Reprint' ? 'This order is Reprinted!':' ']
[ORDERS:Void]
<L00>{QUANTITY} x {NAME} {ORDER TAGS}
<L00>ยกเลิก !!! (X) (X) (X)
[ORDER TAGS]
-- Format for order tags
*({ORDER TAG NAME})
<BEEP>

Many thanks to JTRTech and KryptonFactor !!

2 Likes

Was just about to say you calling order state outside the orders section which will be why.
But you realised yourself.

1 Like