it0/it0-web-admin/src/app/(admin)/billing
hailin 60cf49432e feat(billing): add CNY overage rate field and auto-detect currency from locale
- Add overage_rate_fen_per_m_token_cny column (migration 006)
- Plan entity and seed updated with CNY overage rates (Pro ¥58, Enterprise ¥36)
- upsertSeedPlans now updates existing plans (not insert-only)
- Plan controller exposes overageRateCnyPerMToken
- Frontend: currency auto-selects from i18n locale (zh→CNY, en→USD)
- Frontend: Intl.NumberFormat for proper currency formatting
- Currency toggle redesigned as pill selector

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 02:18:25 -08:00
..
invoices feat(i18n): add billing namespace, fully internationalize billing pages 2026-03-07 01:46:05 -08:00
plans feat(billing): add CNY overage rate field and auto-detect currency from locale 2026-03-07 02:18:25 -08:00
page.tsx feat(i18n): add billing namespace, fully internationalize billing pages 2026-03-07 01:46:05 -08:00