diff --git a/components/Utils/matrixUtils.ts b/components/Utils/matrixUtils.ts
index 83875fe4..c4e2b9e8 100644
--- a/components/Utils/matrixUtils.ts
+++ b/components/Utils/matrixUtils.ts
@@ -293,7 +293,7 @@ export const func = {
"Cognitive Science (CGS)": {
BT: -1,
BS: -1,
- MT: -1,
+ MT: 117,
DoubleMajor: -1,
DualA: -1,
DualB: -1,
diff --git a/pages/admin/rc/[rcid]/proforma/[proformaid]/view.tsx b/pages/admin/rc/[rcid]/proforma/[proformaid]/view.tsx
index 249c892f..cd65c7be 100644
--- a/pages/admin/rc/[rcid]/proforma/[proformaid]/view.tsx
+++ b/pages/admin/rc/[rcid]/proforma/[proformaid]/view.tsx
@@ -711,6 +711,19 @@ function View() {
/>
)}
+
+ CPI Criteria
+
+
Preferred period of Internship
View Student Uploaded PVF
-
+ */}
{/* removed for now */}
diff --git a/pages/student/rc/[rcid]/proforma/[proformaId]/index.tsx b/pages/student/rc/[rcid]/proforma/[proformaId]/index.tsx
index 7d6bd034..5d5f21c7 100644
--- a/pages/student/rc/[rcid]/proforma/[proformaId]/index.tsx
+++ b/pages/student/rc/[rcid]/proforma/[proformaId]/index.tsx
@@ -105,7 +105,7 @@ function Index() {
/>
- Tentative Job Location
+ Tentative Job Location/Online
+
+ Required Skill Set
+
+
+
+ Accomodation Provided / Trip Fare
+
+
+
+ Preferred Period of Internship
+
+
+
+ Stipend (INR)
+
+
+
+ Stipend (Foreign Currency)
+
+
Job Description
{isFetched && }
- Cost to Company
+ Tentative CTC for PPO
{isFetched && }
- Package Details
+ PPO provision on performance
{isFetched && }
diff --git a/pages/student/rc/[rcid]/pvf/[pvfid]/index.tsx b/pages/student/rc/[rcid]/pvf/[pvfid]/index.tsx
index d5e15674..e2c4f1ea 100644
--- a/pages/student/rc/[rcid]/pvf/[pvfid]/index.tsx
+++ b/pages/student/rc/[rcid]/pvf/[pvfid]/index.tsx
@@ -187,7 +187,7 @@ function View() {
View Student Uploaded PVF
-
+ */}
{/* removed for now */}
{/*
diff --git a/pages/verify.tsx b/pages/verify.tsx
index b35cbb52..b09db9cc 100644
--- a/pages/verify.tsx
+++ b/pages/verify.tsx
@@ -2,7 +2,7 @@ import {
Box,
Button,
Card,
- CircularProgress,
+ // CircularProgress,
FormControl,
Grid,
Modal,
@@ -12,25 +12,26 @@ import {
} from "@mui/material";
import React, { useEffect, useState } from "react";
import { useRouter } from "next/router";
-import { green } from "@mui/material/colors";
-import CheckIcon from "@mui/icons-material/Check";
-import SaveIcon from "@mui/icons-material/Save";
+// import { green } from "@mui/material/colors";
+// import CheckIcon from "@mui/icons-material/Check";
+// import SaveIcon from "@mui/icons-material/Save";
import CloudDownloadIcon from "@mui/icons-material/CloudDownload";
-import styled from "@emotion/styled";
+// import styled from "@emotion/styled";
import Meta from "@components/Meta";
import { PvfsParams } from "@callbacks/student/rc/pvf";
import ActiveButton from "@components/Buttons/ActiveButton";
import InactiveButton from "@components/Buttons/InactiveButton";
-import { errorNotification } from "@callbacks/notifcation";
+// import { errorNotification } from "@callbacks/notifcation";
import { CDN_URL } from "@callbacks/constants";
import pvfVerificationRequest from "@callbacks/Verification/[rcid]/verify";
import Custom404 from "./404";
-const Input = styled("input")({
- display: "none",
-});
+// removed for now
+// const Input = styled("input")({
+// display: "none",
+// });
const textFieldColor = "#ff0000";
const textFieldSX = {
input: {
@@ -55,26 +56,28 @@ const boxStyle = {
const getURL = (url: string) => `${CDN_URL}/view/${url}`;
function Verify() {
- const [loading, setLoading] = useState(true);
+ // removed for now
+ // const [loading, setLoading] = useState(true);
+ // const [pvfName, setPvfName] = useState("");
+ // const [success, setSuccess] = useState(false);
+
const [openApprove, setOpenApprove] = useState(false);
const [openDeny, setOpenDeny] = useState(false);
const router = useRouter();
- const [pvfName, setPvfName] = useState("");
const { rcid, token } = router.query;
const rid = (rcid || "").toString();
const urlToken = (token || "").toString();
const [fileSaved, setFileSaved] = useState(null);
- const [success, setSuccess] = useState(false);
const [isVerified, setIsVerifed] = useState();
const [remark, setRemark] = useState("");
const [row, setRow] = useState();
- const transformName = (name: string) => {
- const nname = name.replace(`${CDN_URL}/view/`, "");
- const nameArray = nname.split(".");
- const newName = nameArray[0].slice(14, -33);
- const newNameWithExtension = `${newName}.${nameArray[1]}`;
- return newNameWithExtension;
- };
+ // const transformName = (name: string) => {
+ // const nname = name.replace(`${CDN_URL}/view/`, "");
+ // const nameArray = nname.split(".");
+ // const newName = nameArray[0].slice(14, -33);
+ // const newNameWithExtension = `${newName}.${nameArray[1]}`;
+ // return newNameWithExtension;
+ // };
useEffect(() => {
const getProforma = async () => {
@@ -85,9 +88,9 @@ function Verify() {
setRow(res);
if (res.is_verified) {
setIsVerifed(res.is_verified.Valid);
- setPvfName(transformName(res.filename_student));
+ // setPvfName(transformName(res.filename_student));
}
- setLoading(false);
+ // setLoading(false);
}
};
getProforma();
@@ -119,63 +122,65 @@ function Verify() {
setFileSaved(null);
router.push("/login");
};
- const buttonSx = {
- ...(success && {
- bgcolor: green[500],
- "&:hover": {
- bgcolor: green[700],
- },
- }),
- height: 60,
- width: "100%",
- };
-
- const handleButtonClick = () => {
- if (!loading) {
- setSuccess(false);
- setLoading(true);
- }
- };
+ // removed for now
+ // const buttonSx = {
+ // ...(success && {
+ // bgcolor: green[500],
+ // "&:hover": {
+ // bgcolor: green[700],
+ // },
+ // }),
+ // height: 60,
+ // width: "100%",
+ // };
- const handleChange = (event: React.ChangeEvent) => {
- const { files } = event.target;
+ // removed for now
+ // const handleButtonClick = () => {
+ // if (!loading) {
+ // setSuccess(false);
+ // setLoading(true);
+ // }
+ // };
+ // removed for now
+ // const handleChange = (event: React.ChangeEvent) => {
+ // const { files } = event.target;
- // if (
- // allPvf.filter(
- // (pvf) => !(pvf.verified.Valid && !pvf.verified.Bool)
- // ).length >= 5
- // ) {
- // errorNotification("You can only upload 5 pvf", "Cannot upload");
- // setLoading(false);
- // return;
- // }
+ // // if (
+ // // allPvf.filter(
+ // // (pvf) => !(pvf.verified.Valid && !pvf.verified.Bool)
+ // // ).length >= 5
+ // // ) {
+ // // errorNotification("You can only upload 5 pvf", "Cannot upload");
+ // // setLoading(false);
+ // // return;
+ // // }
- if (!(files && files.length > 0)) {
- setLoading(false);
- return;
- }
+ // if (!(files && files.length > 0)) {
+ // setLoading(false);
+ // return;
+ // }
- const file = files[0];
+ // const file = files[0];
- if (file.size > 1280000) {
- errorNotification("File size too large", "Max file size is about 1MB");
- setLoading(false);
- return;
- }
+ // if (file.size > 1280000) {
+ // errorNotification("File size too large", "Max file size is about 1MB");
+ // setLoading(false);
+ // return;
+ // }
- if (file.name !== pvfName) {
- errorNotification(
- "File must follow the name constraint",
- `Expected File name: ${pvfName}`
- );
- setLoading(false);
- return;
- }
+ // if (file.name !== pvfName) {
+ // errorNotification(
+ // "File must follow the name constraint",
+ // `Expected File name: ${pvfName}`
+ // );
+ // setLoading(false);
+ // return;
+ // }
- setFileSaved(file);
- setSuccess(true);
- setLoading(false);
- };
+ // setFileSaved(file);
+ // setSuccess(true);
+ // setLoading(false);
+ // };
let content;
if (!isVerified) {
@@ -299,7 +304,7 @@ function Verify() {
View Student Uploaded PVF
-
+ {/*
-
+ */}