diff --git a/web/ee/components/license/plans-card/pro.tsx b/web/ee/components/license/plans-card/pro.tsx index 4c1bf0e9e5..81b3ff1999 100644 --- a/web/ee/components/license/plans-card/pro.tsx +++ b/web/ee/components/license/plans-card/pro.tsx @@ -71,34 +71,43 @@ export const ProPlanCard: React.FC = observer((props: TProPla -
Unlimited members, 1:5 Guests, Issue Types, Active Cycles, and more
- {isInTrialPeriod && ( -
- Pro trial ends{" "} - {subscriptionDetail.remaining_trial_days === 0 - ? "today" - : `in ${subscriptionDetail.remaining_trial_days} days`}{" "} - - • Billable seats when you upgrade: {subscriptionDetail?.billable_members} - -
- )} - {!isInTrialPeriod && - (isSubscriptionCancelled ? ( -
Your billing cycle ends on {renderFormattedDate(endDate)}.
- ) : ( -
- {startDate - ? `Current billing cycle: ${renderFormattedDate(startDate)} - ${renderFormattedDate(endDate)}` - : `Your billing cycle renews on ${renderFormattedDate(endDate)}`}{" "} - • Billable seats: {subscriptionDetail?.billable_members} + <> +
Unlimited members, 1:5 Guests, Issue Types, Active Cycles, and more
+ {!subscriptionDetail.is_offline_payment ? ( + <> + {isInTrialPeriod && ( +
+ Pro trial ends{" "} + {subscriptionDetail.remaining_trial_days === 0 + ? "today" + : `in ${subscriptionDetail.remaining_trial_days} days`}{" "} + + • Billable seats when you upgrade: {subscriptionDetail?.billable_members} +
- ))} - - - ) + )} + {!isInTrialPeriod && + (isSubscriptionCancelled ? ( +
Your billing cycle ends on {renderFormattedDate(endDate)}.
+ ) : ( +
+ {startDate + ? `Current billing cycle: ${renderFormattedDate(startDate)} - ${renderFormattedDate(endDate)}` + : `Your billing cycle renews on ${renderFormattedDate(endDate)}`}{" "} + • Billable seats: {subscriptionDetail?.billable_members} +
+ ))} + + ) : ( +
+ To manage your subscription, please{" "} + + contact support. + +
+ )} + + } button={ !subscriptionDetail.is_offline_payment && (