diff --git a/src/Components/Modals/PaymentModal.js b/src/Components/Modals/PaymentModal.js index 9c84c19..cb7ddf3 100644 --- a/src/Components/Modals/PaymentModal.js +++ b/src/Components/Modals/PaymentModal.js @@ -21,8 +21,6 @@ const PaymentModal = ({ fieldsChunkSize, numberOfAccountsToAdd, }) => { - const monthlyAddAccountPrice = selectedPlan[0].pricing[2].amount; - const monthlySubscriptionPriceToday = selectedPlan[0].pricing[0].amount; const annualSubscriptionPriceToday = selectedPlan[0].pricing[1].amount * 12; @@ -46,12 +44,28 @@ const PaymentModal = ({ (selectedPlan[0]?.value === "seniorPartner" && numberOfAccountsToAdd > 0); const planName = selectedPlan[0].name ? selectedPlan[0].name : null; - const billingPeriod = isAnnual ? "Annually" : "Monthly"; - const amountToday = isAnnual - ? annualSubscriptionPriceToday - : monthlySubscriptionPriceToday; + const planValue = selectedPlan[0].value ? selectedPlan[0].value : null; + const billingPeriod = + planValue === "ofCounsel" + ? "Single Purchase" + : isAnnual + ? "Annually" + : "Monthly"; + const amountToday = + planValue === "ofCounsel" + ? 59 + : isAnnual + ? annualSubscriptionPriceToday + : monthlySubscriptionPriceToday; - const totalToday = amountToday + extraAccountsPrice; + const totalToday = + planValue === "ofCounsel" ? 59 : amountToday + extraAccountsPrice; + + const isCounsel = planValue === "ofCounsel" ? true : false; + const handleSignupClick = () => { + //clear fields + handleSignup(); + }; return ( @@ -92,7 +106,7 @@ const PaymentModal = ({
Total today:
${totalToday}
- {isAnnual ? ( + {isAnnual && !isCounsel ? (
@@ -159,7 +173,7 @@ const PaymentModal = ({
diff --git a/src/Constants/Fields/RadioFields.js b/src/Constants/Fields/RadioFields.js index 409a34a..26dc6d9 100644 --- a/src/Constants/Fields/RadioFields.js +++ b/src/Constants/Fields/RadioFields.js @@ -4,16 +4,17 @@ export const signupRadioFields = [ label: "Of Counsel", value: "ofCounsel", description: [ - "One document/one-time fee", - "Documents conform with state rules", + "Single document/one-time fee", "Intellidraft AI - downloadable document in minutes", + "Documents formatted for jurisdiction", "24/7 support", ], details: "", docsAllowedPerMonth: 1, pricing: [ - { type: "monthly", amount: 59 }, + { type: "one-time", amount: 59 }, { type: "annDiscount", amount: 59 }, + { type: "additionalAccount", amount: 0 }, ], }, { @@ -22,9 +23,9 @@ export const signupRadioFields = [ value: "associate", description: [ "1 document per month", - "Carryover 1 unused document each subscription period", - "Documents conform with state rules", "Intellidraft AI - downloadable document in minutes", + "Carryover 1 unused document each subscription period", + "Documents formatted for jurisdiction", "24/7 support", "First month is free!", ], @@ -42,11 +43,11 @@ export const signupRadioFields = [ value: "partner", description: [ "3 documents per month", - "Carryover 1 unused document per month", - "Documents conform with state rules", "Intellidraft AI - downloadable document in minutes", - "Up to 2 additional accounts: $49/each", + "Carryover 1 unused document per month", + "Documents formatted for jurisdiction", "24/7 support", + "Up to 2 additional accounts: $49/each", ], details: "", docsAllowedPerMonth: 3, @@ -62,8 +63,8 @@ export const signupRadioFields = [ value: "seniorPartner", description: [ "Unlimited documents.", - "Documents conform with state rules", "Intellidraft AI - downloadable document in minutes", + "Documents formatted for jurisdiction", "24/7 Triage-level support response", "Up to 8 additional accounts at $39/each", ], diff --git a/src/pageElements/Radio.js b/src/pageElements/Radio.js index 59d6b71..55990e6 100644 --- a/src/pageElements/Radio.js +++ b/src/pageElements/Radio.js @@ -22,7 +22,7 @@ const Radio = (props) => { const index = isAnnual === 1 ? Number("1") : Number("0"); const upgradeClass = isUpgrade ? "upgrade" : "not-upgrade"; - + console.log("activeRadioOption", activeRadioOption); return (
diff --git a/src/styles/signup.scss b/src/styles/signup.scss index 464d299..655bfa7 100644 --- a/src/styles/signup.scss +++ b/src/styles/signup.scss @@ -86,7 +86,7 @@ .select-plan-header { display: flex; flex-direction: row; - height: 55px; + height: 70px; width: 830px; margin-bottom: 10px; } @@ -96,6 +96,16 @@ width: 50%; } +.plan-header-right > h5 { + margin-bottom: 4px !important; +} + +.subscribe-header-sub { + margin-left: 14px; + font-size: 0.86rem; + font-weight: 300; +} + .plan-header-right-lower { display: flex; flex-direction: column;