Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update price for team and enterprise plan (#1583)
ecmadaoda87b331b4ee
diff --git a/frontend/src/components/PricingTable.vue b/frontend/src/components/PricingTable.vueindex 42afd32d7e..ed2af702ff 100644--- a/frontend/src/components/PricingTable.vue+++ b/frontend/src/components/PricingTable.vue@@ -35,10 +35,13 @@</p><p class="mt-4 flex items-baseline text-gray-900 text-xl">+ <span v-if="plan.pricePrefix" class="text-3xl">+ {{ plan.pricePrefix }} </span+ ><span class="text-4xl">${{ plan.pricePerInstancePerMonth }}</span>- {{ $t("subscription.per-month") }}+ {{ plan.priceUnit }}</p><div class="text-gray-400">@@ -329,6 +332,8 @@ interface LocalPlan extends Plan {highlight: boolean;isFreePlan: boolean;isAvailable: boolean;+ pricePrefix: string;+ priceUnit: string;}const minimumInstanceCount = 5;@@ -350,19 +355,6 @@ export default defineComponent({(state.instanceCount = val?.instanceCount ?? minimumInstanceCount));- const getInstancePricePerYear = (plan: Plan): number => {- return (- (state.instanceCount - minimumInstanceCount) *- plan.pricePerInstancePerMonth *- 12- );- };-- const getPlanPrice = (plan: Plan): number => {- if (plan.type !== PlanType.TEAM) return plan.unitPrice;- return plan.unitPrice + getInstancePricePerYear(plan);- };-const plans = computed((): LocalPlan[] => {return [FREE_PLAN, TEAM_PLAN, ENTERPRISE_PLAN].map((plan) => ({...plan,@@ -375,6 +367,12 @@ export default defineComponent({isAvailable: plan.type === PlanType.TEAM,isFreePlan: plan.type === PlanType.FREE,label: t(`subscription.plan.${plan.title}.label`),+ pricePrefix:+ plan.type === PlanType.ENTERPRISE ? t("subscription.start-from") : "",+ priceUnit:+ plan.type === PlanType.ENTERPRISE+ ? t("subscription.price-unit-for-enterprise")+ : t("subscription.per-month"),}));});diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 429687229f..8d1bb58011 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1234,6 +1234,8 @@"trial": "You can start a free trial - no credit card required","upgrade": "Upgrade subscription","per-month": "/ month",+ "price-unit-for-enterprise": "/ month",+ "start-from": "Start from","per-instance": "Per instance","free-price-intro": "Up to 5","team-price-intro": "5 minimum, billed annually",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex cb4fbbeb7b..f592aa6683 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1234,6 +1234,8 @@"trial": "您可以免费试用 14 天","upgrade": "升级订阅","per-month": "/ 月",+ "price-unit-for-enterprise": "/ 月起",+ "start-from": "","per-instance": "每个实例","free-price-intro": "最多 5 个实例","team-price-intro": "5 个起步,按年付费",diff --git a/frontend/src/types/plan.ts b/frontend/src/types/plan.tsindex 2d343d4edd..d451746986 100644--- a/frontend/src/types/plan.ts+++ b/frontend/src/types/plan.ts@@ -161,7 +161,7 @@ export const TEAM_PLAN: Plan = {unitPrice: 1740,trialPrice: 0,freeInstanceCount: 5,- pricePerInstancePerMonth: 29,+ pricePerInstancePerMonth: 79,// Plan desc and featuretitle: "team",features: [