Printing Grouped Items

Hmm… I’m interested. But shouldn’t it be 3xPepsi?

1 Like

Lol it should be
3 Pepsi
2 chips
1 rice

1 Like

rice looks like a siding. how can we differ these…

or we’ll have

3 pepsi
2 chips
2 mild
1 rice
1 medium

They are all listed like tags in a combo type setup.
Dish,

  • spice level presumeably no value
  • side of rice/chips
  • drink choice

Guess rice and chips would be in same tag type/group so perhaps a list tag group count expression although that would then be a fixed format unless there was a new section type.

1 Like

Both are possible. Expressions generally returns a single summary value. So having a new section might be a better idea. But implementing an expression / tag type might be useful to summarize items more easily. I’ll think about that.

Maybe more like a report expression where you set fields order if it was a one liner.
Section like other obviously allows full flexability of other sections. Specifying tag types after header like states on orders in default template for voids on kitchen print and gift etc.

OK. I’m adding {REPORT ORDER TAG DETAILS EXP:X} lol.

edit: however this is not really an expression. how should we name this? Maybe just {ORDER TAG DETAILS:x} will be better. I’ll check if that name used somewhere else or not.

I’m testing it on @QMcKay’s sample. I think we invented something new :slight_smile:

Yes it would be lol applogies

They are all sidings, i was trying to reaserch weather a order tag could actually select a product from another category of products, so example chips order tag would select the chips product so when printing i could just print all order products without order tags,

This would help greating in bump screens, becuase in a takeaway chain the screen for the fryer section would have all the chips on one tab on his screen. (but this would be a diffrent topic)

My laptop charge is dying, I’ll add few expressions to filter by tag group name easier. It will be ready for next update.

2 Likes

I tested it on ticket template but you can implement it for kitchen order template too.

Fantastic great stuff thanks :slight_smile:

Nice one :wink: sure that will be used allot. Probably allot of people that might not have asked or known they wanted but see it and think actually that’s handy.

I completed required expressions however it missed the 5.2.12 release. It will be available on 5.2.13 beta.

By using OTNC (Order Tag Name Contains) expression you can supply a comma delimited list of order tag names to filter order tags.

3 Likes

Been testing this all good and well except when you use product quantity so 2x burger meal and you have chips. the order tag would only show 1 on the recipt, unless you put each item in individually it should be 15 chips 15 7up

Other than that actually works really well

Show your printer template?

[LAYOUT]
<div style="font-family:Calibri;font-size:16">

<div style="text-align:left;font-weight:bold;">
<span style="font-size:20px">----PACKER----</span>
</br>
<span style="font-size:10px">{DATE} - {TIME}</span>
<span style="font-size:26px;text-align:left">{TICKET TAG:SG}</span>
</div>

<table border="1"><tr><td><span style="font-weight:bold;font-size:20px;">Order</span></td></tr><tr><td><span style="font-weight:bold;font-size:28px;">{TICKET TAG:OrderNo}</span></td></tr></table>

{ENTITIES}
<f>-
<span>{ENTITY NAME:Customers}</span>
<span>{ENTITY DATA:Customers:Phone}</span>
<span>{ENTITY DATA:Customers:House No}  {ENTITY DATA:Customers:Street}  {ENTITY DATA:Customers:PostCode}</span>
<span>{ENTITY DATA:Customers:Notes}</span>
<f>-

<span style="font-size:18px;font-weight:bold;">Food Items ----</span>

<div style="font-size:14px;text-align:left">
<table>
<tr><td width="180"><span style="font-weight:bold;">Description</span></td><td width="55"><span style="font-weight:bold;">Qty Tick</span></td></tr>
{ORDERS}
</table>

</div>
<span style="font-size:18px;font-weight:bold;">Order Contains ----</span>
{ORDER TAG DETAILS:T.Value,T.Name.acs,T.Qty.sum:(OTNC=Sides Peri,Drinks Platter,Sides Peri Chargable,Drinks Included,Drinks Cans,Extras Peri Hidden,Extras,Tag Product Grouping,Drinks Tag Hidden,Kids Drinks,Extras Hidden,Drink Bottle 1-5Ltr £1,Bucket Side 6,Bucket Side 10,Bucket Side 14):<J100>{2} x {0}}



[<J10>Total Gift|     {ORDER STATE TOTAL:Gift}]
{TAXES}
<EB>
[<J10>|Total|     {TICKET TOTAL}]
<DB>
{DISCOUNTS}
[<L00>CC Info  {TICKET TAG:CCtype} ({TICKET TAG:CCdigits})]
<F> 

</div>

[DISCOUNTS]
[<J00>Tip|{CALCULATION TOTAL}]


[ORDERS]

<tr><td width="190">{NAME}</td><td width="15">x{QUANTITY} - (_)</td></tr>
<tr><td width="190">{ORDER TAGS}</td></tr>{ORDER STATE:Note To Kitchen}
[ORDERS:Gift]
<tr><td width="190">{NAME}</td><td width="15">x{QUANTITY} - (_)</td></tr>
<tr><td width="190">{ORDER TAGS}</td></tr>{ORDER STATE:Note To Kitchen}
[ORDERS:Void]
<tr><td width="190">{NAME}</td><td width="15">x{QUANTITY} - (_)</td></tr>
<tr><td width="190">{ORDER TAGS}</td></tr>{ORDER STATE:Note To Kitchen}
[ORDER TAGS]
<span style="font-size:10px"> -{ORDER TAG NAME}</span>


[TAXES]
<J10>|{TAX NAME}  [=F(TN('{TAX RATE}'))] %|  |     {TAX AMOUNT}

I didn’t tested but try changing

T.Qty.sum

part with

([T.Qty]*[O.Quantity]).sum

yup that worked :slight_smile: thanks