Commit 7068603
feat(web): port billing page with personalized billing cycles from main
- Add formatBillingPeriodDateOrdinal filter for ordinal date display
- Update BillingUsage type to match API (start_timestamp/end_timestamp)
- Add subscription_renews_at/subscription_ends_at to User type
- Rewrite billing page with full feature set:
- Current plan management (update, cancel, upgrade)
- Personalized billing period overview with start/end dates
- Usage history table with start/end date columns
- Subscription payments table with invoice generation
- Multiple upgrade plan options for free users
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d1eea79 commit 7068603
5 files changed
Lines changed: 628 additions & 128 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments