Sales report by ticket tag report

Dears
please your help in creating a custom report to show sales details by Ticket Tag

for Example
i have a ticket tag called waiter_1 and i need to show item sales by this tickets tag

Thanx

Hello @smartek,

You can use below code group for what you need;

TT.Agents >> TT indicates Ticket Tag, Agents is the Ticket Tag Name

[Agents Sales:2, 2, 2, 2]
@{REPORT ORDER DETAILS:TT.Agents,O.Quantity.Sum::{0}:,}
@{REPORT CALCULATION DETAILS:C.CalculationAmount:(CT=Discount)}
>>$1
{REPORT ORDER DETAILS:O.ItemGroup,O.Quantity.Sum,O.ExactTotal.Sum: 
(TT.Agents=$1)}
>Total:|{REPORT ORDER DETAILS:O.Quantity.Sum,O.ExactTotal.Sum:(TT.Agents=$1)}
3 Likes