From 2869e63d0a84c1fe68bdf6afec23972ce0eb03a6 Mon Sep 17 00:00:00 2001 From: mrhid6 Date: Mon, 27 Jul 2026 21:47:50 +0100 Subject: [PATCH] feat: Move manage billing button to billing page --- adminsite/app/(customer)/billing/page.tsx | 10 +++++++--- adminsite/components/InstanceRecord.tsx | 3 --- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/adminsite/app/(customer)/billing/page.tsx b/adminsite/app/(customer)/billing/page.tsx index d482620..440b396 100644 --- a/adminsite/app/(customer)/billing/page.tsx +++ b/adminsite/app/(customer)/billing/page.tsx @@ -5,6 +5,7 @@ import { API_BASE, NotConnected, api } from "@/lib/api"; import { NotConnectedPanel } from "@/components/NotConnected"; import { PageFrame, RailCard, RailFacts } from "@/components/PageFrame"; import { PageHeader } from "@/components/PageHeader"; +import { ManageBillingButton } from "@/components/ManageBillingButton"; import { formatDate } from "@/lib/format"; export default function BillingPage() { @@ -51,9 +52,12 @@ export default function BillingPage() {

- To change a card, download an invoice or cancel, email support and - we will send you a billing link. Self-service billing arrives with - card payments. + Change a card, download an invoice or cancel from the billing + portal. It covers every subscription on this account. +

+ +

+ Anything else, email support.

)} - - {instance.tier && instance.tier !== "free" && }