How to create code sections in forum posts

Thank you for the super quick response! I’m going to end up owing you atleast a starbucks gift card :smile:

Got it to work with this combination:

PS. How do I add the grey area for codes?

What do you mean gray area? Like how it shows your Total?

Something like this might look better

[Tips by Tickets:1,2,2,1,1,1,1,1]

>Ticket Number|Date|Time|Tip Amount|Service Amount|Net Amount|Ticket Amount|Payment Type

{REPORT TICKET DETAILS:T.TicketNumber,T.Date,T.Time,CA.Tips,CA.Service,=[T.TotalAmount]-[CA.Tips]-[CA.Service],T.TotalAmount,TT.PT2:(TS.Status=Paid)}







[Payment Totals:1, 1]

Card Total: |${REPORT PAYMENT TOTAL:(PT=Credit Card) AND (TU={SETTING:CURRENTUSER})}

Cash Total: |${REPORT PAYMENT TOTAL:(PT=Cash) AND (TU={SETTING:CURRENTUSER})}

Tip Total: |${REPORT CALCULATION TOTAL:(CT=Tips) AND (TU={SETTING:CURRENTUSER})}

>TOTAL:|${REPORT PAYMENT TOTAL:(TU={SETTING:CURRENTUSER})}

Of course edit the fields you need that was my report.

Sorry didnt clarify, no I mean here in the Forum. Instead of posting pics of the codes, I can add in the grey box like you did.

Oh… highlight the text and press the </> button

That formats it as code so special characters will show up like <format>

Without it the same thing looks like this

Notice after this its blank but I really have the same line there i just didnt format it as code.

Nice, I will setup both to give them some options!

And thanks for the help once again!  Am sure more to come haha
1 Like

if you use a > in front of text it looks like this

Check this out!!

Can also use things like this :woman: :sunflower: :name_badge: :droplet: :dog2:

Example :warning: = :warning:

1 Like

lol :ghost: :hankey: :+1:

nice… learn something new everyday

You can also enable syntax highlighting like this

```
   code
```

For example

[Tips by Tickets:1,2,2,1,1,1,1,1]
>Ticket Number|Date|Time|Tip Amount|Service Amount|Net Amount|Ticket Amount|Payment Type
{REPORT TICKET DETAILS:T.TicketNumber,T.Date,T.Time,CA.Tips,CA.Service,=[T.TotalAmount]-[CA.Tips]-[CA.Service],T.TotalAmount,TT.PT2:(TS.Status=Paid)}


[Payment Totals:1, 1]
Card Total: |${REPORT PAYMENT TOTAL:(PT=Credit Card) AND (TU={SETTING:CURRENTUSER})}
Cash Total: |${REPORT PAYMENT TOTAL:(PT=Cash) AND (TU={SETTING:CURRENTUSER})}
Tip Total: |${REPORT CALCULATION TOTAL:(CT=Tips) AND (TU={SETTING:CURRENTUSER})}
>TOTAL:|${REPORT PAYMENT TOTAL:(TU={SETTING:CURRENTUSER})}

5 Likes

Now that is something new I didnt know lol cool tip @emre.

Word! I’m going to use that now. lol

Here is the final product on one:

This is what our wait staff will print at the end of their shift.

[Server Sales Details:.8,1.3,1.2,1,.8,1,1,1]
>Ticket|Date|Time|Gratuity|Tip|Net|Total|P. Type
{REPORT TICKET DETAILS:T.TicketNumber,T.Date,T.Time,CA.Large Table,CA.Tip,=[T.TotalAmount]-[CA.Tip],T.TotalAmount,TT.Payment Type Name:(TS.Status=Paid) AND (TU={SETTING:CURRENTUSER})}
|
Gratuity Total: |||${REPORT CALCULATION TOTAL:(CT=Large Table) AND (TU={SETTING:CURRENTUSER})}
Tip Total: |||${REPORT CALCULATION TOTAL:(CT=Tip) AND (TU={SETTING:CURRENTUSER})}
>PAYOUT TOTAL: |||${REPORT CALCULATION TOTAL:(CA=Large Table) AND (TU={SETTING:CURRENTUSER})}
|
Credit Card Total: |||${REPORT PAYMENT TOTAL:(PT=Credit Card) AND (TU={SETTING:CURRENTUSER})}
Cash Total: |||${REPORT PAYMENT TOTAL:(PT=Cash) AND (TU={SETTING:CURRENTUSER})}
>CARD & CASH TOTAL:|||${REPORT PAYMENT TOTAL:(TU={SETTING:CURRENTUSER})}

Here’s another:

This one has a quick summary of all users. Mainly used by a manager at the end of a shift or when they reconcile/close.

[Server Sales Summary:3,2,3,2,2,2]
Date:|{DATE}
@Administrator,manager,rgarcia,pcruz,msoto,nplancarte,lflores
>Server:|$1
Cash Trans:||||{REPORT PAYMENT COUNT:(PT=Cash) AND (TU=$1)}
Credit Card Trans: ||||{REPORT PAYMENT COUNT:(PT=Credit Card) AND (TU=$1)}
Cash Total:|||${REPORT PAYMENT TOTAL:(PT=Cash) AND (TU=$1)}
Card Total: |||${REPORT PAYMENT TOTAL:(PT=Credit Card) AND (TU=$1)}
Tip Total: |||${REPORT CALCULATION TOTAL:(CT=Tip) AND (TU=$1)}
Cash & Card Total (NO Tips):|||${REPORT PAYMENT TOTAL:(TU=$1)}

Am curious, whats the difference between gratuity and tip?

There really isn’t, I am just recreating a setup from their current POS (Microsale). This restaurant has a small 2nd floor VIP type area. If people sit up there, its an automatic 15% increase. Can also be used for Large Parties. I just have it default to Large Table, but that of course can be whatever you want.

From the payout screen, I just tap 20 and then the tip button and it adds it.

1 Like