Skip to content

[#530] Phase 1: calendar + attendance + ledger #533

Closed

Description

@owlstonbusiness-svg

Phase 1 — calendar + attendance + credit ledger (admin/tutor)

Child of #530. Extends #461 — do not fork a second calendar. Pure-matching tutors keep lightweight availability; Managed uses full attendance→ledger.

Scope

Depends on

#532 Phase 0 spike green

Acceptance

Out

Public book drawer (Phase 2) · FPS checkout · family wallet · DRM · gradebook

Activity

  1. added 2 commits that reference this issue on Oct 30, 2026
  2. keyframesfound commented on Oct 30, 2026

    @keyframesfound
    Owner

    Shipped in main (c05c5fb), migration live on production. Details: docs/academy-ledger.md § Phase 1.

    Scope delivered: admin master calendar /admin/academy + tutor-hub attendance; attendance statuses; state machine BOOKED → HOLD → CONSUMED/RELEASED + PENDING_PAYOUT; cancellation_policy / reschedule_policy as data; occupancy % and 30-day credit burn. Tests: 15 SQL acceptance checks (scripts/test-academy-sql.sh), unit tests in tests/academy/.

    Deferred: a tutor_commission_rules table. Intro-case fees already run on the #536 engine (covers #508/#520/#525/#529), and Managed lessons do not change the intro fee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesturgentGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions