Order State not available in Order Footer?

When trying to restrict output in [Order Footer] it doesn’t appear that {ORDER STATE:} is available like it is in [ORDER GROUP].

We’re marking “first out” items to move to the top of the kitchen template and ideally we’d like the ticket to show.

----------------------------------
           First Out
- Order
- Order
----------------------------------
- Other Order
- Other Order

It seems like the only way to do this is to have a separator between each order group. Any ideas how to filter/restrict the footer?

[ORDERS GROUP|ORDER STATE:Order Group:**Out First**,Hashbrowns,Omelet,Chicken,French Toast,Burger,Brunch,Fried Food,Appetizer,Sandwich,Egg Sandwich,Salad]
[<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;">[='{ORDER STATE:Order Group}'=='**Out First**'?'&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;<br /><b>First Out</b>':'']</div>]

[ORDERS FOOTER]
[<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;">[='{ORDER STATE:Order Group}'=='**Out First**'?'&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;':'']</div>]

When trying to access {ORDER STATE:Order Group} in the Footer it displays nothing, which kind of makes sense, due to its the footer. Either way, being able to use the same style of setup for the sorting or order tags would be deal.

Got it. Use {Group Key} as the basis, not the {ORDER STATE}. Ugh. Another day of messing with stuff and at the end of my patience.

[ORDERS GROUP|ORDER STATE:Order Group:**Out First**,Hashbrowns,Omelet,Chicken,French Toast,Burger,Brunch,Fried Food,Appetizer,Sandwich,Egg Sandwich,Salad]
[<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;">[='{GROUP KEY}'=='**Out First**'?'&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;<br /><b>First Out</b>':'']</div>]

[ORDERS FOOTER]
[<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;">[='{GROUP KEY}'=='**Out First**'?'&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;':'']</div>]

I seems that I can’t get the extra lines to go away. Any ideas… Its adding extra space at the footer and the header when there is no value.

[LAYOUT]

-- Spacer
<div style="width: 100%; height: 10px;"> </div>

-- Header Dead Space
<div style="padding: 5px; text-align: Center; background-color: #ffffff black; color: #000000; border: 1px black solid; width: 225px; font-family:'Helvetica'; font-size:30px; font-weight:normal;">RAIL CLIP AREA</div>

-- Spacer
<div style="width: 100%; height: 40px;"> </div>

-- Header Info Layout
<table>
<tr>
<td>
<div style="text-align:center; border: 1px black solid; font-family:'Helvetica';">
<div style="height: 10px; font-size:10px;padding:5px;">{DATE:MMM} {DATE:dd}</div>
<div style="height: 20px; font-size:14px;padding:2px;">[=Helper.GetUniqueString().substr(8,2)]:[=Helper.GetUniqueString().substr(10,2)]</div>
-- <div style="height: 20px; font-size:14px;padding:2px;">{TIME}</div>
-- <div style="height: 10px; font-size:10px;padding:5px;">{DATE:yyyy}</div>
</div>
</td>
-- <td>
-- <div style="text-align:center; border: 1px black solid; font-family:'Helvetica';">
-- <div style="height: 10px;font-size:10px;padding:5px;">Table</div>
-- <div style="height: 20px;font-size:14px;padding:2px;">[='{ENTITY NAME:Table}'==''?'N/A':'{ENTITY NAME:Table}']</div>
-- <div style="height: 10px;font-size:10px;padding:5px;">*icon*</div>
-- </div>
-- </td>
-- <td>
-- <div style="text-align:center; border: 1px black solid; font-family:'Helvetica';">
-- <div style="height: 10px;font-size:10px;padding:5px;">Ticket</div>
-- <div style="height: 20px;font-size:14px;padding:2px;">{TICKET NO}</div>
-- <div style="height: 10px;font-size:10px;padding:5px;">*icon*</div>
-- </div>
-- </td>
<td>
<div style="text-align:center; border: 1px black solid; font-family:'Helvetica';">
<div style="height: 10px;font-size:10px;padding:5px;">Server</div>
<div style="height: 20px;font-size:14px;padding:2px;">{ENTITY NAME:Server}</div>
-- <div style="height: 10px;font-size:10px;padding:5px;">*icon*</div>
</td>
</tr>
</table>

-- Spacer
<div style="width: 100%; height: 10px;"> </div>
<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;">&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;</div>

{ORDERS}

-- Spacer
<div style="width: 100%; height: 10px;"> </div>

-- FOOTER
-- <div style="padding: 5px; text-align: Center; background-color: #000000 black; color: #ffffff; border: 1px black solid; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;">TO-GO ORDER</div>
-- <div style="padding: 5px; text-align: Center; background-color: #ffffff black; color: #000000; border: 1px black solid; width: 225px; font-family:'Helvetica'; font-size:60px; font-weight:normal;line-height: 1.6em;">[="{ENTITY NAME:Sources}"=="Viking Food"?"VF - {TICKET TAG:PickupID}":""] - {TICKET TAG:PickupID}</div>
[<div style="padding: 5px; text-align: Center; background-color: #ffffff black; color: #000000; border: 1px black solid; width: 225px; font-family:'Helvetica'; font-size:60px; font-weight:normal;line-height: 1.6em;">{ENTITY NAME:Table}<br/><span style=font-size:20px;>Dine-In Cafe</span></div>]

[ORDERS]
<table>
<tr>
<td width="25"><span style="text-justify: none; text-align:left; font-family:'Helvetica'; font-size:16px;">- {QUANTITY}</span></td>
<td width="260"><span style="text-justify: none; text-align:left; font-family:'Helvetica'; font-size:16px;">{NAME}</span></td>
</tr>
{ORDER TAGS}
</table>

[ORDERS GROUP|ORDER STATE:Order Group:**Out First**,**Rush Order**,Hashbrowns,Omelet,Chicken,French Toast,Burger,Brunch,Fried Food,Appetizer,Sandwich,Egg Sandwich,Salad]
[='{GROUP KEY}'!='**Out First**'?'<!--':'']<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;"><b>First Out</b></div>[='{GROUP KEY}'!='**Out First**'?'-->':''][='{GROUP KEY}'!='**Rush Order**'?'<!--':'']<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;"><b>Rush Order</b></div>[='{GROUP KEY}'!='**Rush Order**'?'-->':'']

[ORDERS FOOTER]
[='{GROUP KEY}'!='**Out First**'?'<!--':'']<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;">&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;</div>[='{GROUP KEY}'!='**Out First**'?'-->':''][='{GROUP KEY}'!='**Rush Order**'?'<!--':'']<div style="padding: 5px; text-align: Center; width: 225px; font-family:'Helvetica'; font-size:12px; font-weight:normal;line-height: 1.6em;">&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;</div>[='{GROUP KEY}'!='**Rush Order**'?'-->':'']

[ORDERS:Void]
<table>
<tr>
<td width="25"><span style="text-align:left; font-family:'Helvetica'; font-size:14px;">- {QUANTITY}</span></td>
<td width="210"><span style="text-align:left; font-family:'Helvetica'; font-size:14px;">{NAME}</span></td>
<td width="50" align="right"><span style="text-align:right; font-family:'Helvetica'; font-size:14px;">*VOID*</span></td>
</tr>
{ORDER TAGS}
</table>

[ORDER TAGS]
-- Format for order tags
[='{ORDER TAG NAME}'=='**Out First**'?'<!--':'']<tr>
<td width="25"><span style="text-align:left; font-family:'Helvetica'; font-size:16px;"></span></td>
<td width="230"><span style="text-align:left; font-family:'Helvetica'; font-size:16px;">[='{ORDER TAG NAME}'=='Rush'?'<b>':''] [={QUANTITY}*{ORDER TAG QUANTITY}] - {ORDER TAG NAME} [='{ORDER TAG NAME}'=='Rush'?'</b>':''] </span></td>
</tr>[='{ORDER TAG NAME}'=='**Out First**'?'-->':'']

Fixed with using a script to format the output for the header/footer.

3 Likes