-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinquirypositivePay.html
More file actions
855 lines (695 loc) · 39.1 KB
/
inquirypositivePay.html
File metadata and controls
855 lines (695 loc) · 39.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap 5.0 -->
<link rel="stylesheet" href="/css/bootstrap.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css">
<!-- Style-Puvan -->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<!-- Fonts -->
<link href="http://fonts.cdnfonts.com/css/gilroy-bold" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;500;700&display=swap" rel="stylesheet" />
<!-- Font Awesome -->
<link rel="stylesheet" href="/fontawesome/css/all.css">
<!-- FlatPickr CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
<!-- Sweet Alert -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="sweetalert2.all.min.js"></script>
<title>Inquire Positive Pay</title>
<style>
/* success */
.checkmark__circle {
stroke-dasharray: 166;
stroke-dashoffset: 166;
stroke-width: 2;
stroke-miterlimit: 10;
stroke: #7ac142;
fill: none;
animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}
.checkmark {
width: 56px;
height: 56px;
border-radius: 50%;
display: block;
stroke-width: 2;
stroke: #fff;
stroke-miterlimit: 10;
margin: 10% auto;
box-shadow: inset 0px 0px 0px #7ac142;
animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}
.checkmark__check {
transform-origin: 50% 50%;
stroke-dasharray: 48;
stroke-dashoffset: 48;
animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}
@keyframes stroke {
100% {
stroke-dashoffset: 0
}
}
@keyframes scale {
0%,
100% {
transform: none
}
50% {
transform: scale3d(1.1, 1.1, 1)
}
}
@keyframes fill {
100% {
box-shadow: inset 0px 0px 0px 30px #7ac142
}
}
/* failed */
.failedmark {
width: 56px;
height: 56px;
border-radius: 50%;
display: block;
stroke-width: 2;
stroke: #fff;
stroke-miterlimit: 10;
box-shadow: inset 0px 0px 0px #ff0000;
animation: fill2 .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}
.failedmark_circle {
stroke-dasharray: 166;
stroke-dashoffset: 166;
stroke-width: 2;
stroke-miterlimit: 10;
stroke: #ff0000;
fill: none;
animation: stroke2 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}
.failedmark_check {
transform-origin: 50% 50%;
stroke-dasharray: 48;
stroke-dashoffset: 48;
animation: stroke2 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}
@keyframes stroke2 {
100% {
stroke-dashoffset: 0
}
}
@keyframes scale {
0%,
100% {
transform: none
}
50% {
transform: scale3d(1.1, 1.1, 1)
}
}
@keyframes fill2 {
100% {
box-shadow: inset 0px 0px 0px 30px #ff0000
}
}
</style>
</head>
<body>
<div class="container gx-1 gx-lg-0 mt-3 mt-lg-5 my-auto">
<div class="row mt-2 justify-content-center">
<div class="col-lg-10">
<div class="row justify-content-center ">
<div class="col-12 col-lg-5 text-center">
<img class="mb-3 img-fluid " style="width:300px; margin-top:-3rem"
src="~/Images/WebDecoratives/Work risk-free.svg" />
<h3>Inquire Positive Pay</h3>
<p>
Inquire or delete a cheque that you had previously submitted to positive pay.
</p>
</div>
<!-- 1st page -->
<div id="firstPage" class="col-12 col-lg-8 ">
<div class="row mb-2">
<label for="tranAmount" class="col-sm-12 col-form-label">Select your account</label>
<div class="col-sm-12 mb-2">
<select class="form-select" aria-label="Default select example">
<option selected>Please select</option>
<option value="">4000151818158236</option>
<option value="">9577445338254589</option>
<option value="">1235489818021458</option>
<option value="">1235489158236111</option>
<option value="">4533825382544453</option>
<option value="">7445338254553684</option>
<option value="">0248891234486685</option>
</select>
</div>
</div>
<div class="row mb-2">
<label for="tranAmount" class="col-sm-12 col-form-label">Cheque Number</label>
<div class="col-sm-12 mb-2">
<input type="text" class="form-control" id="paymentTypeCon">
</div>
<div class="row my-5 last-row">
<div class="col-12">
<a class="btn btn-dark float-start" href="@Url.Action(" CardSettings", "Home" )">
Back
</a>
<a id="firstNext" class="btn btn-primary float-end"> Next </a>
</div>
</div>
</div>
</div>
<!-- 2nd page -->
<div hidden id="secondPage" class="col-12 col-lg-8 mt-3 px-5">
<div class="row mt-2">
<div class="row">
<div class="col-12">
<h2>Delete Positive Pay</h2>
</div>
</div>
<div class="col-12">
<div class="row mb-0">
<label for="paymentType" class="col-sm-12 col-form-label">Inquiry/Delete
Positive
Pay</label>
</div>
</div>
</div>
<div class="row justify-content-center mt-4">
<div class="col-12">
<table id="CASA"
class="table table-borderless table-hover p-lg-2 p-0 shadow-sm rounded-8 bg-white"
style="width:100%">
<thead class="bg-dark text-white rounded-8">
<tr style="text-align:center">
<th class="small">Delete</th>
<th class="small">Status</th>
<th class="small">PayTo</th>
<th class="small">Amount(RM)</th>
<th class="small">Date of Cheque</th>
<th class="small">Date of Cheque Cleared</th>
</tr>
</thead>
<tbody>
<tr style="text-align:center">
<td>
<input class="form-check-input" type="radio" name="flexRadioDefault"
id="flexRadioDefault1">
</td>
<td class="title">Stale</td>
<td class="title">test</td>
<td class="text-danger">1000000.00</td>
<td class="title">01-01-2021</td>
<td class="title">N/A</td>
</tr>
<tr style="text-align:center">
<td>
<input class="form-check-input" type="radio" name="flexRadioDefault"
id="flexRadioDefault1">
</td>
<td class="title">Stale</td>
<td class="title">test</td>
<td class="text-danger">1000000.00</td>
<td class="title">01-01-2021</td>
<td class="title">N/A</td>
</tr>
<tr style="text-align:center">
<td>
<input class="form-check-input" type="radio" name="flexRadioDefault"
id="flexRadioDefault1">
</td>
<td class="title">Stale</td>
<td class="title">test</td>
<td class="text-danger">1000000.00</td>
<td class="title">01-01-2021</td>
<td class="title">N/A</td>
</tr>
<tr style="text-align:center">
<td>
<input class="form-check-input" type="radio" name="flexRadioDefault"
id="flexRadioDefault1">
</td>
<td class="title">Stale</td>
<td class="title">test</td>
<td class="text-danger">1000000.00</td>
<td class="title">01-01-2021</td>
<td class="title">N/A</td>
</tr>
</tbody>
</table>
<div class="row my-5 last-row">
<div class="col-12">
<a class="btn btn-dark float-start" href="@Url.Action(" CardSettings", "Home"
)"> Back
</a>
<a id="btnDel" class="btn btn-primary float-end"> Delete </a>
</div>
</div>
</div>
</div>
</div>
<!-- 3rd page -->
<div hidden id="thirdPage" class="col-12 col-lg-8 mt-3 px-5">
<h3>Confirm Deletion</h3>
<div class="row mb-2">
<label class="col-sm-12 col-form-label">Account Number</label>
<div class="info col-sm-12 my-1">
<input type="text" disabled class="form-control mb-2" placeholder="Address 1"
value="3213256456465">
</div>
</div>
<div class="row mb-2">
<label class="col-sm-12 col-form-label">Name</label>
<div class="info col-sm-12 my-1">
<input type="text" disabled class="form-control mb-2" placeholder="Address 1"
value="Kwek Kian Sheng">
</div>
</div>
<div class="row mb-2">
<label class="col-sm-12 col-form-label">Cheque No</label>
<div class="info col-sm-12 my-1">
<input type="text" disabled class="form-control mb-2" placeholder="Address 1"
value="3213256456465">
</div>
</div>
<div class="row mb-2">
<label class="col-sm-12 col-form-label">Pay to</label>
<div class="info col-sm-12 my-1">
<input type="text" disabled class="form-control mb-2" placeholder="Address 1"
value="Kwek Kian Sheng">
</div>
</div>
<div class="row mb-2">
<label class="col-sm-12 col-form-label">Amount</label>
<div class="info col-sm-12 my-1">
<input type="text" disabled class="form-control mb-2" placeholder="Address 1"
value="3213256456465">
</div>
</div>
<div class="row mb-2">
<label class="col-sm-12 col-form-label">Date</label>
<div class="info col-sm-12 my-1">
<input type="text" disabled class="form-control mb-2" placeholder="Address 1"
value="Kwek Kian Sheng">
</div>
</div>
<div class="row mb-2">
<label for="auth" class="col-sm-3 col-form-label">Approve this transacion with</label>
<div class="col-sm-9">
<select class="form-select" aria-label="Default select example" id="auth">
<option value="pac">PAC</option>
<option value="token">Hard Token</option>
<option value="secure">Secured SignIn</option>
<option value="noti">Push Notification</option>
</select>
</div>
</div>
<div class="row mb-2" id="PAC">
<label for="PAC" class="col-sm-3 col-form-label"> <img src="/picture/otp.png" alt=""
width="100" height="100"></label>
<div class="col-sm-6">
<input type="text" class="form-control" id="PAC">
<p class="text-muted">A 6 digit PAC will be sent to your registered mobile phone
number
***6168. Please click "Request PAC" if you wish to proceed</p>
</div>
<div class="col-sm-3 text-end text-lg-center mt-0 mt-lg-0">
<a class="btn btn-info pac text-white float-lg-end">Request PAC</a>
</div>
</div>
<div class="row mb-2 d-none" id="token">
<label for="hToken" class="col-sm-3 col-form-label"><img src="/picture/securesigntoken.png"
alt="" width="90" height="120"></label>
<div class="col-sm-9">
<p class="text-muted">Switch on your SecureSign token and follow the instrution
below to
generate on your SecureSign Code.</p>
<ol>
<li>Press "sign" button. You will see a '1' display on the screen.</li>
<li>Enter xxxxx and press 'OK'.</li>
<li>You will see a '2" dispaly on screen.</li>
<li>Enter xxxx and press 'OK.'</li>
<li>The SecureSign will be displayed on screen.</li>
</ol>
<input type="text" class="form-control" id="hToken"
placeholder="Enter your SecureSign Code">
</div>
</div>
<div class="row mb-2 d-none" id="noti">
<label for="notification" class="col-sm-3 col-form-label"><img src="/picture/success.png"
alt="" width="90" height="90"></label>
<div class="col-sm-6">
<p>A push notification will be sent to your mobile phone. Please verify the details
at
your PB SecureSign screen before approving transaction.</p>
</div>
<div class="col-sm-3">
<a class="btn btn-info pac text-white float-lg-end" data-bs-toggle="modal"
data-bs-target="#staticBackdrop">Push Notification</a>
<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static"
data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">PB SecureSign</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 d-flex justify-content-center">
<img src="/picture/animation_500_kugn1p08.gif" alt=""
width="300" height="300">
</div>
<div class="col-sm-12">
<p>Please check your mobile device (Iphone12) for a push
notification to approve the transacion</p>
</div>
<div class="col-sm-12">
<div class="progress">
<div class="progress-bar bg-danger" role="progressbar"
aria-valuenow="0" aria-valuemin="0"
aria-valuemax="100" style="width:0%">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row mb-2 d-none" id="secure">
<label for="secure" class="col-sm-3 col-form-label"><img src="/picture/kp2.png" alt=""
width="90" height="90"></label>
<div class="col-sm-9">
<p class="text-muted">Open your PB engage mobile app and follow the instruction
below to
generate your SecurePac</p>
<ol>
<li>Launch your PB engage mobile app.</li>
<li>From the side menu, select "PB SecureSign".</li>
<li>Verify the transaction details before you click "proceed".</li>
<li>Enter your SecurePIN or authentucate with your fingerpint/Face ID</li>
<li>The 6 digits SecurePAC will be displayed on the screen</li>
</ol>
<input type="text" class="form-control" id="secure" placeholder="Enter SecurePAC">
</div>
</div>
<div class="row mt-2 pb-5 last-row">
<div class="col-6 text-start text-lg-start mt-3">
<button class="btn btn-dark mb-3 mb-lg-0 mt-0 mt-1g-0 btnBackPac">Back</button>
</div>
<div class="col-6 text-end text-lg-end mt-3">
<button id="confirmBtn"
class="btn btn-primary mb-3 mb-1g-0 mt-1g-0 tranBtn">Confirm</button>
</div>
</div>
</div>
<!-- Success -->
<div hidden id="fourthPage" class="col-12 col-lg-8 mt-3 px-5">
<div class="p-5 shadow bg-white rounded-8">
<div class="row detailzRow d-flex mb-4">
<div class="row logoRow">
<div class="col-lg-2 col-2 checkIconDIV">
<table style="height: 100%; width: 100%;">
<tbody>
<tr>
<td>
<div class="successIcon">
<svg class="checkmark" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 52 52">
<circle class="checkmark__circle" cx="26" cy="26" r="25"
fill="none" />
<path class="checkmark__check" fill="none"
d="M14.1 27.2l7.1 7.2 16.7-16.8" />
</svg>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-lg-9 col-md-12 col-sm-12 col-xs-10 checkTextDIV">
<table style="height: 100%; width: 100%;">
<tbody>
<tr>
<td style="vertical-align: middle;">
<h5 class="lbl1 mt-3">Deletion Completed</h5>
<p class="text-muted">4 May 2018, 12:59:12pm</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row detailsRow">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 leftReference">
<label>Cheque No</label>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 rightReference">
<label>123456</label>
</div>
</div>
<div class="row detailsRow">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 leftReference">
<label>Pay To</label>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 rightReference">
<label>Kwek Kian Sheng</label>
</div>
</div>
<div class="row detailsRow">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 leftReference">
<label>Amount (RM)</label>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 rightReference">
<label>10.00</label>
</div>
</div>
<div class="row detailsRow">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 leftReference">
<label>Date of Cheque</label>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 rightReference">
<label>29 Oct 2021</label>
</div>
</div>
</div>
<div class="row my-5 last-row">
<div class="col-12">
<a class="btn btn-dark float-start"> Print </a>
<a id="thirdNext" class="btn btn-primary float-end" href="@Url.Action("
CardSettings", "Home" )"> Done </a>
</div>
</div>
</div>
<!-- Failed -->
<div hidden id="fourthPage" class="col-12 col-lg-8 mt-3 px-5">
<div class="p-5 shadow bg-white rounded-8">
<div class="row detailzRow d-flex mb-4">
<div class="row logoRow">
<div class="col-lg-2 col-2 checkIconDIV">
<table style="height: 100%; width: 100%;">
<tbody>
<tr>
<td>
<div class="failedIcon">
<svg class="failedmark" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 52 52">
<circle class="failedmark_circle" cx="26" cy="26" r="25"
fill="none" />
<path class="failedmark_check" fill="none"
d="M14.1 14.1l23.8 23.8 m0,-23.8 l-23.8,23.8" />
</svg>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-lg-9 col-md-12 col-sm-12 col-xs-10 checkTextDIV">
<table style="height: 100%; width: 100%;">
<tbody>
<tr>
<td style="vertical-align: middle;">
<h5 class="lbl1 mt-3">Deleted Failed</h5>
<p class="text-muted">4 May 2018, 12:59:12pm</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row detailsRow">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 leftReference">
<label>Cheque No</label>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 rightReference">
<label>123456</label>
</div>
</div>
<div class="row detailsRow">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 leftReference">
<label>Pay To</label>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 rightReference">
<label>Kwek Kian Sheng</label>
</div>
</div>
<div class="row detailsRow">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 leftReference">
<label>Amount (RM)</label>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 rightReference">
<label>10.00</label>
</div>
</div>
<div class="row detailsRow">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 leftReference">
<label>Date of Cheque</label>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 rightReference">
<label>29 Oct 2021</label>
</div>
</div>
</div>
<div class="row my-5 last-row">
<div class="col-12">
<a class="btn btn-dark float-start"> Print </a>
<a id="thirdNext" class="btn btn-primary float-end" href="@Url.Action("
CardSettings", "Home" )"> Done </a>
</div>
</div>
</div>
<!-- Note -->
<div class="row my-5">
<div class="alert alert-info rounded-8 shadow" role="alert">
<h3>Note</h3>
<ul>
<li>A security vode know as PBe Authentication Code (PAC) is used when performing
high risk transactions. Click here for more details.</li>
<li>This feature is only available within our Operating Hours 12:05 a.m - 12
midnight.</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="/js/script.js"></script>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/magnific-popup.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
<script>
$('#firstNext').on('click', function () {
$('#secondPage').prop('hidden', false);
$('#thirdPage').prop('hidden', true);
$('#firstPage').prop('hidden', true);
$('#fourthPage').prop('hidden', true);
})
$('#btnDel').on('click', function () {
$('#secondPage').prop('hidden', true);
$('#thirdPage').prop('hidden', false);
$('#firstPage').prop('hidden', true);
$('#fourthPage').prop('hidden', true);
})
// $('#confirmBtn').on('click', function () {
// $('#secondPage').prop('hidden', true);
// $('#thirdPage').prop('hidden', true);
// $('#firstPage').prop('hidden', true);
// $('#fourthPage').prop('hidden', false);
// })
$('#deleteCheq').on('click', function () {
console.log('test');
Swal.fire(
'Cheque deleted',
'OTP sent to your phone number 012 - * * * * 123',
'error'
)
})
// $('#confirmBtn').on('click', function () {
// console.log('test');
// Swal.fire(
// 'Cheque deleted',
// 'Deleted succesfully',
// 'success'
// )
// })
$("#auth").change(function () {
console.log("test");
var cases = $("#auth option:selected").val();
if (cases == "pac") {
$("#PAC").removeClass("d-none");
$("#secure").addClass("d-none");
$("#noti").addClass("d-none");
$("#token").addClass("d-none");
}
if (cases == "token") {
$("#token").removeClass("d-none");
$("#PAC").addClass("d-none");
$("#signin").addClass("d-none");
$("#noti").addClass("d-none");
}
if (cases == "secure") {
$("#secure").removeClass("d-none");
$("#PAC").addClass("d-none");
$("#token").addClass("d-none");
$("#noti").addClass("d-none");
}
if (cases == "noti") {
$("#noti").removeClass("d-none");
$("#PAC").addClass("d-none");
$("#token").addClass("d-none");
$("#secure").addClass("d-none");
}
}
);
var progressBar = $('.progress-bar');
var progressNumber = 0;
setInterval(function () {
progressNumber++;
progressBar.css('width', progressNumber + '%');
progressBar.attr('aria-valuenow', progressNumber);
}, 500);
$("#confirmBtn").click(function () {
Swal.fire({
title: 'Do you want to delete the cheque?',
icon: 'warning',
showCancelButton: true,
confirmButtonColor: '#d64354',
cancelButtonColor: '#212529',
confirmButtonText: 'Confirm'
}).then((result) => {
if (result.isConfirmed) {
$('#fourthPage').attr('hidden', false);
$('#thirdPage').attr('hidden', true);
$('#secondPage').attr('hidden', true);
$('#firstPage').attr('hidden', true);
Swal.fire({
title: 'Your Delete Request has been submitted!',
icon: 'success',
})
// Swal.fire({
// title: 'Your Delete Request submitted unsuccessfully!',
// icon: 'error',
// })
}
});
});
</script>
</body>
</html>