alvin
July 15, 2018, 8:53am
1
I have created 3 ticket tags Delivery, Dine In, Take Away And I need the report like Tag wise Ticket count and total. I created like below. But it’s not coming in single line. Could you help me to do the report
{REPORT TICKET COUNT:(TT.TG=Delivery)}|{REPORT TICKET TOTAL:(TT.TG=Delivery)}
Please show whole template with title and column format.
alvin
July 15, 2018, 10:21am
3
Please check the above template
In Ticket column the names are Delivery, Dine In and Take Away.
And at last I need the grand total.
I meant to code for template.
alvin
July 15, 2018, 1:21pm
5
{REPORT TICKET COUNT:(TT.TG=Delivery)}|{REPORT TICKET TOTAL:(TT.TG=Delivery)}
Come on…
Can you post the report full code… That along with the [title:2,2,2] type bit.
In fact the whole thing not just that line…
alvin
July 16, 2018, 8:14am
7
Hi,
Please find the below code
[Ticket Details:2,2,1,2]
>>Ticket|Quanity|Amount
@!{TICKET TAG LIST}
$1|{TICKET TAG LIST}|{REPORT TICKET COUNT:(TT.TG=Delivery)}|{REPORT TICKET TOTAL:(TT.TG=Delivery)}
|{REPORT TICKET COUNT}|{REPORT TICKET TOTAL}
{REPORT TICKET COUNT:(TT.TG=Delivery)}
{REPORT TICKET TOTAL:(TT.TG=Delivery)}
Hmm what’s the ! After @ achiving?
Unless you refer to $1 in each expression it doesn’t loop which is probably why output isn’t what you expect.
1 Like