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.
JTRTech
November 12, 2015, 9:58pm
3
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.
JTRTech
November 12, 2015, 10:12pm
5
Should be REPORT ORDER COUNT ?
Not at pc to check tags so kinds guessing
1 Like
NOP… keep trying!!! its simple… very simple
G.
emre
November 12, 2015, 10:15pm
7
didn’t know we had such tag. Interesting.
emre
November 12, 2015, 10:24pm
11
Printer was out of paper.
lol I’m trolling. Of course I know why…
1 Like
JTRTech
November 12, 2015, 10:24pm
12
emre:
There were no orders.
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.
1 Like
jajajajajjajajajajajajajajajajajjajajaja, I had 1 large Pizza…
G.
emre
November 12, 2015, 10:35pm
15
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
@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.
JTRTech
November 13, 2015, 12:11am
18
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.
JTRTech
November 13, 2015, 12:32am
20
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