tia/src/app/admin
Mannu fbcfff47bd feat(admin): subscriptions page, real ₹ revenue, family sub dates
Subscriptions monitoring (NEW):
- GET /api/admin/subscriptions: live subs (family+plan+status+dates+rzp id),
  recent webhook events, summary (status counts, MRR/ARR paise). POST = reconcile
- /admin/subscriptions page: summary cards, status chips, subs table, webhook
  log, one-click Reconcile button. Added to sidebar (💳)

Real revenue in INR (was mock $9.99):
- stats API: MRR now SUM(plan price_paise) of active/authenticated/pending subs
- revenue page: all ₹, real MRR/ARR/ARPU, growth potential off real ARPU,
  links to subscriptions page (removed fabricated monthly history)
- dashboard MRR card + revenue overview: $ -> ₹ with en-IN formatting

Family subscription dates:
- families API: joins latest family_subscriptions -> {status, plan, startedAt,
  expiresAt, cancelledAt} (try/catch safe if billing tables absent)
- families page: tier cell shows status + "since" date + renews/ends date
  (amber when cancelled)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 15:18:43 +05:30
..
activity Admin panel overhaul: activity monitor, real DB wiring, tier management 2026-05-24 08:35:01 +05:30
ai Add admin observability: error tracking, audit viewer, AI metrics, health 2026-05-30 00:27:07 +05:30
analytics Make admin engagement feed resilient + self-diagnosing 2026-05-30 00:37:53 +05:30
audit Add admin observability: error tracking, audit viewer, AI metrics, health 2026-05-30 00:27:07 +05:30
children feat: admin orphaned family management + user journey analytics 2026-05-24 09:38:34 +05:30
errors Add admin observability: error tracking, audit viewer, AI metrics, health 2026-05-30 00:27:07 +05:30
families feat(admin): subscriptions page, real ₹ revenue, family sub dates 2026-06-06 15:18:43 +05:30
health Add admin observability: error tracking, audit viewer, AI metrics, health 2026-05-30 00:27:07 +05:30
revenue feat(admin): subscriptions page, real ₹ revenue, family sub dates 2026-06-06 15:18:43 +05:30
settings Admin panel overhaul: activity monitor, real DB wiring, tier management 2026-05-24 08:35:01 +05:30
storage Add admin Storage & Billing monitor 2026-05-30 09:45:24 +05:30
subscriptions feat(admin): subscriptions page, real ₹ revenue, family sub dates 2026-06-06 15:18:43 +05:30
support Admin panel overhaul: activity monitor, real DB wiring, tier management 2026-05-24 08:35:01 +05:30
users feat: show user phone in admin users page 2026-06-02 21:48:57 +05:30
AdminSidebar.tsx feat(admin): subscriptions page, real ₹ revenue, family sub dates 2026-06-06 15:18:43 +05:30
layout.tsx SEO overhaul: metadata, robots, sitemap, structured data 2026-05-29 11:03:04 +05:30
page.tsx feat(admin): subscriptions page, real ₹ revenue, family sub dates 2026-06-06 15:18:43 +05:30