# Ticket Tag - Simple Example for: Dine-In / To-GO

**URL:** <https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064>\
**Category:** V4 Tutorial\
**Created:** [August 8, 2014, 8:37pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064 "2014-08-08T20:37:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [August 8, 2014, 8:37pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/1 "2014-08-08T20:37:27Z")

</div>

This is a simple implementation of a Ticket Tag that I use to toggle between “Dine-In” orders and “To-Go” orders. I prefer this method instead of separate Departments and Ticket Types, since it’s implementation is very easy to do and simple to observe.

**Operational Flow:**

 ![](https://forum.sambapos.com/uploads/default/original/3X/5/f/5fedbd61486136268c39f82ee3096455bef49cab.png) 

**Tickets showing Ticket Tag:**

![](https://forum.sambapos.com/uploads/default/original/3X/5/a/5a87f2a46fb18aba8b929a7ad7fd1e6f782506e1.png)

* * *

**Automation Command to toggle the Ticket Tag value:**

 ![](https://forum.sambapos.com/uploads/default/original/3X/d/9/d99aa6610abb48d487adb44b67f37fd12b3365e8.png) 

**Action to set the Ticket Tag value.** In this example, the Ticket Tag is named “ **SG** ” (StayGo).

![](https://forum.sambapos.com/uploads/default/original/3X/2/0/20353f49edaec25a745e00e759f1787cb8151292.png)

**Action to Refresh Ticket** - this is used to update the POS display.

![](https://forum.sambapos.com/uploads/default/original/3X/0/e/0e8c4767c5f4c27f59d7fe2c74711ac47e7a96cd.png)

**Rule to Update the Ticket Tag value** (toggles “ **SG** ” Ticket Tag between “_To GO_” and “_Dine In_”

 ![](https://forum.sambapos.com/uploads/default/original/3X/4/5/457a5b5c59abe848ea242d8bb45a515c730b02b7.png) 

**Printer Template** showing use of the Ticket Tag called “ **SG** ”.

![](https://forum.sambapos.com/uploads/default/original/3X/2/c/2cbe0f8043950427631fcba6f89dc8073ee66cee.png)

Where `{TICKET TAG:SG}` is located, one of the following will be printed: `Dine In` or `To GO`.

```
[LAYOUT]
<T>ORDER
<J00>{TICKET DATE} {TICKET TIME}| {TICKET TAG:SG}| #{TICKET NO}
{ENTITIES}
<F>-
{ORDERS}

[ORDERS]
<J00>{QUANTITY} {NAME}|{PRICE}
{ORDER TAGS}

[ORDERS:GIFT]
<J00>{QUANTITY} {NAME}| **FREE**
{ORDER TAGS}

[ORDERS:VOID]
<J00>{QUANTITY} {NAME}|{PRICE}
{ORDER TAGS}

[ORDER TAGS]
-- Format for order tags
<L00>   {ORDER TAG QUANTITY} {ORDER TAG NAME}

```

![](https://forum.sambapos.com/uploads/default/original/3X/5/a/5a87f2a46fb18aba8b929a7ad7fd1e6f782506e1.png)

---

<div class="post-metadata">

**Author:** ![vcukappa](https://forum.sambapos.com/user_avatar/forum.sambapos.com/vcukappa/32/5616_2.png) [@vcukappa](https://forum.sambapos.com/u/vcukappa)\
**Post date:** [October 29, 2014, 5:06am UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/2 "2014-10-29T05:06:28Z")

</div>

What would I have to do in order to get the extra button like you have under the Settle and Close screenshot? I am mainly interested in the music button. Thanks.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [October 29, 2014, 5:08am UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/3 "2014-10-29T05:08:36Z")

</div>

> [@vcukappa](#):
>
> What would I have to do in order to get the extra button like you have under the Settle and Close screenshot? I am mainly interested in the music button. Thanks.

Those buttons are Automation Commands which are triggered by Automation Command Executed Rule which can launch a specific Action of your choice. They show there because they are mapped to show under Ticket Row 2.

---

<div class="post-metadata">

**Author:** ![vcukappa](https://forum.sambapos.com/user_avatar/forum.sambapos.com/vcukappa/32/5616_2.png) [@vcukappa](https://forum.sambapos.com/u/vcukappa)\
**Post date:** [October 29, 2014, 5:45am UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/4 "2014-10-29T05:45:57Z")

</div>

I am able to create the button, but I don’t know how to link it to the music player in order for it to play music.

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [October 29, 2014, 6:49am UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/5 "2014-10-29T06:49:47Z")

</div>

Use a Start Process Action to launch the Music Player of choice, and create a Rule to capture the Automation Command and fire the Action…

 ![](https://forum.sambapos.com/uploads/default/original/3X/9/9/993554a6c4e1ad6dae960536785191268844c29d.png)

---

<div class="post-metadata">

**Author:** ![superlik](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/eada6e/32.png) [@superlik](https://forum.sambapos.com/u/superlik)\
**Post date:** [November 6, 2014, 1:41pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/6 "2014-11-06T13:41:07Z")

</div>

> [@QMcKay](#):
>
> a Ticket Tag that I use to toggle between “Dine-In” orders and “To-Go” orders. I prefer this method instead of separate Departments and Ticket Types, since

imported database but the To-Go is not toggling

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [November 6, 2014, 4:44pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/7 "2014-11-06T16:44:06Z")

</div>

> [@superlik](#):
>
> imported database

What database? There is none supplied for this Tutorial.

Follow the instructions presented above, and always ensure to have a default mapping for any Rules.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [November 6, 2014, 7:17pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/8 "2014-11-06T19:17:52Z")

</div>

@QMcKay He may be referring to the Database Import tools I packaged it up and put it under that collection post. However it does work ive tested it numerous times including now. So @superlik if this is what you are referring to we need more information other than it doesnt work. What doesnt work?

PS: I just imported it into a fresh database and it toggled correctly right out of box after import. So if this is what your referring too it might be that there is a conflict with your system. Either case we need more information we have no clue what point the failure is happening

Here is after I imported the file. I did not need to edit anything just imported logged in and ran a test.

 ![](https://forum.sambapos.com/uploads/default/original/3X/7/e/7e3b86ddfb336b2c2e6075ab60ad62ac71c7e83a.png)

If this is not what your talking about then i suggest you try this file and import it with Database Tools it will work out of box. You must extract it from the.zip first and import the txt it will not import from zip yet. [Simple Dine-In/To-Go Ticket Tag][1]

When following a tutorial make 100% certain you have followed each step exact and as @qmckay pointed out make sure you have default mapping for all rules.  
[1]: [Database Import Tool: Pre-Built Solutions](http://forum.sambapos.com/t/database-import-tool-pre-built-solutions/2797)

---

<div class="post-metadata">

**Author:** ![madiha](https://forum.sambapos.com/user_avatar/forum.sambapos.com/madiha/32/13950_2.png) [@madiha](https://forum.sambapos.com/u/madiha)\
**Post date:** [December 15, 2014, 2:14pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/9 "2014-12-15T14:14:01Z")

</div>

i have service tax for dine in if we use ticket tag how can we get services tax calculated for dine in only

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [December 16, 2014, 6:09am UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/10 "2014-12-16T06:09:04Z")

</div>

Assuming you already have a Service Tax Calculation Type defined, you could apply or Remove the Calculation using Ticket Tag Updated/Changed event and the Update Ticket Calculation Action.

P.S. sorry if the terms are not completely accurate - I don’t have a system near me to check them.

---

<div class="post-metadata">

**Author:** ![madiha](https://forum.sambapos.com/user_avatar/forum.sambapos.com/madiha/32/13950_2.png) [@madiha](https://forum.sambapos.com/u/madiha)\
**Post date:** [December 16, 2014, 8:38am UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/11 "2014-12-16T08:38:57Z")

</div>

yes i do have a service tag calculation currently set for restaurant department it would be helpful if you elaborate what action and rule i will have to sate …thanks in advance

---

<div class="post-metadata">

**Author:** ![madiha](https://forum.sambapos.com/user_avatar/forum.sambapos.com/madiha/32/13950_2.png) [@madiha](https://forum.sambapos.com/u/madiha)\
**Post date:** [December 17, 2014, 6:05pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/12 "2014-12-17T18:05:24Z")

</div>

@QMcKay i have try but not working please indicate where i am wrong

 ![](https://forum.sambapos.com/uploads/default/original/3X/f/2/f202a46b035c6c16a5eaf837b3689bc07dadf1c9.png) 

 ![](https://forum.sambapos.com/uploads/default/original/3X/f/2/f202a46b035c6c16a5eaf837b3689bc07dadf1c9.png)

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [December 18, 2014, 1:46pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/14 "2014-12-18T13:46:12Z")

</div>

You have the correct general idea, but I can’t be sure where the issue is since _ **both your screenshots are for the same Rule** _ for `Dine In`.

---

<div class="post-metadata">

**Author:** ![madiha](https://forum.sambapos.com/user_avatar/forum.sambapos.com/madiha/32/13950_2.png) [@madiha](https://forum.sambapos.com/u/madiha)\
**Post date:** [December 18, 2014, 2:01pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/15 "2014-12-18T14:01:50Z")

</div>

the rule is executed if i use automation command for removing the service charge.

no action is taken on ticket tag selected

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [February 28, 2015, 11:54pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/16 "2015-02-28T23:54:09Z")

</div>

Split this topic on February 28, 2015, 11:54pm UTC

I moved 4 posts to a new topic: [Spotify - Launch and/or Bring to Front?](http://forum.sambapos.com/t/spotify-launch-and-or-bring-to-front/4424)

---

<div class="post-metadata">

**Author:** ![antasp3136](https://forum.sambapos.com/user_avatar/forum.sambapos.com/antasp3136/32/52734_2.png) [@antasp3136](https://forum.sambapos.com/u/antasp3136)\
**Post date:** [February 28, 2015, 5:13pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/18 "2015-02-28T17:13:31Z")

</div>

This is my implementation of this ticket tag. Before creating a ticket this pops up and prompts the waitress to choose what type of order it is…

 ![](https://forum.sambapos.com/uploads/default/original/3X/8/a/8a176bd88e9d8dbb816ad26e2bb565e9ac1e6d53.jpeg)

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 28, 2015, 5:28pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/19 "2015-02-28T17:28:45Z")

</div>

@antasp3136 I am actually using a method similar. I want to force them to choose.

---

<div class="post-metadata">

**Author:** ![RickH](https://forum.sambapos.com/user_avatar/forum.sambapos.com/rickh/32/51960_2.png) [@RickH](https://forum.sambapos.com/u/RickH)\
**Post date:** [February 28, 2015, 8:04pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/20 "2015-02-28T20:04:25Z")

</div>

Bit off topic but you buttons on the ask questio. Just reminded me of something. A while ago there was an update to have the buttons display vertically instead of horizontally, i think it was to do with multiple delivery addresses and selecting the one you want

Was that something separate or can the ask questions buttons be set vertically? Ive tried to search on the forum but cant find the right post

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [February 28, 2015, 8:06pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/21 "2015-02-28T20:06:41Z")

</div>

I have never heard of that being possible.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 28, 2015, 8:59pm UTC](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064/22 "2015-02-28T20:59:49Z")

</div>

This may be V5 only but I think you can set Button Height.

[Next page](https://forum.sambapos.com/t/ticket-tag-simple-example-for-dine-in-to-go/2064.md?page=2)
