Ticket Tag {ORDER COUNT} help needed

jajajajajjajajajajajajajajajajajjajajaja, I had 1 large Pizza…

G.

So I’ve granted a Winner Diamond for @JTRTech

PS: Was really wondering what the hell these badges does lol. Now I found a use.

3 Likes

Lol, thanks :smile: hehehe

2 Likes

@emre, following this theme, is this

[<J00>Voce tem: [=TN('{ORDER STATE QUANTITY TOTAL:(Suma=True)}')] Pontos]

Suma is a Product Tag

Possible?

if not, how could I have the Orders with a specific state quantity?

Thanks!!!

G.

Presumably you turning product tags tostadas on order added?
Was doing similar for automation command constraints for new + kitchen orders.
See http://forum.sambapos.com/t/can-you-count-order-with-combinations-of-conditions/6068?u=jtrtech
Emre gave different tag - think from reports section and used OS.XXX= for the expression/filter.

1 Like

I was just looking at that.

I came as close as:

[<J00>Voce tem: [=TN('{TICKET ORDER QUANTTY TOTAL EXP:(OS.Status=Points)}')] Pontos]

but it is still counting all items… strange… or better… I am sure I made a bubu… as allways…

Thanks!!!

G.

Surely it wouldn’t be OS.Status=Points… Status is the state name it would be OS.Points but but sure how to do is not blank as expression. Maybe can do OS.Points>0 but bout it?!?

1 Like

I think it will be:

[<J00>Voce tem: [=TN('{TICKET ORDER QUANTTY TOTAL EXP:(OS.Points=True)}')] Pontos]

This does not work either… it counts all…

G

This is counting states yer, how are you doing product tag into a state?

You say OS.Points=True but if you are turning tags to states like I do on order added Points is a number, Suma is Ture or not??

More info needed I think.

1 Like

good point!!!

I have a TAG wich is SUMA, and have a State wich is POINTS

Do not know how to put an EXP into the {TICKET ORDER QUANTTY TOTAL EXP:(OS.Points=True)} to see whether to product has the POINTS State or not…

Stuck with this… bububububububububbbbuuuuuuuuu

Thanks!!!

G.

EDIT: will continue this issue in a different topic since this one is closed and solved. Thnaks!!!

Yer but the points column in numbers.
Shows a screenshot of ticket as admin showing order states…
It just sets state of Points --> True is not blank??

sorry, I did not understant…

Its too early for me, jajajajajajja

Thanks!!!

g.

A screenshot that actually shows the states applied to the orders :smile:

1 Like

sorry… i did not understand…

Thanks!!

G.

PD, I think I saw something after you requested the screens…

{TICKET ORDER QUANTTY TOTAL EXP:(OS.Promotion=POINTS)}

:frowning: no change…

(OS.Promotion=Points)

1 Like

still the same…

adding 2 points instead of one…

:tired_face:

That part of template is not giving that!
Its in the entity section!! And says Voce tem: but ticket says Voice hoje …
Show layout part of your template

Ticket Template:

[LAYOUT]
-- General layout
<EC>
<BMP>C:\Users\Gerlando\Documents\SambaPOS5\Images\logo.bmp
<EL>
<R00>Data:{TICKET DATE}
<R00>Hora:{TIME}
{ENTITIES}
<L00>Pedido No:{TICKET NO}
<LF>
<F>-
<J00>Item|Valor
<F>-
{ORDERS}
[<F>-
<J00>Subtotal:| R$ [=TN('{PLAIN TOTAL}')]]

{DISCOUNTS}
{SERVICES}
<EB>
<F>-
<J10>Total:|R$ {TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<EB>
<C00>Voce hoje sumou {ORDER COUNT} Pontos!
<DB>
<C10>MUITO OBRIGADO!!
<LF>
<LF>
<LF>

[DISCOUNTS]
<J00>{CALCULATION NAME}|R$ {CALCULATION TOTAL}

[SERVICES]
<J00>{CALCULATION NAME}|R$ {CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|R$ {PAYMENT AMOUNT}

[ORDERS]
-- Default format for orders
<J00>{QUANTITY} x {NAME}|R$ [=F(TN('{PRICE}')*{QUANTITY},'0.00')]
{ORDER TAGS}
[<J00>* Cambio de Preço: {ORDER STATE:PStatus}]

[ORDERS:Gift]
-- Default format for orders
<J00>{QUANTITY} x {NAME}|  PROMO
{ORDER TAGS}

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

[ORDER TAGS]
-- Format for order tags
<J00> * {ORDER TAG NAME} | [R$ {ORDER TAG PRICE}]

[ENTITIES:Table]
-- Table entity format
<L00>Mesa: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<LF>
<F>-
<J00>Cliente: {ENTITY NAME}
<J00>Telefone: {ENTITY DATA:Phone}
<EB>
[<J00>Voce tem: [=TN('{TICKET ORDER COUNT EXP:(OS.Promotion=POINTS)}')] Pontos]
<DB>
<J00>Endereço: {ENTITY DATA:Address}
<J00>NOTA: {ENTITY DATA:Notas}
<F>-
<LF>

this is that line you highlited…
It must be counting tag as an order!!! either way move the points bit to there…
Or am i not following, sorry not in English so cant read the actual ticket output :stuck_out_tongue:

look ate the latest template…

It modified…

thanks!!!

G.

LETS GO ON HERE: Help with TICKET ORDER COUNT EXP