Its 21 days I read since first putting form together.
What I read didnt mention retention beyond keeping for 21 days.
Automatically deleting came from things said about privacy and the track trace app and gdpr about keeping data only as long as necessary.
The bit under was just clarifying that its automatically deleted except for lead guest name and email IF they opt in to newsletter.
As the system is based on wordpress extending to include marketing opins for most main service would be easy and even if not directly available through plugin most have a simple poster api to submit new subscribers.
I intend to offer optin to marketing for the hotel group system i origionally put this together but thinking about potentially rolling it out as a service to others.
My thoughts is this site which isn’t users/registered but form submissions.
Confirmation page gives a visit number which guest will give waitress.
When shown to table they will be asked to submit details on this site and provide the server with their visit number.
This can be entered in samba and tagged to their ticket.
Via this number samba can pig the site with the ticket json from graph, website rendered pdf receipt and emails guest a copy.
Have thought for regulars of optin to save a cookie which next visit they just go to the site and given presence of the cookie will just offer a 'check in button to resubmit their details for a new visit number so that the records represent individual visits for full and complete records.