- Add settings page with organization, sites, courts, and users tabs
- Add reports page with revenue charts and statistics
- Add users API endpoint
- Add sites/[id] API endpoint for CRUD operations
- Add tabs UI component
- Fix sites API to return isActive field
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add comprehensive clients management interface including:
- Client table with search, filtering, and pagination
- Client form for creating and editing clients
- Client detail dialog showing profile, membership, and stats
- API endpoint for individual client operations (GET, PUT, DELETE)
- Stats cards showing total clients, with membership, and new this month
- Integration with membership assignment dialog
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add dashboard stats API endpoint with key metrics
- Add stat-card component for displaying metrics
- Add occupancy-chart component for court occupancy visualization
- Add recent-bookings component for today's bookings list
- Add quick-actions component for common admin actions
- Update dashboard page with full implementation
Stats include: today's bookings, revenue, occupancy rate,
active members, pending bookings, and upcoming tournaments.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add PlanCard component to display plan details with benefits
- Add PlanForm for creating/editing membership plans
- Add MembershipTable with status badges and actions
- Add AssignMembershipDialog for assigning memberships to clients
- Add memberships admin page with plans and memberships sections
- Include stats cards for active memberships and expiring soon
- Support renewal and cancellation workflows
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add complete tournament management interface including:
- Tournament card component with status badges and info display
- Tournament form for creating/editing tournaments
- Bracket view for single elimination visualization
- Inscriptions list with payment tracking
- Match score dialog for entering results
- Tournaments list page with filtering and search
- Tournament detail page with tabs (Overview, Inscriptions, Bracket)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add ProductGrid component with category filters and search
- Add Cart component with quantity controls and totals
- Add PaymentDialog with cash/card/transfer payment methods
- Add CashRegisterStatus for opening/closing register
- Add POS page with 70/30 layout (products/cart)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add TimeSlot component with available/booked visual states
- Add BookingCalendar component with date navigation and court columns
- Add BookingDialog for creating bookings and viewing/cancelling existing ones
- Add bookings page with calendar integration
- Fix sidebar navigation paths for route group structure
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>