The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
[Billing for self hosts] Add info in description (#22660)
Mariee751c589ca02
diff --git a/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx b/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsxindex ba198b8d5e5..918713bcf4b 100644--- a/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx+++ b/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx@@ -510,7 +510,7 @@ export const SettingsEnterprise = ({<Section><H2Titletitle={t`Activate Enterprise Key`}- description={t`Paste your enterprise key below to activate`}+ description={t`Paste your enterprise key below to activate. Keep a copy of this key somewhere safe: the same key is reused to set up a development instance or to move your license to a replacement server.`}/><StyledInputContainer><StyledInputWrapper>@@ -559,14 +559,23 @@ export const SettingsEnterprise = ({</Section>);+ const enterpriseKeyInfoSection = (+ <Section>+ <H2Title+ title={t`Your enterprise key`}+ description={t`This server has an enterprise key configured. Make sure you keep a copy of it somewhere safe: you need the same key to activate a development instance or to move your license to a replacement server. If you no longer have access to your key, contact support.`}+ />+ </Section>+ );+const instanceTypeSection = (<Section><H2Titletitle={t`Development instance`}description={instanceType === ENTERPRISE_INSTANCE_TYPE.DEVELOPMENT- ? t`This instance is registered as a development instance and is not billed. A subscription can have a single free development instance in addition to its production one.`- : t`Register this server as a free development instance (for a staging or test environment). Development instances unlock enterprise features without being billed, and do not affect your production seat count.`+ ? t`This server is registered as a development instance and is not billed additionally. A subscription can have a single development instance in addition to its production one. Switching it back to a production instance will make its seats count toward billing.`+ : t`One subscription provides one enterprise key that powers one production instance and one potential staging or test instance. To run a staging or test environment, install Twenty on a second server, activate it with this same enterprise key, then register that server as a development instance. Development instances unlock enterprise features without extra billing and do not count toward your production seats.`}/>{instanceType === ENTERPRISE_INSTANCE_TYPE.DEVELOPMENT ? (@@ -955,6 +964,7 @@ export const SettingsEnterprise = ({onConfirmClick={handleReleaseBinding}/>{renderContent()}+ {hasSignedEnterpriseKey && enterpriseKeyInfoSection}{hasEnterpriseLicense && instanceTypeSection}</>);