Ticket Tag {ORDER COUNT} help needed

Guys… I am tring to print the {ORDER COUNT} quantity… but seems I dont have any luck these days…

these is the template (you will see on the bottom of the template the order count line)

[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>=
<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('{ENTITY DATA:Points}')] Pontos]
Voce hoje sumou {ORDER COUNT} Pontos!
<DB>
<J00>Endereço: {ENTITY DATA:Address}
<J00>NOTA: {ENTITY DATA:Notas}
<F>-
<LF>

any help will be appreciated!!

Thanks!!!

G.

I found the error

but… I will wait to see how fast you all are… LOL!!!

thanks!!!

g.

Was it cause it was in entities section?

NOP… keep trying!!! its simple… very simple… and i have to say that I had a very hard time to find the problem…

G.

Should be REPORT ORDER COUNT ?
Not at pc to check tags so kinds guessing :stuck_out_tongue:

NOP… keep trying!!! its simple… very simple

G.

didn’t know we had such tag. Interesting.

LOL, seriously??

Thanks!!

g.

No formatting tag!!!

There were no orders.

Printer was out of paper.

lol I’m trolling. Of course I know why…

Was going to say that LOL but can’t be the answer surely @gerlandog would know better surely

thats what I did:

<EB>
[<J00>Voce tem: [=TN('{ENTITY DATA:Points}')] Pontos]
Voce hoje sumou {ORDER COUNT} Pontos!
<DB>

and that´s what I have should done:

<EB>
[<J00>Voce tem: [=TN('{ENTITY DATA:Points}')] Pontos]
<C00>Voce hoje sumou {ORDER COUNT} Pontos!
<DB>

AND THE WINNER @JTRTech

Thanks!!!

G.

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.

Lol, thanks :smile: hehehe

@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.

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?!?