diff --git a/components/Utils/matrixUtils.ts b/components/Utils/matrixUtils.ts index c8d2c71d..b83f4f15 100644 --- a/components/Utils/matrixUtils.ts +++ b/components/Utils/matrixUtils.ts @@ -31,12 +31,12 @@ export const BranchesExpanded = [ "EE", "MSE", "ME", - "CH", + "CHM", "ECO", "ES", "MTH", "SDS", - "Ph", + "PHY", "CGS", "DES", "MS", @@ -59,12 +59,12 @@ export const Branches = [ "Electrical Engineering (EE)", "Material Science and Engineering (MSE)", "Mechanical Engineering (ME)", - "Chemistry (CH)", + "Chemistry (CHM)", "Economics (ECO)", "Earth Sciences (ES)", "Mathematics and Scientific Computing (MTH)", "Statistics and Data Science (SDS)", - "Physics (Ph)", + "Physics (PHY)", "Cognitive Science (CGS)", "Design (DES)", "Management Studies (MS)", @@ -206,7 +206,7 @@ export const func = { MSc: -1, MSR: 90, }, - "Chemistry (CH)": { + "Chemistry (CHM)": { BT: -1, BS: 9, MT: -1, @@ -276,7 +276,7 @@ export const func = { MSc: -1, MSR: -1, }, - "Physics (Ph)": { + "Physics (PHY)": { BT: -1, BS: 13, MT: -1, @@ -559,7 +559,7 @@ export const funcExpanded = { MSc: -1, MSR: 90, }, - CH: { + CHM: { BT: -1, BS: 9, MT: -1, @@ -629,7 +629,7 @@ export const funcExpanded = { MSc: -1, MSR: -1, }, - Ph: { + PHY: { BT: -1, BS: 13, MT: -1, diff --git a/pages/company/rc/[rcid]/proforma/[proformaid]/step6.tsx b/pages/company/rc/[rcid]/proforma/[proformaid]/step6.tsx index 9e88aad6..e7523743 100644 --- a/pages/company/rc/[rcid]/proforma/[proformaid]/step6.tsx +++ b/pages/company/rc/[rcid]/proforma/[proformaid]/step6.tsx @@ -2,9 +2,13 @@ import { Autocomplete, Button, Card, + Checkbox, FormControl, + FormControlLabel, + Link, Stack, TextField, + Typography, } from "@mui/material"; import React, { useEffect, useState } from "react"; import { useRouter } from "next/router"; @@ -35,6 +39,8 @@ function Step5() { } = useForm({ defaultValues: fetchData, }); + const [isCheckboxChecked, setIsCheckboxChecked] = useState(false); + const handleNext = async (data: ProformaType) => { const info = { ...data, @@ -53,6 +59,11 @@ function Step5() { }); } }; + + const handleCheckboxChange = (event: React.ChangeEvent) => { + setIsCheckboxChecked(event.target.checked); + }; + useEffect(() => { if (!(rid && pid)) return; const getStep5 = async () => { @@ -144,6 +155,33 @@ function Step5() { /> + + + } + label={ + + Accept the terms given in{" "} + + AIPC Guidelines + + . + + } + /> + + Submit @@ -167,6 +205,7 @@ function Step5() { message_for_cordinator: "", active_hr: "", }); + setIsCheckboxChecked(false); }} > Reset