more
This commit is contained in:
@@ -32,14 +32,10 @@ const PaymentModal = ({
|
|||||||
const additionalAccountsAnnualPriceToday =
|
const additionalAccountsAnnualPriceToday =
|
||||||
additionalAccountsMonthlyPriceToday * 12;
|
additionalAccountsMonthlyPriceToday * 12;
|
||||||
|
|
||||||
console.log(
|
|
||||||
"additionalAccountsAnnualPriceToday",
|
|
||||||
additionalAccountsAnnualPriceToday
|
|
||||||
);
|
|
||||||
|
|
||||||
const extraAccountsPrice = isAnnual
|
const extraAccountsPrice = isAnnual
|
||||||
? additionalAccountsAnnualPriceToday
|
? additionalAccountsAnnualPriceToday
|
||||||
: additionalAccountsMonthlyPriceToday;
|
: additionalAccountsMonthlyPriceToday;
|
||||||
|
|
||||||
const showAdditionaLAccountsView =
|
const showAdditionaLAccountsView =
|
||||||
(selectedPlan[0]?.value === "partner" && numberOfAccountsToAdd > 0) ||
|
(selectedPlan[0]?.value === "partner" && numberOfAccountsToAdd > 0) ||
|
||||||
(selectedPlan[0]?.value === "seniorPartner" && numberOfAccountsToAdd > 0);
|
(selectedPlan[0]?.value === "seniorPartner" && numberOfAccountsToAdd > 0);
|
||||||
@@ -81,7 +77,7 @@ const PaymentModal = ({
|
|||||||
<div className="payment-modal-text-wrapper">
|
<div className="payment-modal-text-wrapper">
|
||||||
<div className="paymodal-summary-right">
|
<div className="paymodal-summary-right">
|
||||||
{numberOfAccountsToAdd} Addiitonal{" "}
|
{numberOfAccountsToAdd} Addiitonal{" "}
|
||||||
{numberOfAccountsToAdd > 1 ? `accounts` : `account`}
|
{numberOfAccountsToAdd > 1 ? `accounts:` : `account:`}
|
||||||
</div>
|
</div>
|
||||||
<div className="paymodal-summary-left">
|
<div className="paymodal-summary-left">
|
||||||
{billingPeriod} - ${extraAccountsPrice}
|
{billingPeriod} - ${extraAccountsPrice}
|
||||||
|
|||||||
@@ -81,6 +81,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
margin-bottom: 12px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user