@@ -14,7 +14,7 @@ import { PiSparkleThin } from "react-icons/pi";
14
14
import { FiLoader } from "react-icons/fi" ;
15
15
16
16
import { TfiMoney } from "react-icons/tfi" ;
17
-
17
+ import upi from "../assets/upi.jpeg"
18
18
// -----------------------------------
19
19
20
20
import { useAuth } from "../contexts/AuthContext" ;
@@ -64,6 +64,9 @@ export default function EventRegister() {
64
64
const slot = useRef ( ) ;
65
65
const section = useRef ( ) ;
66
66
const num = useRef ( ) ;
67
+ const upiID = useRef ( )
68
+ const tnsID = useRef ( )
69
+ const utrNo = useRef ( )
67
70
68
71
const registerForEvent = ( ) => {
69
72
if ( ! USER_PRESENT ( ) ) return ;
@@ -86,6 +89,9 @@ export default function EventRegister() {
86
89
? dept . current . value
87
90
: otherDept ?. current ?. value ,
88
91
num : num . current . value ,
92
+ upiID : upiID . current . value ,
93
+ tnsID : tnsID . current . value ,
94
+ utrNo : utrNo . current . value
89
95
}
90
96
// { headers: { Authorization: currentUser.getIdToken() } }
91
97
)
@@ -407,7 +413,7 @@ export default function EventRegister() {
407
413
Entry Fee
408
414
</ div >
409
415
< div className = "content" >
410
- Free
416
+ 200/-
411
417
</ div >
412
418
</ div >
413
419
</ div >
@@ -735,6 +741,36 @@ export default function EventRegister() {
735
741
ref = { num }
736
742
/>
737
743
</ div >
744
+ < div className = "row" >
745
+ < label for = "num" > Payment *</ label >
746
+ < img src = { upi } alt = "Upi scanner" style = { { width : '40%' , marginLeft : "30%" } } />
747
+ < p style = { { marginLeft : "35%" } } > Registration fee 200/-</ p >
748
+ </ div >
749
+ < div className = "row" >
750
+ < label htmlFor = "" > Your UPI ID *</ label >
751
+ < input type = "text" required autoComplete = "off" ref = { upiID } />
752
+ < span className = "kluMailReminder" style = { { margin : "0px" , marginTop : "1%" , color : "black" } } >
753
+ < CiCircleInfo size = { "15px" } />
754
+ < span className = "text" >
755
+ Ensure that you have entered your UPI ID.
756
+ </ span >
757
+ </ span >
758
+ </ div >
759
+ < div className = "row" >
760
+ < label htmlFor = "" > Transaction ID *</ label >
761
+ < input type = "text"
762
+ required
763
+ ref = { tnsID }
764
+ autoComplete = "off" />
765
+ </ div >
766
+ < div className = "row" >
767
+ < label htmlFor = "" > UTR No *</ label >
768
+ < input type = "text"
769
+ required
770
+ ref = { utrNo }
771
+ autoComplete = "off" />
772
+ </ div >
773
+
738
774
< div className = "row" >
739
775
< button >
740
776
{ eventRegisteringInProgress
0 commit comments