<[LAYOUT] -- General layout
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME} -
<T>TicketS
<T>TicketN
<J00>NCF:[=F('{TICKET TAG:VFNUMBER}','00000000')] <J00>NCF:[=F('{TICKET TAG:CFNUMBER}','00000000')] <J00>GOB:[=F('{TICKET TAG:GOBNUMBER}','00000000')] <J00>RES:[=F('{TICKET TAG:RESNUMBER}','00000000')]
{ENTITIES} <L00>Ticket No:{TICKET NO} <F>- {ORDERS} <F>= <EB> {DISCOUNTS} [<J10>Total Gift:|{ORDER STATE TOTAL:Gift}] {SERVICES} <J10>Total:|{TICKET TOTAL} {PAYMENTS} <DB> <F>= <C10>T H A N K Y O U
[DISCOUNTS] <J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[SERVICES] <J00>{CALCULATION NAME}|{CALCULATION TOTAL}
[PAYMENTS] <J00>{PAYMENT NAME}|{PAYMENT AMOUNT}
[ORDERS] -- Default format for orders <J00>- {QUANTITY} {NAME}|{TOTAL PRICE} {ORDER TAGS}
[ORDERS:Gift] -- Format for gifted orders <J00>- {QUANTITY} {NAME}|**GIFT** {ORDER TAGS}
[ORDERS:Void] -- Nothing will print for void lines
[ORDER TAGS] -- Format for order tags <J00> * {ORDER TAG NAME} | {ORDER TAG PRICE}
[ENTITIES:Table] -- Table entity format <L00>Table: {ENTITY NAME}
[ENTITIES:Customer] -- Customer entity format <J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}
there is it ty for helping me
JTRTech
January 28, 2016, 1:00am
43
What do the unused tags show as? Blank or 00000000?
Try this;
[NCF:[=F(β{TICKET TAG:VFNUMBER}β,β00000000β)]]
[NCF:[=F(β{TICKET TAG:CFNUMBER}β,β00000000β)]]
[GOB:[=F(β{TICKET TAG:GOBNUMBER}β,β00000000β)]]
[RES:[=F(β{TICKET TAG:RESNUMBER}β,β00000000β)]]
1 Like
unused tags dont must show it
JTRTech
January 28, 2016, 1:04am
45
Sorry, can you try rewording that, not sure how to take it
thanks you very much now is working ur a GENIUS!!! AHAHAHAHAH
now will continue with ticket implementation lets see if i can send tickets to bar kitchen and give a ticket to a customer
JTRTech
January 28, 2016, 1:07am
48
Is that giving you all 4 lines and empty space?
Forgot to highlight.
Try this if so;
[<J00>NCF:[=F('{TICKET TAG:VFNUMBER}','00000000')]]
[<J00>NCF:[=F('{TICKET TAG:CFNUMBER}','00000000')]]
[<J00>GOB:[=F('{TICKET TAG:GOBNUMBER}','00000000')]]
[<J00>RES:[=F('{TICKET TAG:RESNUMBER}','00000000')]]
Which should close the gap and only show used lines
lol i didnt see it is true gave me four lines lmao
[<J00>A0100100101:[=F('{TICKET TAG:VFNUMBER}','00000000')]] [<J00>A0100100102:[=F('{TICKET TAG:CFNUMBER}','00000000')]] [<J00>GOB:[=F('{TICKET TAG:GOBNUMBER}','00000000')]] [<J00>RES:[=F('{TICKET TAG:RESNUMBER}','00000000')]]
U wont believe this when i put these numbers which is numbers i will use dont work but if i put this
[<J00>ncfvf:[=F('{TICKET TAG:VFNUMBER}','00000000')]] [<J00>ncfcf:[=F('{TICKET TAG:CFNUMBER}','00000000')]] [<J00>GOB:[=F('{TICKET TAG:GOBNUMBER}','00000000')]] [<J00>RES:[=F('{TICKET TAG:RESNUMBER}','00000000')]]
is working lol
JTRTech
January 28, 2016, 1:20am
51
Hazard a guess the [] is looking for numbers maybe so having numbers in the line outside the tag makes it think there is a value.
Are the numbers important?
You could use a ternary expressionβ¦
[= '{TICKET TAG:VFNUMBER}' == '' ? '' : '<J00>A0100100101:[=F('{TICKET TAG:VFNUMBER}','00000000')]' ]
or
[<J00>[= '{TICKET TAG:VFNUMBER}' == '' ? '' : 'A0100100101:' ] [=F('{TICKET TAG:VFNUMBER}','00000000')]]
3 Likes
these numbers are the one gaved for the goverment hehe so are the most importang thing in all this
lol ur a genius u know about this pos hahahah
ty very much now im having A010010010100000005 this is whats i was looking for
i will preparea tutorial cus i know people of latin america using sambapos dont use comprobante fiscal number thinking they cant do it . i could make it with ur help ty very much now yes will continue configuring more stuff to make it work everything.
4 Likes
this work very good but have to do some changes to work good i left screen so other one can be look at this
if u look at my las screenshot can u look at left 4 buttons thst they delete the tag number i wanted but can i do the same as automation command?
JTRTech
January 28, 2016, 3:21am
56
You should be able to use variables so you only need one rule for all four tags.
Tag name would be command value and would need to change the tags in templates and likewise for program setting names.
Just an option
JTRTech
January 28, 2016, 3:21am
57
Sorry, dont understand what your asking?
i want to group the button vfnumber cfnumber and do the same thats i did with automation command these buttons are on left of my screen look the picture thats i send
JTRTech
January 28, 2016, 3:25am
59
What do the two sets of commands do? tag the ticket and?