# INVEETAIRE — Event Sessions (Phase 2)

Phase 1 has been completed and approved.

Continue with Phase 2 only.

Do NOT continue to Phase 3.

====================================================
OBJECTIVE
====================================================

Implement Guest Session Assignment and Invitation rendering.

The database foundation already exists.

Now integrate Event Sessions into the application.

====================================================
SCOPE
====================================================

Implement ONLY:

1. Guest Management
2. Invitation Data Loading
3. Invitation Renderer

Do NOT modify:

- Attendance
- RSVP
- QR Scanner
- Dashboard
- Analytics

====================================================
GUEST MANAGEMENT
====================================================

Inside Guest Create/Edit page,

for every enabled Event:

Holy Matrimony
Tea Pai
Reception

allow admin to choose ONE Session.

Requirements:

- If Event has only one Session:
  - Do NOT show a dropdown.
  - Simply display the session name/time as read-only.
  - Automatically assign the Default Session.

- If Event has multiple Sessions:
  - Show a dropdown.
  - Admin selects one Session.

Example:

Holy Matrimony

Session

▼ Session 1 (10:00 WIB)
▼ Session 2 (11:00 WIB)

Tea Pai

Default Session
13:00 WIB

Reception

Default Session
18:00 WIB

The UI should remain clean and simple.

Avoid unnecessary controls.

====================================================
INVITATION

When generating invitation payload:

Guest

↓

Assigned Event

↓

Assigned Session

↓

Display Session schedule.

If Guest has no assigned Session,

automatically fall back to the Event Default Session.

====================================================
BACKWARD COMPATIBILITY

Existing Guests must continue working.

Existing Invitations must continue working.

Existing Public URLs must not change.

====================================================
DELIVERABLES

After implementation generate:

1. Files modified
2. Business logic summary
3. Guest UI walkthrough
4. Invitation rendering walkthrough
5. Local verification steps
6. Expected results
7. Rollback steps
8. Remaining work for Phase 3

Finally generate a complete Phase 2 Walkthrough document.

Stop after Phase 2.

Do NOT continue to Phase 3.