Custom tip report calculation

Work Period report is working fine

Hello KuriGohan_And_Kamera. Which report tag are you referring to? What do you mean by does not work? How do you store waiters? What is your report template? Are you using V5?

This is the tag:

Waiters are setup as normal users and we are using V5.
The template is the one used above:

[Server Sales Details: 3,2,3,2,2]
Date:|{DATE}
@Debbie,Ziggy,Morne,Alex,Henry,Louise,DS,Zig

    Server:|$1
    TOTAL:|||R[=TN('{REPORT PAYMENT TOTAL:(TU=$1)}')-TN('{REPORT CALCULATION TOTAL:(CT=Tip) AND (TU=$1)}')]
    Tip:|||R{REPORT CALCULATION TOTAL:(CT=Tip)AND (TU=$1)}

[Tickets:1,1,1,1,1,]
@Debbie,Ziggy,Morne,Alex,Henry,Louise,DS,Zig

    Server:|$1

    {REPORT TICKET DETAILS:T.TicketNumber,T.Date,P.Time,[T.TotalAmount]-[CA.Tip],CA.Tip:(TS.Status=Paid) AND (TU=$1)} 

But when I replace the list of users it displays incorrectly.

Try configuring a splitter like…

@{REPORT TICKET DETAILS:T.User.asc::,}
2 Likes

Thanks @emre it is displaying correctly now.

This tips report works great for me. You just have to translate into your language.


bandicam 2022-02-07 00-31-42-350

2 Likes

[Detalle Servicio de ventas: 3,2,3,2,2]
Fecha:|{DATE}
@{REPORT TICKET DETAILS:T.User.asc::,}

Usuario:|$1

TOTAL: |||{REPORT TICKET DETAILS:[TN.TotalAmount.sum]-[CA.Propina.sum]: AND (TU=$1)}
Propina:|||{REPORT CALCULATION TOTAL:(CT=Propina) AND (TU=$1)}

[Total Propina :2, 1, 2]
@{TICKET TYPE LIST}
@{TAX TYPE LIST}

Total {REPORT CALCULATION DETAILS:C.Name,C.X,C.CalculationAmount.Sum:(TY=$1)}
$2||{REPORT TICKET DETAILS:TX.$2.Sum:(TY=$1)}

[Tickets:2,1,1,1,1,]
@{REPORT TICKET DETAILS:T.User.asc::,}

Usuario:|$1
{REPORT TICKET DETAILS:T.TicketNumber,T.Date,P.Time,[T.TotalAmount]-[CA.Propina],CA.Propina:(TS.Estado=Pagado) AND (TU=$1)}

2 Likes