Skip to content

Commit

Permalink
Added job description to admin side and removed cpi from student prof…
Browse files Browse the repository at this point in the history
…orma
  • Loading branch information
Abhimanyu-dev committed Sep 14, 2024
1 parent 8e76f1b commit a655c0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 27 deletions.
8 changes: 7 additions & 1 deletion pages/admin/rc/[rcid]/proforma/[proformaid]/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,12 @@ function View() {
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={12} key="jd">
<h4>Job Description</h4>
{isFetched && (
<RichText onChange={setJd} readOnly value={jd} />
)}
</Grid>
</Grid>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12} md={12} key="pd" padding={0}>
Expand Down Expand Up @@ -763,7 +769,7 @@ function View() {
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={12} key="ctc">
<Grid item xs={12} md={12} key="jd">
<h4>Job Description</h4>
{isFetched && (
<RichText onChange={setJd} readOnly value={jd} />
Expand Down
26 changes: 0 additions & 26 deletions pages/student/rc/[rcid]/proforma/[proformaId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,6 @@ function Index() {
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={6} key="cpi_criteria">
<h3>CPI Criteria</h3>
<TextField
multiline
fullWidth
minRows={4}
value={row.cpi_criteria}
InputProps={{
readOnly: true,
}}
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={6} key="tjobloc">
<h3>Tentative Job Location/Online</h3>
<TextField
Expand Down Expand Up @@ -331,19 +318,6 @@ function Index() {
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={6} key="cpi_criteria">
<h3>CPI Criteria</h3>
<TextField
multiline
fullWidth
minRows={4}
value={row.cpi_criteria}
InputProps={{
readOnly: true,
}}
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={6} key="tjobloc">
<h3>Tentative Job Location/Online</h3>
<TextField
Expand Down

0 comments on commit a655c0b

Please sign in to comment.