From fb43b28afb45aafd682e55fa44ef31c7e6543ba9 Mon Sep 17 00:00:00 2001
From: jayeshmangwani <jayeshmangwani@gmail.com>
Date: Tue, 28 Jan 2025 17:06:54 +0530
Subject: [PATCH 1/2] added note to display text for changes to multiple
 workspace plan types

---
 src/languages/en.ts                            |  5 +++++
 src/languages/es.ts                            |  6 ++++++
 .../workspace/downgrade/DowngradeIntro.tsx     | 18 ++++++++++++++----
 .../workspace/upgrade/GenericFeaturesView.tsx  | 10 +++++++++-
 4 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/src/languages/en.ts b/src/languages/en.ts
index 3b55d6fbc75c..8948b4f303ef 100755
--- a/src/languages/en.ts
+++ b/src/languages/en.ts
@@ -4431,6 +4431,8 @@ const translations = {
                     benefit2: 'Smart expense rules',
                     benefit3: 'Multi-level approval workflows',
                     benefit4: 'Enhanced security controls',
+                    toUpgrade: 'To upgrade, click',
+                    selectWorkspace: 'select a workspace, and change the plan type to',
                 },
             },
         },
@@ -4447,6 +4449,9 @@ const translations = {
                     benefit2: 'Smart expense rules',
                     benefit3: 'Multi-level approval workflows',
                     benefit4: 'Enhanced security controls',
+                    headsUp: 'Heads up!',
+                    multiWorkspaceNote: 'You’ll need to downgrade all your workspaces before your first monthly payment to begin a subscription at the Collect rate. Click',
+                    selectStep: '> select each workspace > change the plan type to',
                 },
             },
             completed: {
diff --git a/src/languages/es.ts b/src/languages/es.ts
index dff3dcd575c0..37060c326629 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -4497,6 +4497,8 @@ const translations = {
                     benefit2: 'Reglas inteligentes de gastos',
                     benefit3: 'Flujos de aprobación de varios niveles',
                     benefit4: 'Controles de seguridad mejorados',
+                    toUpgrade: 'Para mejorar, haz clic',
+                    selectWorkspace: 'selecciona un espacio de trabajo y cambia el tipo de plan a Controlar.',
                 },
             },
         },
