{isFreeTariff ? (
{{ planName: currentTariffPlanTitle }}
) : (
t("LatePayment")
)}
{isFreeTariff
? t("ActivateBusinessPlan", { planName: currentTariffPlanTitle })
: t("GracePeriodActivated")}
{isFreeTariff ? (
<>
{pricePerManager ? (
From {{ currencySymbol }}
{{ price: pricePerManager }} per admin/month
) : (
<>>
)}
>
) : (
t("PayBeforeTheEndGracePeriod")
)}
);
};
export default withRouter(
inject(({ auth }) => {
const { paymentQuotasStore, currentQuotaStore, settingsStore } = auth;
const { currentTariffPlanTitle } = currentQuotaStore;
const { theme } = auth;
const { setPortalPaymentQuotas, planCost } = paymentQuotasStore;
return {
setPortalPaymentQuotas,
pricePerManager: planCost.value,
theme,
currencySymbol: planCost.currencySymbol,
currentTariffPlanTitle,
};
})(observer(ArticlePaymentAlert))
);