From 4e111f8f4d8fbb3a0c3b6463774eded09d572448 Mon Sep 17 00:00:00 2001 From: Thomas <31189692+ecktoteckto@users.noreply.github.com> Date: Thu, 16 May 2024 05:26:03 +0200 Subject: [PATCH] chore: adjust copy for partner billed org when up/downgrading plan [GEN-8952] (#26361) --- .../Subscription/PlanUpdateSidePanel.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx index 84bd31f81f4..f5de33e2e5a 100644 --- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx +++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx @@ -547,10 +547,15 @@ const PlanUpdateSidePanel = () => {

This organization is billed through our partner{' '} - {billingPartnerLabel(subscription?.billing_partner)} and you will be charged by them - directly. + {billingPartnerLabel(billingPartner)}.{' '} + {billingPartner === 'aws' ? ( + <>The organization's credit balance will be decreased accordingly. + ) : ( + <>You will be charged by them directly. + )}

- {subscriptionPreview?.billed_via_partner && + {billingViaPartner && + billingPartner === 'fly' && subscriptionPreview?.plan_change_type === 'downgrade' && (

Your organization will be downgraded at the end of your current billing cycle.