Mockup · owner request 29 Sep 2026 · not built
Coach add-on
A clickable simulation of the new coach flow. The venue creates a coach, the venue and the coach set the schedule, a player adds a coach to a table booking, the coach accepts, and the player pays within 24 hours. One shared state for all three roles: switch roles at the top, watch the emails, WhatsApp messages and POS notifications land in the Inbox, and run the test cases on the right. The recap, the assumptions and the open questions are below the simulator.
What I understood (recap)
- The venue creates a coach profile: name, email, price per hour, minimum hours per session (e.g. 2) and minimum people per session (e.g. 2). Maximum is always 4 people per session (one table). The coach gets an email invite.
- The coach logs in to the POS web and sets their own schedule. The venue can set it too. Both are recorded with who set each slot.
- Two kinds of schedule: recurring weekly (e.g. every Tue and Thu 19:00 to 23:00), and specific dates with the free hours on each date, like Calendly.
- The venue has a “Kalender coach” tab showing every coach’s availability and the sessions that are pending, held or paid.
- The player books a table as usual, then sees an “Add a coach” add-on. If coaches are free in that timeslot they are listed; if not, the player opens the coach calendar and picks a session, which also moves the table time.
- WhatsApp number: if the player has none on file they must add it, so the venue can contact them.
- The booking becomes PENDING with a notice to watch their email for the confirmation and the payment link after the coach accepts. The coach and the venue are notified.
- The coach accepts: the player gets a confirmation email with a payment link; the table and the coach are held for 24 hours; the venue is notified by email and in the POS. The venue can also send the payment QR by WhatsApp to speed it up.
- Paying confirms the booking. If the player does not pay within 24 hours, the hold is released and everyone is told.
Booking states
Menunggu coach→Menunggu bayar (24 j)→Terkonfirmasi
- Ditolak coach from Menunggu coach. Table released (assumed).
- Tidak dijawab coach did not answer within 24 h. Auto-declined (assumed).
- Kedaluwarsa not paid within 24 h of acceptance. Table and coach released.
Money only moves after the coach accepts, so a decline or an expiry never needs money back: nothing was charged. The copy says “tidak ada tagihan” and never promises a refund.
Rules this mockup keeps
- No refund wording anywhere (test 7 checks the Inbox for it).
- No payment provider name: “QRIS” and “Pembayaran” only.
- Indonesian copy on player, venue and coach screens; notes and tests in English.
- Raised tile buttons with a ledge in a darker shade of their own colour (red on dark red). Cards have a soft 1px grey outline.
- Max 4 people per session is a fixed rule, not a venue setting.
- Mockup only: no app, API, package or database code was touched.
Open questions ASSUMED in the mockup
How this relates to the coach roster that already exists
- Already built (July 2026, web only, now behind
COACHING_ENABLED=false): venue_coaches, venue_coach_availability (weekly), venue_coach_time_off and coach_sessions, with screens in the POS web (/pos/coaches), the owner portal and admin. Reuse these tables; do not start over.
- A coach was a roster entry, not an account. The owner said so in July. This flow gives coaches a POS login, so
venue_coaches.user_id (nullable today) would be linked when the coach first signs in. Today’s POS operators sign in with usernames the owner sets; that is the open login question.
- Price model changes. Today:
rate_per_person_hour_idr (Rp 150.000 per person per hour at the Dojo), charged all-in instead of the table price. This request: an add-on on top of the table, priced per hour (per session assumed), with new minimum hours and minimum people per coach.
- Flow changes. Today a coach session is paid immediately (a QRIS hold). New: request, then coach accepts, then pay within 24 h.
coach_sessions needs pending and held states and a response deadline.
- Schedule changes. Today only the venue sets weekly hours. New: specific-date availability (Calendly-style) and coach self-edit, each slot stamped with who set it.
- Kept from today: the coach does not take a seat (4 people = 4 learners), a session occupies a real table, and the money goes to the venue through the normal payout, minus Kaki’s 5%.
- Apple: the roster was kept off the phone app on purpose. Guideline 3.1.3(d) treats one-to-few tuition (2 to 4 people) as an in-app-purchase case. The Player screen here is drawn in the phone frame because you asked for it. Decide whether this ships on the website only, or in the app with IAP.