more
This commit is contained in:
@@ -36,7 +36,6 @@ const CreateModal = ({ setShowModal, caseData }) => {
|
|||||||
const [venueArray, setVenueArray] = useState();
|
const [venueArray, setVenueArray] = useState();
|
||||||
const [newCaseId, setNewCaseId] = useState();
|
const [newCaseId, setNewCaseId] = useState();
|
||||||
const state = group?.state[0].code ? group?.state[0].code : null;
|
const state = group?.state[0].code ? group?.state[0].code : null;
|
||||||
|
|
||||||
const caseNumCopy = state === "ny" ? "Index Number" : "Case Number";
|
const caseNumCopy = state === "ny" ? "Index Number" : "Case Number";
|
||||||
const [data, setData] = useState(
|
const [data, setData] = useState(
|
||||||
getFormDataDefaults(fields, isEditing ? caseData : undefined)
|
getFormDataDefaults(fields, isEditing ? caseData : undefined)
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ const PaymentModal = ({
|
|||||||
|
|
||||||
const totalToday =
|
const totalToday =
|
||||||
planValue === "ofCounsel" ? 59 : amountToday + extraAccountsPrice;
|
planValue === "ofCounsel" ? 59 : amountToday + extraAccountsPrice;
|
||||||
|
console.log("selectedPlan in modal", selectedPlan);
|
||||||
const isCounsel = planValue === "ofCounsel" ? true : false;
|
const isCounsel = planValue === "ofCounsel" ? true : false;
|
||||||
const handleSignupClick = () => {
|
const handleSignupClick = () => {
|
||||||
//clear fields
|
//clear fields
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ const SignupPage = () => {
|
|||||||
//const [showSelectPlan, setShowSelectPlan] = useState(true);
|
//const [showSelectPlan, setShowSelectPlan] = useState(true);
|
||||||
|
|
||||||
const [activeRadioOption, setActiveRadioOption] = useState("partner");
|
const [activeRadioOption, setActiveRadioOption] = useState("partner");
|
||||||
const [selectedPlan, setSelectedPlan] = useState([signupRadioFields[1]]);
|
const [selectedPlan, setSelectedPlan] = useState([signupRadioFields[2]]);
|
||||||
const stripe = new Stripe(stripeApiKey);
|
const stripe = new Stripe(stripeApiKey);
|
||||||
const apiUrl =
|
const apiUrl =
|
||||||
process.env.NODE_ENV === "development"
|
process.env.NODE_ENV === "development"
|
||||||
@@ -109,7 +109,7 @@ const SignupPage = () => {
|
|||||||
setSelectedPlan(tempPlan);
|
setSelectedPlan(tempPlan);
|
||||||
setActiveRadioOption(tempPlan[0].value);
|
setActiveRadioOption(tempPlan[0].value);
|
||||||
};
|
};
|
||||||
|
console.log("selectedPlan in signup page", selectedPlan);
|
||||||
const handleLeftArrowClick = () => {
|
const handleLeftArrowClick = () => {
|
||||||
if (valX == 0) {
|
if (valX == 0) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user