{{ getActionTitle() }}

{{ getActionDescription() }}

@if (currentSubscription && comparisonResult.actionType !== PlanActionType.NEW) {
Current Plan
{{ formatSubscriptionType(currentSubscription.plan.type) }} ${{ currentSubscription.plan?.price ?? currentSubscription.amount }}/{{ currentSubscription.plan?.billingPeriod ?? currentSubscription.billingPeriod }}
} @if (comparisonResult.actionType !== PlanActionType.NEW) {
}
{{ comparisonResult.actionType === PlanActionType.NEW ? 'Selected Plan' : 'New Plan' }}
{{ selectedPlan.name }} {{ selectedPlan.formattedPrice }} @if (!selectedPlan.isFree) { /{{ selectedPlan.formattedBillingPeriod }} }
@if (comparisonResult.requiresPayment) {
Payment Details
@if (subscriptionPreview) {
Base amount {{ subscriptionPreview.formattedBaseAmount }}
} @if (comparisonResult.prorationAmount && comparisonResult.prorationAmount > 0) {
Prorated amount ${{ comparisonResult.prorationAmount.toFixed(2) }}
} @if (subscriptionPreview?.discount && subscriptionPreview.discount > 0) {
Discount -{{ subscriptionPreview.formattedDiscount }}
} @if (subscriptionPreview) {
Total {{ subscriptionPreview.formattedTotalAmount }}
}
{{ getPaymentTimingText() }}
} @if (selectedPlan.isFree) {
This plan is completely free!
}
@if (comparisonResult.benefits.length > 0) {
Benefits
    @for (benefit of comparisonResult.benefits; track benefit) {
  • {{ benefit }}
  • }
} @if (comparisonResult.restrictions.length > 0) {
Important Notes
    @for (restriction of comparisonResult.restrictions; track restriction) {
  • {{ restriction }}
  • }
}
@if (selectedPlan.trialDays && comparisonResult.actionType === PlanActionType.NEW) {
Free Trial: You'll get {{ selectedPlan.trialDays }} days free before billing begins.
}