feat: add subscription UI, plan-based nav gating, and client subscription page

- Add plan field to UserInfo shared type
- Subscription API client and React Query hooks
- Client subscription page with status + payment history
- Sidebar navigation filtered by tenant plan features
- Subscription link added to navigation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Consultoria AS
2026-03-15 23:48:23 +00:00
parent 3ab6d8d3e9
commit d22e898909
6 changed files with 237 additions and 7 deletions

View File

@@ -29,6 +29,7 @@ export interface UserInfo {
tenantId: string;
tenantName: string;
tenantRfc: string;
plan: string;
}
export interface JWTPayload {