diff --git a/packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue b/packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue index ed41b0135..72e6528a2 100644 --- a/packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue +++ b/packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue @@ -13,7 +13,7 @@

- {{ formatPrice(planPrice?.[Roles.Workspace.Member]) }} + {{ formatPrice(finalPlanPrice) }} per seat/month

@@ -141,6 +141,15 @@ const planPrice = computed( prices.value?.[props.plan]?.[props.yearlyIntervalSelected ? 'yearly' : 'monthly'] ) +const finalPlanPrice = computed(() => { + const basePrice = prices.value?.[props.plan].monthly?.['workspace:member'] + if (!basePrice) return undefined + return { + ...basePrice, + amount: props.yearlyIntervalSelected ? basePrice.amount * 0.8 : basePrice.amount + } +}) + const hasCta = computed(() => !!slots.cta) const canUpgradeToPlan = computed(() => { if (!props.currentPlan) return false