I got waiter reports from an old post to share

True it is all above I provided my config to Lloyd, but this shows the service tag for everyone:

[Payments:1, 1, 1, 1]
>Payment|Net|Service Charge|Total
{REPORT PAYMENT DETAILS:P.Type,[$4-($4*0.05)];0.00,[$4*0.05];0.00,P.Amount.Sum}
>Total|{REPORT PAYMENT DETAILS:=[$3-($3*0.05)];0.00,[$3*0.05];0.00,P.Amount.Sum}

Can I make this same one to only show current user instead of everyone? you can see my service charge config above on this same tread.

ok nevermind i see what your asking… you already have it figured out… you just need to filter it by user as well.

How to filter, I think that is where I am confused, I dont know hot to filer to current user :frowning:

And thanks again for all your great support.

OK first according to the guide you can see what is available. So you are using REPORT PAYMENTS so you would use PU=

So it would look something like this:

@{SETTING:CURRENTUSER}
[$1 Payments:1, 1, 1, 1]
>Payment|Net|Service Charge|Total
{REPORT PAYMENT DETAILS:P.Type,[$4-($4*0.05)];0.00,[$4*0.05];0.00,P.Amount.Sum:(PU=$1)}
>Total|{REPORT PAYMENT DETAILS:=[$3-($3*0.05)];0.00,[$3*0.05];0.00,P.Amount.Sum:(PU=$1)}
1 Like

There is another option not documented yet we added it a few months ago. TCU=.

TCU is a user but its the user that first created the ticket (Ticket Created User)

Some people prefer to show that user as they may have other users pay tickets for them but still want it to show only for the user that created the ticket.

PU= will always be the user that made the payment ignoring who created the ticket.

1 Like

ok thanks let me try.

You can also reference ticket user which is a third type of user available… TU=

This user is who last modified the ticket.

1 Like