@@ -4513,6 +4515,10 @@ const translations = {
                     benefit2: 'Reglas inteligentes de gastos',
                     benefit3: 'Flujos de aprobación de varios niveles',
                     benefit4: 'Controles de seguridad mejorados',
+                    headsUp: '¡Atención!',
+                    multiWorkspaceNote:
+                        'Tendrás que bajar de categoría todos tus espacios de trabajo antes de tu primer pago mensual para comenzar una suscripción con la tasa del plan Recopilar. Haz clic',
+                    selectStep: '> selecciona cada espacio de trabajo > cambia el tipo de plan a Recopilar.',
                 },
             },
             completed: {
diff --git a/src/pages/workspace/downgrade/DowngradeIntro.tsx b/src/pages/workspace/downgrade/DowngradeIntro.tsx
index d226576d84cb..e929ace80b4d 100644
--- a/src/pages/workspace/downgrade/DowngradeIntro.tsx
+++ b/src/pages/workspace/downgrade/DowngradeIntro.tsx
@@ -65,10 +65,20 @@ function DowngradeIntro({onDowngrade, buttonDisabled, loading, policyID}: Props)
                     </TextLink>
                     .
                 </Text>
-                <Text style={[styles.mv4]}>
-                    <Text style={[styles.textNormal, styles.textSupporting]}>{translate('workspace.downgrade.commonFeatures.benefits.confirm')}</Text>{' '}
-                    <Text style={[styles.textBold, styles.textSupporting]}>{translate('workspace.downgrade.commonFeatures.benefits.warning')}</Text>
-                </Text>
+                {policyID ? (
+                    <Text style={[styles.mv4]}>
+                        <Text style={[styles.textNormal, styles.textSupporting]}>{translate('workspace.downgrade.commonFeatures.benefits.confirm')}</Text>{' '}
+                        <Text style={[styles.textBold, styles.textSupporting]}>{translate('workspace.downgrade.commonFeatures.benefits.warning')}</Text>
+                    </Text>
+                ) : (
+                    <Text style={[styles.mv4]}>
+                        <Text style={[styles.textBold, styles.textSupporting]}>{translate('workspace.downgrade.commonFeatures.benefits.headsUp')}</Text>{' '}
+                        <Text style={[styles.textNormal, styles.textSupporting]}>{translate('workspace.downgrade.commonFeatures.benefits.multiWorkspaceNote')}</Text>{' '}
+                        <Text style={[styles.textBold, styles.textSupporting]}>{translate('workspace.common.goToWorkspaces')}</Text>{' '}
+                        <Text style={[styles.textNormal, styles.textSupporting]}>{translate('workspace.downgrade.commonFeatures.benefits.selectStep')}</Text>{' '}
+                        <Text style={[styles.textBold, styles.textSupporting]}>{translate('workspace.type.collect')}</Text>.
+                    </Text>
+                )}
             </View>
             {policyID ? (
                 <Button
diff --git a/src/pages/workspace/upgrade/GenericFeaturesView.tsx b/src/pages/workspace/upgrade/GenericFeaturesView.tsx
index 224accb18d17..a38d98a8543c 100644
--- a/src/pages/workspace/upgrade/GenericFeaturesView.tsx
+++ b/src/pages/workspace/upgrade/GenericFeaturesView.tsx
@@ -49,7 +49,7 @@ function GenericFeaturesView({onUpgrade, buttonDisabled, loading, policyID}: Gen
                     height={48}
                 />
             </View>
-            <View style={styles.mb5}>
+            <View style={styles.mb4}>
                 <Text style={[styles.textHeadlineH1, styles.mb4]}>{translate('workspace.upgrade.commonFeatures.title')}</Text>
                 <Text style={[styles.textNormal, styles.textSupporting, styles.mb4]}>{translate('workspace.upgrade.commonFeatures.note')}</Text>
                 {benefits.map((benefit) => (
@@ -74,6 +74,14 @@ function GenericFeaturesView({onUpgrade, buttonDisabled, loading, policyID}: Gen
                     {translate('workspace.upgrade.commonFeatures.benefits.pricing')}
                 </Text>
             </View>
+            {!policyID && (
+                <Text style={[styles.mb5, styles.textNormal, styles.textSupporting]}>
+                    <Text style={[styles.textNormal, styles.textSupporting]}>{translate('workspace.upgrade.commonFeatures.benefits.toUpgrade')}</Text>{' '}
+                    <Text style={[styles.textBold, styles.textSupporting]}>{translate('workspace.common.goToWorkspaces')}</Text>,{' '}
+                    <Text style={[styles.textNormal, styles.textSupporting]}>{translate('workspace.upgrade.commonFeatures.benefits.selectWorkspace')}</Text>{' '}
+                    <Text style={[styles.textBold, styles.textSupporting]}>{translate('workspace.type.control')}</Text>.
+                </Text>
+            )}
             {policyID ? (
                 <Button
                     isLoading={loading}

From c7bb76653c516341bf32d8e560924d270a8e5413 Mon Sep 17 00:00:00 2001
From: jayeshmangwani <jayeshmangwani@gmail.com>
Date: Tue, 28 Jan 2025 17:42:05 +0530
Subject: [PATCH 2/2] added conditional padding for note

---
 src/pages/workspace/upgrade/GenericFeaturesView.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pages/workspace/upgrade/GenericFeaturesView.tsx b/src/pages/workspace/upgrade/GenericFeaturesView.tsx
index a38d98a8543c..731946182ad4 100644
--- a/src/pages/workspace/upgrade/GenericFeaturesView.tsx
+++ b/src/pages/workspace/upgrade/GenericFeaturesView.tsx
@@ -49,7 +49,7 @@ function GenericFeaturesView({onUpgrade, buttonDisabled, loading, policyID}: Gen
                     height={48}
                 />
             </View>
-            <View style={styles.mb4}>
+            <View style={policyID ? styles.mb5 : styles.mb4}>
                 <Text style={[styles.textHeadlineH1, styles.mb4]}>{translate('workspace.upgrade.commonFeatures.title')}</Text>
                 <Text style={[styles.textNormal, styles.textSupporting, styles.mb4]}>{translate('workspace.upgrade.commonFeatures.note')}</Text>
                 {benefits.map((benefit) => (
