Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit ad623cf

Browse files
committed
Add server tokens and shift enq to reg
1 parent cfcc6ff commit ad623cf

File tree

3 files changed

+5
-23
lines changed

3 files changed

+5
-23
lines changed

src/views/pages/Course/ApplyModal.js

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default function ApplyModal({ batch, fullWidth = false, ...rest }) {
8383
.then(response => {
8484
setSubmitting(0);
8585
handleClose();
86-
enqueueSnackbar('Application Submitted Successfully');
86+
enqueueSnackbar('Redirecting to payment page.');
8787
stripePromise.then(stripe => {
8888
stripe
8989
.redirectToCheckout({
@@ -116,7 +116,7 @@ export default function ApplyModal({ batch, fullWidth = false, ...rest }) {
116116
{...rest}
117117
fullWidth={fullWidth}
118118
>
119-
Enquire Now
119+
Register Now
120120
</Button>
121121
<Dialog
122122
fullWidth
@@ -125,7 +125,7 @@ export default function ApplyModal({ batch, fullWidth = false, ...rest }) {
125125
aria-labelledby="form-dialog-title"
126126
>
127127
<DialogTitle id="form-dialog-title">
128-
Enquire for Course Enrollment
128+
Register for Course Enrollment
129129
</DialogTitle>
130130
<DialogContent>
131131
<DialogContentText>
@@ -256,17 +256,6 @@ export default function ApplyModal({ batch, fullWidth = false, ...rest }) {
256256
errorMessages={[]}
257257
/>
258258

259-
<TextValidator
260-
key="refId"
261-
className={classes.textField}
262-
label="Referral ID"
263-
variant="outlined"
264-
value={formData.refId}
265-
fullWidth
266-
name="refId"
267-
onChange={handleChange}
268-
/>
269-
270259
{submitting === 0 ? (
271260
<Button type="submit" variant="contained" color="secondary">
272261
Submit

src/views/pages/Course/Process.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function Process({ benefits, className, ...rest }) {
2626
align="center"
2727
gutterBottom
2828
>
29-
Offering 50% Scholarship On this Batch
29+
Offering 50% Flat Discount On this Batch
3030
</Typography>
3131

3232
{/* <Typography

src/views/pages/Course/Schedule.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function LimitedTimeBookNow() {
304304
}}
305305
>
306306
<Typography variant="h2" color="secondary" style={{ marginTop: '80px' }}>
307-
Book your Seats by Paying just ₹ 1000/-{' '}
307+
Book your Seat Now-{' '}
308308
</Typography>
309309
<Typography
310310
variant="h3"
@@ -313,13 +313,6 @@ function LimitedTimeBookNow() {
313313
>
314314
Limited Seats Hurry!
315315
</Typography>
316-
<Typography
317-
variant="h6"
318-
color="secondary"
319-
style={{ fontWeight: 600, marginBottom: '30px' }}
320-
>
321-
Terms & Conditions Apply
322-
</Typography>
323316
</div>
324317
);
325318
}

0 commit comments

Comments
 (0)