¶ Workflow diagrams and table structures
flowchart TD
A([Maestro Customer Creation]) --> B[User Registration]
B --> C([Onboarding Email])
C --> E[Login Screen]
E --> F{Is Staff?}
F -- Yes --> G[Admin Portal]
F -- No --> H{Existing Guest?}
H -- Yes --> Z([Profile - User Calendar])
H -- No --> I{Build your own calendar?, Curated Calendar?, Have you had a consultation for a planned programme?}
I -- Curated Calendar/Build your own calendar --> J[Activity Preferences]
I -- Consultation Programme --> AAF[Holding screen]
J --> K{Choose Golf or Tennis?}
J --> L{Choose Scuba?}
K -- Yes --> M[Level of Activity - Beginner, Intermediate, High]
L -- No --> O[Level of Intensity]
K -- No --> O[Level of Intensity]
L -- Yes --> N[Accept Scuba Consent Form]
M --> O
N --> O
O --> P[Max Sessions per day - Time of day to start activities - Time of day to end activities]
P --> Q[Pillow Material Options]
Q--> AN[Dietary Options]
AN --> AO[Preferred time to eat breakfast/dinner/lunch]
AO --> R[Spa Consent Form]
R --Build your own calendar --> RAF[Show activities to pick based on your preferences]
RAF --> S
R -- Cuarted Calendar--> S[(Calendar Constraint Service - Creation Of Calendar Schedule)]
M-. Show activity based on level - If level high do not suggest an intro lesson to Golf .-> S
S --> T([Checkout Screen, pay at checkout/pay by card includes Activity list and cost breakdown including ability to edit schedule])
S --> U([Notification Email Of Schedule])
U --> AAC[Guest Email]
T --> V{Edit Schedule?}
V -- Yes --> S
V -- No --> W{Pay by Card? OR Pay at Checkout?}
W -- Pay by Card --> Y([Payment Screen Card Details includes: full payment upfront and partial payment upfront options])
W -- Pay at Checkout --> Z
Y --> Z([Profile - User Calendar])
Z <--> AB([Home Screen])
AA --> S
Z --> AA([User Edits/Delete to Schedule])
AB <--> AD([Restaurant Screen])
AD --> AQ([Table Booking])
AQ --> S
AB <--> AE([Concierge Screen])
AB <--> AF([Screen Screen])
S-- After edit/table booking (free) --> Z