3 Commits

Author SHA1 Message Date
Ivan
d3419a8cc5 feat: translate API error messages to English
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 21:24:54 +00:00
Ivan
88c6a7084a feat(clients): add clients management page
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>
2026-02-01 07:38:40 +00:00
Ivan
c08bb3daca feat(api): add membership plans and subscriptions endpoints
- Add membership-plans API with GET (list active plans) and POST (create plan)
- Add membership-plans/[id] API with GET (plan details with subscriber count), PUT (update), DELETE (soft delete)
- Add memberships API with GET (list with filters) and POST (create membership for client)
- Add memberships/[id] API with GET (membership details), PUT (update/renew/change plan), DELETE (cancel)
- Add memberships/[id]/renew API for renewing memberships with hour reset
- Add clients/[id]/membership API for quick membership lookup (booking discount calculation)
- Include benefit summaries and expiring membership detection in responses

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 07:21:17 +00:00