feat: display billing information with business name in OrganizationSettings component for improved user clarity
This commit is contained in:
@@ -856,6 +856,11 @@ export default function OrganizationSettings() {
|
||||
Change plan
|
||||
</Button>
|
||||
</div>
|
||||
{subscription.business_name && (
|
||||
<div className="px-6 pb-2 -mt-2 text-sm text-neutral-500 dark:text-neutral-400">
|
||||
Billing for: {subscription.business_name}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Usage stats */}
|
||||
<div className="border-t border-neutral-200 dark:border-neutral-800 px-6 py-5 grid grid-cols-2 md:grid-cols-4 gap-y-4 gap-x-6">
|
||||
|
||||
@@ -13,7 +13,7 @@ export interface SubscriptionDetails {
|
||||
sites_count?: number
|
||||
/** Pageviews in current billing period (when pageview_limit > 0). Present when backend supports usage API. */
|
||||
pageview_usage?: number
|
||||
/** Business name from Stripe Checkout (optional). */
|
||||
/** Business name from Stripe Tax ID collection / business purchase flow (optional). */
|
||||
business_name?: string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user