@@ -8,16 +8,16 @@ import { TextField } from "@mui/material";
8
8
import { useForm } from "react-hook-form" ;
9
9
import FormControl from "@mui/material/FormControl" ;
10
10
import MenuItem from "@mui/material/MenuItem" ;
11
- import TemplateOne from "./../assets/certificate-sample/two_signature.webp" ;
12
- import TemplateTwo from "./../assets/certificate-sample/three_signature.webp" ;
13
- import TemplateThree from "./../assets/certificate-sample/four_signature.webp" ;
14
- import ImageIcon from "./../assets/image_icon.webp" ;
11
+ import TemplateOne from "./../../ assets/certificate-sample/two_signature.webp" ;
12
+ import TemplateTwo from "./../../ assets/certificate-sample/three_signature.webp" ;
13
+ import TemplateThree from "./../../ assets/certificate-sample/four_signature.webp" ;
14
+ import ImageIcon from "./../../ assets/image_icon.webp" ;
15
15
import CircularProgress from "@mui/material/CircularProgress" ;
16
16
import { useDispatch , useSelector } from "react-redux" ;
17
- import { createSession } from "../redux/slice/session/createSession" ;
18
- import { getUserDatafromToken } from "../utils/extractJWT" ;
17
+ import { createSession } from "../../ redux/slice/session/createSession" ;
18
+ import { getUserDatafromToken } from "../../ utils/extractJWT" ;
19
19
20
- const GetStarted = ( { openModal, closeModal } ) => {
20
+ const SPITICFormat = ( { openModal, closeModal } ) => {
21
21
const dispatch = useDispatch ( ) ;
22
22
const SessionStatus = useSelector ( ( state ) => state . createSession ?. status ) ;
23
23
const [ complete , setComplete ] = useState ( "idle" ) ;
@@ -48,7 +48,7 @@ const GetStarted = ({ openModal, closeModal }) => {
48
48
section : values . section ,
49
49
quarter : values . quarter ,
50
50
dateToPresent : values . date_to_present ,
51
- schoolName : values . school_name ,
51
+ designationPlace : values . designation_place ,
52
52
signatoryName1 :
53
53
watch ( "signatory_name1" ) === "" ||
54
54
watch ( "signatory_name1" ) === undefined
@@ -212,7 +212,7 @@ const GetStarted = ({ openModal, closeModal }) => {
212
212
< div className = "flex flex-col w-full" >
213
213
< section className = "flex flex-wrap gap-2 w-full h-full justify-center" >
214
214
< button
215
- className = "relative bg-[#ED6559] w-[48%] h-[170px] flex flex-col justify-end cursor-pointer rounded-[10px] p-2"
215
+ className = "relative bg-[#ED6559] w-[48%] h-[170px] flex flex-col justify-end cursor-pointer rounded-[10px] p-2 button-9 "
216
216
onClick = { ( ) => {
217
217
pathHandler ( "path2" ) ;
218
218
setModalName ( "TEMPLATE FORMAT" ) ;
@@ -225,7 +225,7 @@ const GetStarted = ({ openModal, closeModal }) => {
225
225
</ p >
226
226
</ button >
227
227
< button
228
- className = "relative bg-[#5AC648] w-[48%] h-[170px] flex flex-col justify-end cursor-pointer rounded-[10px] p-2"
228
+ className = "relative bg-[#5AC648] w-[48%] h-[170px] flex flex-col justify-end cursor-pointer rounded-[10px] p-2 button-9 "
229
229
// onClick={() => {
230
230
// // pathHandler("path2");
231
231
// // setModalName("TEMPLATE FORMAT");
@@ -238,7 +238,7 @@ const GetStarted = ({ openModal, closeModal }) => {
238
238
</ p >
239
239
</ button >
240
240
< button
241
- className = "relative bg-[#a057ff] w-[48%] h-[170px] flex flex-col justify-end cursor-pointer rounded-[10px] p-2"
241
+ className = "relative bg-[#a057ff] w-[48%] h-[170px] flex flex-col justify-end cursor-pointer rounded-[10px] p-2 button-9 "
242
242
// onClick={() => {
243
243
// // pathHandler("path2");
244
244
// // setModalName("TEMPLATE FORMAT");
@@ -251,7 +251,7 @@ const GetStarted = ({ openModal, closeModal }) => {
251
251
</ p >
252
252
</ button >
253
253
< button
254
- className = "relative bg-[#F5D45E] w-[48%] h-[170px] flex flex-col justify-end cursor-pointer rounded-[10px] p-2"
254
+ className = "relative bg-[#F5D45E] w-[48%] h-[170px] flex flex-col justify-end cursor-pointer rounded-[10px] p-2 button-9 "
255
255
// onClick={() => {
256
256
// // pathHandler("path2");
257
257
// // setModalName("TEMPLATE FORMAT");
@@ -332,7 +332,7 @@ const GetStarted = ({ openModal, closeModal }) => {
332
332
FOUR SIGNATURE
333
333
</ p >
334
334
</ div >
335
- < div className = "flex flex-row justify-end mt-2 mb-[-1rem]" >
335
+ < div className = "flex flex-row justify-end mt-2 mb-[-1rem] z-10 " >
336
336
< button
337
337
className = "py-2 bg-[#F5D45E] w-[150px] text-white font-bold rounded-md"
338
338
type = "submit"
@@ -572,13 +572,29 @@ const GetStarted = ({ openModal, closeModal }) => {
572
572
3rd Quarter
573
573
</ MenuItem >
574
574
< MenuItem
575
- value = "2th Quarter"
575
+ value = "4th Quarter"
576
576
onClick = { ( ) => {
577
577
setQuarter ( false ) ;
578
578
} }
579
579
>
580
580
4th Quarter
581
581
</ MenuItem >
582
+ < MenuItem
583
+ value = "1st Semester"
584
+ onClick = { ( ) => {
585
+ setQuarter ( false ) ;
586
+ } }
587
+ >
588
+ 1st Semester
589
+ </ MenuItem >
590
+ < MenuItem
591
+ value = "2nd Semester"
592
+ onClick = { ( ) => {
593
+ setQuarter ( false ) ;
594
+ } }
595
+ >
596
+ 2nd Semester
597
+ </ MenuItem >
582
598
</ TextField >
583
599
{ errors . quarter && (
584
600
< p className = "ml-1 mt-1 text-[13px] text-red-500 mb-[-1.5rem]" >
@@ -616,23 +632,23 @@ const GetStarted = ({ openModal, closeModal }) => {
616
632
</ div >
617
633
< div className = "mb-3 w-full" >
618
634
< TextField
619
- label = "School Name "
635
+ label = "Designating place for the award ceremony "
620
636
variant = "outlined"
621
- name = "school_name "
637
+ name = "designation_place "
622
638
className = "w-full"
623
- error = { errors . school_name ? true : false }
639
+ error = { errors . designation_place ? true : false }
624
640
inputProps = { {
625
641
style : {
626
642
height : "14px" ,
627
643
} ,
628
644
} }
629
- { ...register ( "school_name " , {
645
+ { ...register ( "designation_place " , {
630
646
required : "This is required." ,
631
647
} ) }
632
648
/>
633
- { errors . school_name && (
649
+ { errors . designation_place && (
634
650
< p className = "ml-1 mt-1 text-[13px] text-red-500 mb-[-0.2rem]" >
635
- { errors . school_name . message }
651
+ { errors . designation_place . message }
636
652
</ p >
637
653
) }
638
654
</ div >
@@ -1514,4 +1530,4 @@ const GetStarted = ({ openModal, closeModal }) => {
1514
1530
) ;
1515
1531
} ;
1516
1532
1517
- export default GetStarted ;
1533
+ export default SPITICFormat ;
0 commit comments