From 2f661552161e28676b6e5d6891ad3efc0e32982a Mon Sep 17 00:00:00 2001 From: Ashley Leal Date: Thu, 22 Aug 2024 14:05:29 -0400 Subject: [PATCH] remove option to request bursary in registration --- client/src/pages/FAQ/functions.jsx | 12 ++++++------ .../pages/Registration/RegistrationFields.jsx | 18 +++++++++--------- .../pages/Registration/RegistrationForm.jsx | 5 +++-- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/client/src/pages/FAQ/functions.jsx b/client/src/pages/FAQ/functions.jsx index 6f85a97b..388c959b 100644 --- a/client/src/pages/FAQ/functions.jsx +++ b/client/src/pages/FAQ/functions.jsx @@ -38,12 +38,12 @@ export async function getQuestions(setSnackbar) { lastUpdated: '2:00 pm', category: 'General', }, - { - question: "What if I can't afford the ticket for F!rosh Week?", - answer: 'That’s okay! You can apply for a bursary when you sign up for F!rosh Week!', - lastUpdated: '12:17pm, Jun 22, 2024', - category: 'General', - }, + // { + // question: "What if I can't afford the ticket for F!rosh Week?", + // answer: 'That’s okay! You can apply for a bursary when you sign up for F!rosh Week!', + // lastUpdated: '12:17pm, Jun 22, 2024', + // category: 'General', + // }, { question: 'What should I bring on the first day?', answer: diff --git a/client/src/pages/Registration/RegistrationFields.jsx b/client/src/pages/Registration/RegistrationFields.jsx index acf5d77b..b36994bb 100644 --- a/client/src/pages/Registration/RegistrationFields.jsx +++ b/client/src/pages/Registration/RegistrationFields.jsx @@ -480,15 +480,15 @@ export const fields = { label: 'The price of one Frosh Week ticket is 130 CAD.', isBold: true, }, - bursaryRequested: { - type: 'radio', - label: 'Do you require any bursary or financial aid for your Frosh Week ticket?', - values: ['Yes', 'No'], - initialSelectedIndex: 0, - isRequiredInput: false, - noEdit: false, - localStorageKey: 'registration-bursary', - }, + // bursaryRequested: { + // type: 'radio', + // label: 'Do you require any bursary or financial aid for your Frosh Week ticket?', + // values: ['Yes', 'No'], + // initialSelectedIndex: 0, + // isRequiredInput: false, + // noEdit: false, + // localStorageKey: 'registration-bursary', + // }, marketing: { type: 'checkbox', label: 'How did you hear about F!rosh Week?', diff --git a/client/src/pages/Registration/RegistrationForm.jsx b/client/src/pages/Registration/RegistrationForm.jsx index 186ba5fd..268c9401 100644 --- a/client/src/pages/Registration/RegistrationForm.jsx +++ b/client/src/pages/Registration/RegistrationForm.jsx @@ -74,7 +74,7 @@ const PageRegistrationForm = ({ editFieldsPage, initialValues, onEditSubmit }) = // } else if (convertedFroshObject.summerLocationQuery === 'No') { // convertedFroshObject.summerLocationQuery = false; // } - + let formData = new FormData(); for (const [key, value] of Object.entries(froshObject)) { if (value === undefined) continue; @@ -462,7 +462,8 @@ const PageRegistrationForm = ({ editFieldsPage, initialValues, onEditSubmit }) = Note: We will be making bursary decisions after Frosh week and will refund the amount to the students after the decisions. Our team will reach out to you for more details regarding the bursary program. Bursaries range from - partial to complete settlement of the ticket price. + partial to complete settlement of the ticket price. Bursary applications are + now closed.

),