more
This commit is contained in:
@@ -32,13 +32,14 @@ const PaymentModal = ({
|
|||||||
const additionalAccountsAnnualPriceToday =
|
const additionalAccountsAnnualPriceToday =
|
||||||
additionalAccountsMonthlyPriceToday * 12;
|
additionalAccountsMonthlyPriceToday * 12;
|
||||||
|
|
||||||
const tempExtraAccountsPrice = isAnnual
|
console.log(
|
||||||
|
"additionalAccountsAnnualPriceToday",
|
||||||
|
additionalAccountsAnnualPriceToday
|
||||||
|
);
|
||||||
|
|
||||||
|
const extraAccountsPrice = isAnnual
|
||||||
? additionalAccountsAnnualPriceToday
|
? additionalAccountsAnnualPriceToday
|
||||||
: additionalAccountsMonthlyPriceToday;
|
: additionalAccountsMonthlyPriceToday;
|
||||||
const extraAccountsPrice =
|
|
||||||
tempExtraAccountsPrice === NaN || tempExtraAccountsPrice === undefined
|
|
||||||
? 0
|
|
||||||
: 0;
|
|
||||||
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);
|
||||||
@@ -157,3 +158,15 @@ const PaymentModal = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default PaymentModal;
|
export default PaymentModal;
|
||||||
|
|
||||||
|
/*
|
||||||
|
const tempExtraAccountsPrice = isAnnual
|
||||||
|
? additionalAccountsAnnualPriceToday
|
||||||
|
: additionalAccountsMonthlyPriceToday;
|
||||||
|
|
||||||
|
const extraAccountsPrice =
|
||||||
|
tempExtraAccountsPrice === NaN || tempExtraAccountsPrice === undefined
|
||||||
|
? 0
|
||||||
|
: 0;
|
||||||
|
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user