MaxUhu
August 14, 2025, 8:38am
1
We implemented the covers per order as per Emre’s tutorial Topic here and in general it works fine in the POS itself, but somehow either my math is wrong or somehow the calculation in the Work Period Report is wrong …
see attached picture… When I calculate the individual listed number of covers together i come to 125, but the report shows me 151 and therefore my Average Consumption per cover is off as well…
The set-up was done exactly as per the tutorial and I di not make any changes to the Work Period Report, it’s the report that came with V5 when we installed it…
Is it my math or did I overlook something?
Any help would be appreciated
Bob_be
August 14, 2025, 11:57am
2
Can you post your report template?
MaxUhu
August 14, 2025, 12:13pm
3
[Sales:1, 1]
{REPORT TICKET TYPES:!PreOrder && TotalAmount >= 0}
[Pre Orders:1, 1]
{REPORT TICKET TYPES:PreOrder && TotalAmount >= 0}
[Refunds:1, 1]
{REPORT TICKET TYPES:TotalAmount < 0}
[Payments:2, 1, 2]
{REPORT PAYMENT DETAILS:P.Name,P.Amount.Percent,P.Amount.Sum:Payment.Amount > 0}
>Total|{REPORT PAYMENT DETAILS:P.Amount.Sum:Payment.Amount > 0}
[Refund Payments:2, 1, 2]
{REPORT REFUND PAYMENTS}
[Ticket Details:2, 1, 2]
>>Ticket Counts
@!{TICKET TYPE LIST}
$1|{REPORT TICKET COUNT:(TY=$1)}|{REPORT TICKET TOTAL:(TY=$1)}
Total|{REPORT TICKET COUNT}|{REPORT TICKET TOTAL}
Amount per Ticket||[=F(TN('{REPORT TICKET TOTAL}')/TN('{REPORT TICKET COUNT}'))]
>>Order Counts
@!{TICKET TYPE LIST}
$1|{REPORT ORDER COUNT:(TY=$1)}|{REPORT ORDER TOTAL:(TY=$1)}
Total|{REPORT ORDER COUNT: }|{REPORT ORDER TOTAL: }
Orders per Ticket||[=F(TN('{REPORT ORDER COUNT: }')/TN('{REPORT TICKET COUNT: }'))]
Amount per Order||[=F(TN('{REPORT ORDER TOTAL: }')/TN('{REPORT ORDER COUNT: }'))]
>>Ticket Counts per State
{REPORT TICKET STATES}
>>Order Counts per State
{REPORT ORDER STATES}
[Ticket Tags:1, 1, 1]
{REPORT TICKET TAGS}
[Payment Details:2, 1, 2]
@{TICKET TYPE LIST}
@{TAX TYPE LIST}
>$1
{REPORT PAYMENT DETAILS:P.Name,P.Amount.Percent,P.Amount.Sum:(TY=$1)}
{REPORT CALCULATION DETAILS:C.Name,C.X,C.CalculationAmount.Sum:(TY=$1)}
$2||{REPORT TICKET DETAILS:TX.$2.Sum:(TY=$1)}
[User Sales:1, 1]
{REPORT ORDER DETAILS:O.User,O.ExactTotal.Sum}
@{REPORT PAYMENT DETAILS:P.User,P.Amount.Sum::{0}:,}
[Settled by $1:1, 1, 1]
{REPORT PAYMENT DETAILS:P.Name,P.Amount.Percent,P.Amount.Sum:(PU=$1)}
>Total Income|{REPORT PAYMENT DETAILS:P.Amount.Sum:(PU=$1)}
[Item Sales:2, 1, 2]
{REPORT ORDER DETAILS:O.ItemGroup,O.ExactTotal.Percent,O.ExactTotal.Sum:(ODI=True)}
Total||{REPORT ORDER DETAILS:O.ExactTotal.Sum:(ODI=True)}
Bob_be
August 14, 2025, 1:40pm
4
I added the numbers up I got 151.
1 * 40 = 40
2 * 26 = 52
3 * 7 = 21
4 * 5 = 20
9 * 2 = 18
----------------
Total 151
How did you come up with your number?
MaxUhu
August 15, 2025, 5:57am
5
I knew I am getting too old, you are of course correct, somehow my math is off big time… Sorry to have bugged anybody with that, my own stupidity!
Max
Bob_be
August 16, 2025, 1:16am
6
No worries. We all have to days. You are not stupid…we are all human and make mistakes. We here to help each other!