Ive implemented emres tutorial above using ticket tags, but executed it after product “Verify Age” added to order with the Challenge 25 button adding that product to the order.
This will then create a ticket for me to do the tags which then will allow me to make reports.
Ill keep going through, but as far as I can see… it all works, just not the report. It adds the tag to the ticket?
edit:
Should remember to change report tags when ive made tags different ,… oops
Now you mention it i think something did and it was to do with the date constraint in one of the rules i think. I wont be on my laptop till later so ill show you all my rules for it and see if we can spot the change. Im pretty sure it had to do with the date and in V5 it always failed and we changed something
Its definitely something up as I just did it on a fresh install to test.
It gets the confirmed and unconfirmed correct, but doesn’t list in the report
EDIT:
@RickH don’t worry, ive got it. I was just copying the report in that tutorial but it was missing a few major parts. Being home relaxed and looking over it, ive worked it out (I think)
@emre can you see the error in this report, instead of just listing the orders it duplicates the ticket number, date etc first and then adds the orders
is it to do with local date formatting? my system set to ‘dd MM yyyy’ but the samba setup is set to ‘MM dd yyyy’ ? so when it deducts 216 months is isnt actually doing it correct?
fixed it, i had to move the (TY=Challenge 25 - ID Confirmed) part on the line that starts with the @ symbol
[Challenge 25 Check Log:3,2,2 ,4, 3,3,3]
@{REPORT TICKET DETAILS:T.Id:(TY=Challenge 25 - ID Confirmed):,}
>Ticket Number|Date|Time|ID Type Seen|ID Number|DOB|Ticket Total
>{REPORT TICKET DETAILS:T.TicketNumber,T.Date,T.Time,TT.ID Type Seen,TT.ID Number,TTD.Date of Birth,T.TotalAmount:T.Id==$1}
{REPORT ORDER DETAILS:O.MenuItemName.asc:T.Id==$1::,}
You well then be able to create a report for both approved ID and rejected ID. This format is in dd MM yyyy If your local setting on your till is MM dd yyyy you will have to edit the question in the rule Age Check_Mark Ticket as Unconfirmed when Age Check required item added action Age Check_Ticket Tag.
dd MM yyyy = [?Enter Customer Birthday;(0?[1-9]|[12]\d|30|31) ([1-9]|10|11|12) \d{2}\d{2}?;;ON]
MM dd yyyy = [?Enter Customer Birthday;([1-9]|10|11|12) (0?[1-9]|[12]\d|30|31) \d{2}\d{2}?;;ON]
The report has been made so that it prints on A4 paper rather than Till Receipt