Commit d8feb0ddb06a7dee8ac515e2fbda28b50c092a8c

Authored by Palak Handa
1 parent 4ec96fbab6
Exists in master and in 1 other branch paytm

design updated

pages/ambassador.html
1 <div class="header"> 1 <div class="panel-heading" style="background-color: #42b549;"><img src="images/white.png" style="width: 100px;"></div>
2 <img src="images/white.png" class="logo">
3 </div>
4
5 <!-- CLOSE HEADER -->
6 <form name="applicantForm" id="signupForm"> 2 <form name="applicantForm" id="signupForm">
7 <div style="text-align:center;margin-bottom:3%;"> 3 <div style="text-align:center;">
8 <h4>Startup Ambassador</h4> 4 <h4>Startup Ambassador</h4>
9 </div> 5 </div>
10 <div class="col-xs-12 col-md-10 col-md-offset-1"> 6 <div class="col-xs-12 col-md-4 col-md-offset-4">
11 <div class="stage-shadow">
12 <div class="stages card-align">
13 <div class="col-xs-12 col-md-4 no-padding">
14 <!-- <div class="card stages-card">
15 <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage(data.stage); stagekeyPress()">
16 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation">
17 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights">
18 <div class="card-content f-family">
19 <p align="center">Idea</p>
20 </div>
21 </label>
22 </div> -->
23 <!-- <div class="clearfix"></div>
24 <div class="cards-content">
25 <p>
26 &#x26AC; Have an idea and need execution help?<br>
27 &#x26AC; Get feedback from mentors<br>
28 &#x26AC; Validate your idea.
29 </p>
30 </div> -->
31 </div>
32 <div class="col-xs-12 col-md-4 no-padding-mobile">
33 <!-- <div class="card stages-card">
34 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage(data.stage); stagekeyPress()">
35 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof">
36 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights">
37 <div class="card-content f-family">
38 <p align="center">Product</p>
39 </div>
40 </label>
41 </div> -->
42 <!-- <div class="clearfix"></div> -->
43 <!-- <div class="cards-content">
44 <p>
45 &#x26AC; Have a prototype and want to take it to next level?<br>
46 &#x26AC; Advice on fundraising<br>
47 &#x26AC; Advice on go-to-market strategy
48 </p>
49 </div> -->
50 </div>
51 <div class="col-xs-12 col-md-4 no-padding">
52 <div class="card stages-card">
53 <!-- <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage(data.stage); stagekeyPress()"> -->
54 <!-- <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta">
55 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights">
56 <div class="card-content f-family">
57 <p align="center">Growth</p>
58 </div -->
59 <!-- </label> -->
60 </div>
61 <div class="clearfix"></div>
62 <div class="cards-content">
63 <!-- <p>
64 &#x26AC; Have traction and looking to scale up?<br>
65 &#x26AC; Connect with Series A investors<br>
66 &#x26AC; Connect and hire top startups
67 </p> -->
68 <!-- </div> -->
69 </div>
70 <div class="clearfix"></div>
71 </div>
72 <div class="clearfix"></div>
73 </div>
74 <!-- CLOSE STAGE SHADOW -->
75 <div class="form-all"> 7 <div class="form-all">
76 <table style="width: 100%;"> 8 <table style="width: 100%;">
77 <tr> 9 <tr>
78 <td> 10 <td>
79 <div class="step-one-form" > 11 <div class="step-one-form" >
80 <!-- form step 1 --> 12 <!-- form step 1 -->
81 <div class="col-xs-12 col-md-6 input-wrapper" > 13 <div class="col-xs-12 input-wrapper" >
82 <div id="snackbar">Error ! Please fill in all fields.</div> 14 <div id="snackbar">Error ! Please fill in all fields.</div>
83 <div class="icon-circle-c"> 15 <div class="icon-circle-c">
84 <i class="material-icons" style="line-height: 31px;">assignment_ind</i> 16 <i class="material-icons" style="line-height: 31px;">assignment_ind</i>
85 </div> 17 </div>
86 <input type="text" class="text-input" required ng-model="data.name" placeholder="Startup Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)"> 18 <input type="text" class="text-input" required ng-model="data.name" placeholder="Startup Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)">
87 </div> 19 </div>
88 <div class="col-xs-12 col-md-6 input-wrapper" > 20 <div class="clearfix"></div>
21 <div class="col-xs-12 input-wrapper" >
89 <div id="snackbar">Error ! Please fill in all fields.</div> 22 <div id="snackbar">Error ! Please fill in all fields.</div>
90 <div class="icon-circle-d"> 23 <div class="icon-circle-d">
91 <i class="material-icons" style="line-height: 30px;">email</i> 24 <i class="material-icons" style="line-height: 30px;">email</i>
92 </div> 25 </div>
93 <input type="email" name="email" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)"> 26 <input type="email" name="email" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)">
94 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> 27 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label>
95 <label ng-if="check">Email already exist.</label> 28 <label ng-if="check">Email already exist.</label>
96 <!-- <label class="error-message f-family control-label" id="alreadyExist" ng-if="check">Email already exist.</label> --> 29 <!-- <label class="error-message f-family control-label" id="alreadyExist" ng-if="check">Email already exist.</label> -->
97 </div> 30 </div>
98 <div class="col-xs-12 col-md-6 input-wrapper" > 31 <div class="clearfix"></div>
32 <div class="col-xs-12 input-wrapper" >
99 <div class="icon-circle-e"> 33 <div class="icon-circle-e">
100 <i class="material-icons" style="line-height: 30px;">phone</i> 34 <i class="material-icons" style="line-height: 30px;">phone</i>
101 </div> 35 </div>
102 <input type="number" required class="text-input" ng-model="data.mobile" placeholder="Mobile No." ng-blur="numbercheck(data.mobile)" ng-focus="removeNoError()" ng-change="enternumber(data.mobile); phonekeyPress(data.mobile)"> 36 <input type="number" required class="text-input" ng-model="data.mobile" placeholder="Mobile No." ng-blur="numbercheck(data.mobile)" ng-focus="removeNoError()" ng-change="enternumber(data.mobile); phonekeyPress(data.mobile)">
103 37
104 <label ng-if="numberCheck">Contact Number already exist.</label> 38 <label ng-if="numberCheck">Contact Number already exist.</label>
105 </div> 39 </div>
106
107 <div class="clearfix"></div> 40 <div class="clearfix"></div>
108 <!-- <div class="col-xs-12 text-right">
109 <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-click="next()">
110 Next
111 </button>
112 </div> -->
113 </div> 41 </div>
114 <!-- close step-one-form --> 42 <!-- close step-one-form -->
115 </td> 43 </td>
116 </tr> 44 </tr>
117 </table> 45 </table>
118 </div> 46 </div>
119 <!-- CLOSE form-all --> 47 <!-- CLOSE form-all -->
120 48 </div>
121 <!-- CLOSE identity-shadow --> 49 <div class="clearfix"></div>
122 <!-- <div class="col-xs-12 input-wrapper"> 50 <div style="margin-bottom: 5%;" class="text-center">
123 <div class="icon-circle-h" style="z-index: 999;">
124 <i class="material-icons" style="line-height: 30px;">phone_android</i>
125 </div>
126 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;">
127 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i>
128 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i>
129 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button>
130 </div> -->
131 <div class="clearfix"></div>
132 <div style="margin-bottom: 10%;" class="text-center">
133 <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="submit()"> 51 <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="submit()">
134 </div> 52 </div>
135 </div>
136 <!-- CLOSE step-two-form -->
137 </div>
138 <!-- col-xs-12 col-md-8 col-md-offset-2 --> 53 <!-- col-xs-12 col-md-8 col-md-offset-2 -->
139 </form> 54 </form>
140 <!-- CLOSE FORM --> 55 <!-- CLOSE FORM -->
141 <footer> 56 <footer>
142 <img id="footer" class="img-responsive banner"> 57 <img id="footer" class="img-responsive banner">
143 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> 58 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a>
59 </center>
144 </footer> 60 </footer>
145 <!-- </div> CLOSE CHECK VIEW --> 61 <!-- </div> CLOSE CHECK VIEW -->
146 <div ng-if="verifyView"> 62 <div ng-if="verifyView">
147 <div class="text-center"> 63 <div class="text-center">
148 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> 64 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()">
149 <!-- <button ng-disabled="applicantForm.$invalid">Save</button> -->
150 </div> 65 </div>
151 </div> 66 </div>
152 </div> <!-- CLOSE NEW-CONTROLLER --> 67 </div> <!-- CLOSE NEW-CONTROLLER -->
153 <div id="snacsskbar">Registration done successfully.</div> 68 <div id="snacsskbar">Registration done successfully.</div>
154 <div class="modal fade" id="myModal" role="dialog"> 69 <div class="modal fade" id="myModal" role="dialog">
155 <div class="modal-dialog" style="left: auto;"> 70 <div class="modal-dialog" style="left: auto;">
156 <div class="modal-content"> 71 <div class="modal-content">
157 <div class="modal-body" style="text-align:center;margin-top:5%"> 72 <div class="modal-body" style="text-align:center;margin-top:5%">
158 <p style="font-size:24px">Your Refral Token is <b>{{data.referalToken}}</b>.</p> 73 <p style="font-size:24px">Your Refral Token is <b>{{data.referalToken}}</b>.</p>
159 </div> 74 </div>
160 <div style="text-align:center;margin-bottom:5%"> 75 <div style="text-align:center;margin-bottom:5%">
161 <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button> 76 <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button>
162 </div> 77 </div>
163 </div> 78 </div>
1 <!-- <div class="jumbotron text-center"> 1 <!-- <div class="jumbotron text-center">
2 <h1>Home Page</h1> 2 <h1>Home Page</h1>
3 3
4 <p>{{ message }}</p> 4 <p>{{ message }}</p>
5 </div> --> 5 </div> -->
6 <!-- <div ng-if="checkView"> --> 6 <!-- <div ng-if="checkView"> -->
7 <div class="header"> 7 <div class="header">
8 <img src="images/white.png" class="logo"> 8 <img src="images/white.png" class="logo">
9 </div> 9 </div>
10 <!-- CLOSE HEADER --> 10 <!-- CLOSE HEADER -->
11 <form name="applicantForm" id="signupForm"> 11 <form name="applicantForm" id="signupForm">
12 <div class="col-xs-12 col-md-10 col-md-offset-1"> 12 <div class="col-xs-12 col-md-10 col-md-offset-1">
13 <p class="select-stage">Please select one stage.</p> 13 <p class="select-stage">Please select one stage.</p>
14 <div class="stage-shadow"> 14 <div class="stage-shadow">
15 <div class="stages card-align"> 15 <div class="stages card-align">
16 <div class="col-xs-4 no-padding"> 16 <div class="col-xs-4 no-padding">
17 <div class="card stages-card"> 17 <div class="card stages-card">
18 <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage(data.stage); stagekeyPress()"> 18 <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage(data.stage); stagekeyPress()">
19 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> 19 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation">
20 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> 20 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights">
21 <div class="card-content f-family"> 21 <div class="card-content f-family">
22 <p align="center">Idea</p> 22 <p align="center">Idea</p>
23 </div> 23 </div>
24 </label> 24 </label>
25 </div> 25 </div>
26 <div class="clearfix"></div> 26 <div class="clearfix"></div>
27 <div class="cards-content hidden-xs"> 27 <div class="cards-content hidden-xs">
28 <p> 28 <p>
29 &#x26AC; Have an idea and need execution help?<br> 29 &#x26AC; Have an idea and need execution help?<br>
30 &#x26AC; Get feedback from mentors<br> 30 &#x26AC; Get feedback from mentors<br>
31 &#x26AC; Validate your idea. 31 &#x26AC; Validate your idea.
32 </p> 32 </p>
33 </div> 33 </div>
34 </div> 34 </div>
35 <div class="col-xs-4 no-padding-mobile"> 35 <div class="col-xs-4 no-padding-mobile">
36 <div class="card stages-card margin-auto-mobile"> 36 <div class="card stages-card margin-auto-mobile">
37 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage(data.stage); stagekeyPress()"> 37 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage(data.stage); stagekeyPress()">
38 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> 38 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof">
39 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> 39 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights">
40 <div class="card-content f-family"> 40 <div class="card-content f-family">
41 <p align="center">Product</p> 41 <p align="center">Product</p>
42 </div> 42 </div>
43 </label> 43 </label>
44 </div> 44 </div>
45 <div class="clearfix"></div> 45 <div class="clearfix"></div>
46 <div class="cards-content hidden-xs"> 46 <div class="cards-content hidden-xs">
47 <p> 47 <p>
48 &#x26AC; Have a prototype and want to take it to next level?<br> 48 &#x26AC; Have a prototype and want to take it to next level?<br>
49 &#x26AC; Advice on fundraising<br> 49 &#x26AC; Advice on fundraising<br>
50 &#x26AC; Advice on go-to-market strategy 50 &#x26AC; Advice on go-to-market strategy
51 </p> 51 </p>
52 </div> 52 </div>
53 </div> 53 </div>
54 <div class="col-xs-4 no-padding"> 54 <div class="col-xs-4 no-padding">
55 <div class="card stages-card right-stage-card"> 55 <div class="card stages-card right-stage-card">
56 <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage(data.stage); stagekeyPress()"> 56 <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage(data.stage); stagekeyPress()">
57 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> 57 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta">
58 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> 58 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights">
59 <div class="card-content f-family"> 59 <div class="card-content f-family">
60 <p align="center">Growth</p> 60 <p align="center">Growth</p>
61 </div> 61 </div>
62 </label> 62 </label>
63 </div> 63 </div>
64 <div class="clearfix"></div> 64 <div class="clearfix"></div>
65 <div class="cards-content hidden-xs"> 65 <div class="cards-content hidden-xs">
66 <p> 66 <p>
67 &#x26AC; Have traction and looking to scale up?<br> 67 &#x26AC; Have traction and looking to scale up?<br>
68 &#x26AC; Connect with Series A investors<br> 68 &#x26AC; Connect with Series A investors<br>
69 &#x26AC; Connect and hire top startups 69 &#x26AC; Connect and hire top startups
70 </p> 70 </p>
71 </div> 71 </div>
72 </div> 72 </div>
73 <div class="clearfix"></div> 73 <div class="clearfix"></div>
74 </div> 74 </div>
75 <div class="clearfix"></div> 75 <div class="clearfix"></div>
76 </div> 76 </div>
77 <div class="hidden-sm hidden-md hidden-lg"> 77 <div class="hidden-sm hidden-md hidden-lg">
78 <div class="cards-content" ng-if="data.stage == 'Idea'"> 78 <div class="cards-content" ng-if="data.stage == 'Idea'">
79 <p> 79 <p>
80 &#x26AC; Have an idea and need execution help?<br> 80 &#x26AC; Have an idea and need execution help?<br>
81 &#x26AC; Get feedback from mentors<br> 81 &#x26AC; Get feedback from mentors<br>
82 &#x26AC; Validate your idea. 82 &#x26AC; Validate your idea.
83 </p> 83 </p>
84 </div> 84 </div>
85 <div class="cards-content" ng-if="data.stage == 'Product'"> 85 <div class="cards-content" ng-if="data.stage == 'Product'">
86 <p> 86 <p>
87 &#x26AC; Have a prototype and want to take it to next level?<br> 87 &#x26AC; Have a prototype and want to take it to next level?<br>
88 &#x26AC; Advice on fundraising<br> 88 &#x26AC; Advice on fundraising<br>
89 &#x26AC; Advice on go-to-market strategy 89 &#x26AC; Advice on go-to-market strategy
90 </p> 90 </p>
91 </div> 91 </div>
92 <div class="cards-content" ng-if="data.stage == 'Growth'"> 92 <div class="cards-content" ng-if="data.stage == 'Growth'">
93 <p> 93 <p>
94 &#x26AC; Have traction and looking to scale up?<br> 94 &#x26AC; Have traction and looking to scale up?<br>
95 &#x26AC; Connect with Series A investors<br> 95 &#x26AC; Connect with Series A investors<br>
96 &#x26AC; Connect and hire top startups 96 &#x26AC; Connect and hire top startups
97 </p> 97 </p>
98 </div> 98 </div>
99 </div> 99 </div>
100 <!-- CLOSE STAGE SHADOW --> 100 <!-- CLOSE STAGE SHADOW -->
101 <div class="form-all"> 101 <div class="form-all">
102 <table style="width: 100%;"> 102 <table style="width: 100%;">
103 <tr> 103 <tr>
104 <td> 104 <td>
105 <div class="step-one-form"> 105 <div class="step-one-form">
106 <!-- form step 1 --> 106 <!-- form step 1 -->
107 <div class="col-xs-12 col-md-6 input-wrapper"> 107 <div class="col-xs-12 col-md-6 input-wrapper">
108 <div id="snackbar">Error ! Please fill in all fields.</div> 108 <div id="snackbar">Error ! Please fill in all fields.</div>
109 <div class="icon-circle-c"> 109 <div class="icon-circle-c">
110 <i class="material-icons" style="line-height: 31px;">assignment_ind</i> 110 <i class="material-icons" style="line-height: 31px;">assignment_ind</i>
111 </div> 111 </div>
112 <input type="text" class="text-input" required ng-model="data.name" placeholder="Startup Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)"> 112 <input type="text" class="text-input" required ng-model="data.name" placeholder="Startup Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)">
113 </div> 113 </div>
114 <div class="col-xs-12 col-md-6 input-wrapper"> 114 <div class="col-xs-12 col-md-6 input-wrapper">
115 <div id="snackbar">Error ! Please fill in all fields.</div> 115 <div id="snackbar">Error ! Please fill in all fields.</div>
116 <div class="icon-circle-d"> 116 <div class="icon-circle-d">
117 <i class="material-icons" style="line-height: 30px;">email</i> 117 <i class="material-icons" style="line-height: 30px;">email</i>
118 </div> 118 </div>
119 <input type="email" name="email" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)"> 119 <input type="email" name="email" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)">
120 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> 120 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label>
121 <label ng-if="check">Email already exist.</label> 121 <label ng-if="check">Email already exist.</label>
122 <!-- <label class="error-message f-family control-label" id="alreadyExist" ng-if="check">Email already exist.</label> --> 122 <!-- <label class="error-message f-family control-label" id="alreadyExist" ng-if="check">Email already exist.</label> -->
123 </div> 123 </div>
124 <div class="col-xs-12 col-md-6 input-wrapper"> 124 <div class="col-xs-12 col-md-6 input-wrapper">
125 <div class="icon-circle-e"> 125 <div class="icon-circle-e">
126 <i class="material-icons" style="line-height: 30px;">phone</i> 126 <i class="material-icons" style="line-height: 30px;">phone</i>
127 </div> 127 </div>
128 <input type="number" required class="text-input" ng-model="data.number" placeholder="Mobile No." ng-blur="numbercheck(data.number)" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> 128 <input type="number" required class="text-input" ng-model="data.number" placeholder="Mobile No." ng-blur="numbercheck(data.number)" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)">
129 <!-- <label class="error-message f-family control-label" id="noExist" " ng-if="numberCheck">Contact Number already exist.</label> --> 129 <!-- <label class="error-message f-family control-label" id="noExist" " ng-if="numberCheck">Contact Number already exist.</label> -->
130 <label ng-if="numberCheck">Contact Number already exist.</label> 130 <label ng-if="numberCheck">Contact Number already exist.</label>
131 </div> 131 </div>
132 <div class="col-xs-12 col-md-6 input-wrapper f-family"> 132 <div class="col-xs-12 col-md-6 input-wrapper f-family">
133 <div class="icon-circle-f"> 133 <div class="icon-circle-f">
134 <i class="material-icons" style="line-height: 30px;">location_city</i> 134 <i class="material-icons" style="line-height: 30px;">location_city</i>
135 </div> 135 </div>
136 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;"> 136 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;">
137 <option name="city" selected disabled value="">Choose City</option> 137 <option name="city" selected disabled value="">Choose City</option>
138 <option value="Ahmedabad">Ahmedabad</option> 138 <option value="Ahmedabad">Ahmedabad</option>
139 <option value="Bangalore">Bangalore</option> 139 <option value="Bangalore">Bangalore</option>
140 <option value="NCR">Delhi-NCR</option> 140 <option value="NCR">Delhi-NCR</option>
141 <option value="Hyderabad">Hyderabad</option> 141 <option value="Hyderabad">Hyderabad</option>
142 <option value="Jaipur">Jaipur</option> 142 <option value="Jaipur">Jaipur</option>
143 <option value="Mumbai">Mumbai</option> 143 <option value="Mumbai">Mumbai</option>
144 <option value="Pune">Pune</option> 144 <option value="Pune">Pune</option>
145 <option value="Indore">Indore</option> 145 <option value="Indore">Indore</option>
146 <option value="Chandigarh">Chandigarh</option> 146 <option value="Chandigarh">Chandigarh</option>
147 <option value="anyOther">Any other</option> 147 <option value="anyOther">Any other</option>
148 </select> 148 </select>
149 </div> 149 </div>
150 <div class="clearfix"></div> 150 <div class="clearfix"></div>
151 <div class="col-xs-12 text-right"> 151 <div class="col-xs-12 text-right">
152 <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-click="next()"> 152 <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-click="next()">
153 Next 153 Next
154 </button> 154 </button>
155 </div> 155 </div>
156 </div> 156 </div>
157 <!-- close step-one-form --> 157 <!-- close step-one-form -->
158 </td> 158 </td>
159 </tr> 159 </tr>
160 </table> 160 </table>
161 </div> 161 </div>
162 <!-- CLOSE form-all --> 162 <!-- CLOSE form-all -->
163 <div class="step-two-form" ng-show="infoForm"> 163 <div class="step-two-form" ng-show="infoForm">
164 <div class="sectors-card"> 164 <div class="sectors-card">
165 <div class="icon-circle-b"> 165 <div class="icon-circle-b">
166 <i class="material-icons" style="line-height: 31px;">open_with</i> 166 <i class="material-icons" style="line-height: 31px;">open_with</i>
167 </div> 167 </div>
168 <div class="sector-question"> 168 <div class="sector-question">
169 <div class="col-xs-12 font f-family"> 169 <div class="col-xs-12 font f-family">
170 To which sector would you relate your company? 170 To which sector would you relate your company?
171 </div> 171 </div>
172 <div class="clearfix"></div> 172 <div class="clearfix"></div>
173 </div> 173 </div>
174 <div class="clearfix" style="height:15px;"></div> 174 <div class="clearfix" style="height:15px;"></div>
175 <div class="sector-align"> 175 <div class="sector-align">
176 <div class="col-xs-6 col-md-3"> 176 <div class="col-xs-6 col-md-3">
177 <label class="card-small"> 177 <label class="card-small">
178 <input type="radio" required value="retail" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 178 <input type="radio" required value="retail" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
179 <img src="images/retail.png"> 179 <img src="images/retail.png">
180 <label class="f-family">Retail</label> 180 <label class="f-family">Retail</label>
181 </label> 181 </label>
182 </div> 182 </div>
183 <div class="col-xs-6 col-md-3"> 183 <div class="col-xs-6 col-md-3">
184 <label class="card-small"> 184 <label class="card-small">
185 <input type="radio" required value="travel" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 185 <input type="radio" required value="travel" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
186 <img src="images/transport.png"> 186 <img src="images/transport.png">
187 <label class="f-family">Travel</label> 187 <label class="f-family">Travel</label>
188 </label> 188 </label>
189 </div> 189 </div>
190 <div class="col-xs-6 col-md-3"> 190 <div class="col-xs-6 col-md-3">
191 <label class="card-small"> 191 <label class="card-small">
192 <input type="radio" required value="b2b commerce" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 192 <input type="radio" required value="b2b commerce" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
193 <img src="images/paymens.png"> 193 <img src="images/paymens.png">
194 <label class="f-family">B2B commerce</label> 194 <label class="f-family">B2B commerce</label>
195 </label> 195 </label>
196 </div> 196 </div>
197 <div class="col-xs-6 col-md-3"> 197 <div class="col-xs-6 col-md-3">
198 <label class="card-small"> 198 <label class="card-small">
199 <input type="radio" required value="agritech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 199 <input type="radio" required value="agritech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
200 <img src="images/food.png"> 200 <img src="images/food.png">
201 <label class="f-family">Agritech</label> 201 <label class="f-family">Agritech</label>
202 </label> 202 </label>
203 </div> 203 </div>
204 <div class="col-xs-6 col-md-3"> 204 <div class="col-xs-6 col-md-3">
205 <label class="card-small"> 205 <label class="card-small">
206 <input type="radio" required value="fintech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 206 <input type="radio" required value="fintech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
207 <img src="images/online_media.png"> 207 <img src="images/online_media.png">
208 <label class="f-family">Fintech</label> 208 <label class="f-family">Fintech</label>
209 </label> 209 </label>
210 </div> 210 </div>
211 <div class="col-xs-6 col-md-3"> 211 <div class="col-xs-6 col-md-3">
212 <label class="card-small"> 212 <label class="card-small">
213 <input type="radio" required value="hyperlocal services" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 213 <input type="radio" required value="hyperlocal services" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
214 <img src="images/hardware.png"> 214 <img src="images/hardware.png">
215 <label class="f-family">Hyperlocal services</label> 215 <label class="f-family">Hyperlocal services</label>
216 </label> 216 </label>
217 </div> 217 </div>
218 <div class="col-xs-6 col-md-3"> 218 <div class="col-xs-6 col-md-3">
219 <label class="card-small"> 219 <label class="card-small">
220 <input type="radio" required value="education" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 220 <input type="radio" required value="education" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
221 <img src="images/education.png"> 221 <img src="images/education.png">
222 <label class="f-family">Education</label> 222 <label class="f-family">Education</label>
223 </label> 223 </label>
224 </div> 224 </div>
225 <div class="col-xs-6 col-md-3"> 225 <div class="col-xs-6 col-md-3">
226 <label class="card-small"> 226 <label class="card-small">
227 <input type="radio" required value="rural" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 227 <input type="radio" required value="rural" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
228 <img src="images/RURAL_ICON.png"> 228 <img src="images/RURAL_ICON.png">
229 <label class="f-family">Rural</label> 229 <label class="f-family">Rural</label>
230 </label> 230 </label>
231 </div> 231 </div>
232 </div> 232 </div>
233 <div class="clearfix"></div> 233 <div class="clearfix"></div>
234 </div> 234 </div>
235 <!-- CLOSE sectors-card --> 235 <!-- CLOSE sectors-card -->
236 <div class="col-xs-11 col-md-12 f-family line-adjust"> 236 <div class="col-xs-11 col-md-12 f-family line-adjust">
237 <strong>What technology are you using in the product?</strong> 237 <strong>What technology are you using in the product?</strong>
238 <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p> 238 <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p>
239 </div> 239 </div>
240 <div class="col-xs-12 col-md-12 input-wrapper"> 240 <div class="col-xs-12 col-md-12 input-wrapper">
241 <div class="icon-circle-h"> 241 <div class="icon-circle-h">
242 <i class="material-icons" style="line-height: 30px;">phone_android</i> 242 <i class="material-icons" style="line-height: 30px;">phone_android</i>
243 </div> 243 </div>
244 <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required> 244 <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required>
245 </div> 245 </div>
246 <div class="col-xs-11 col-md-12 f-family line-adjust"> 246 <div class="col-xs-11 col-md-12 f-family line-adjust">
247 <strong>Tell us about the problem that your company is trying to address. </strong> 247 <strong>Tell us about the problem that your company is trying to address. </strong>
248 <p class="line-space" ></p> 248 <p class="line-space" ></p>
249 </div> 249 </div>
250 <div class="col-xs-12 col-md-12 input-wrapper"> 250 <div class="col-xs-12 col-md-12 input-wrapper">
251 <div class="icon-circle-i"> 251 <div class="icon-circle-i">
252 <i class="material-icons" style="line-height: 30px;">report_problem</i> 252 <i class="material-icons" style="line-height: 30px;">report_problem</i>
253 </div> 253 </div>
254 <textarea name="Problem" class="text-input textarea" ng-model="data.problem" placeholder="Problem" ng-change="enterproblem(data.problem); problemkeyPress(data.problem)" required></textarea> 254 <textarea name="Problem" class="text-input textarea" ng-model="data.problem" placeholder="Problem" ng-change="enterproblem(data.problem); problemkeyPress(data.problem)" required></textarea>
255 </div> 255 </div>
256 <div class="col-xs-12 col-md-12 f-family line-adjust"> 256 <div class="col-xs-12 col-md-12 f-family line-adjust">
257 <strong>Tell us about the solution that your product/company has come up with.</strong> 257 <strong>Tell us about the solution that your product/company has come up with.</strong>
258 <p class="line-space" ></p> 258 <p class="line-space" ></p>
259 </div> 259 </div>
260 <div class="col-xs-12 col-md-12 input-wrapper"> 260 <div class="col-xs-12 col-md-12 input-wrapper">
261 <div class="icon-circle-j"> 261 <div class="icon-circle-j">
262 <i class="material-icons" style="line-height: 30px;">help</i> 262 <i class="material-icons" style="line-height: 30px;">help</i>
263 </div> 263 </div>
264 <textarea name="solution" class="text-input textarea" ng-model="data.solution" placeholder="Solution" ng-change="entersolution(data.solution); solutionkeyPress(data.solution)" required></textarea> 264 <textarea name="solution" class="text-input textarea" ng-model="data.solution" placeholder="Solution" ng-change="entersolution(data.solution); solutionkeyPress(data.solution)" required></textarea>
265 </div> 265 </div>
266 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel"> 266 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel">
267 <strong>What is your business model?</strong> 267 <strong>What is your business model?</strong>
268 <p class="line-space" >How do you plan to make money?</p> 268 <p class="line-space" >How do you plan to make money?</p>
269 </div> 269 </div>
270 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel"> 270 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel">
271 <div class="icon-circle-p"> 271 <div class="icon-circle-p">
272 <i class="material-icons" style="line-height: 30px;">business_center</i> 272 <i class="material-icons" style="line-height: 30px;">business_center</i>
273 </div> 273 </div>
274 <select name="businessmodel" ng-model="data.business" ng-change="enterbusiness(data.business); businesskeyPress(data.business)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> 274 <select name="businessmodel" ng-model="data.business" ng-change="enterbusiness(data.business); businesskeyPress(data.business)" required style="background-color: #fff;border-radius: 0; font-size: 12px;">
275 <option selected disabled value="">Business Model</option> 275 <option selected disabled value="">Business Model</option>
276 <option value="B2B">B2B</option> 276 <option value="B2B">B2B</option>
277 <option value="B2C">B2C</option> 277 <option value="B2C">B2C</option>
278 <option value="B2G">B2G</option> 278 <option value="B2G">B2G</option>
279 </select> 279 </select>
280 </div> 280 </div>
281 <div class="clearfix"></div> 281 <div class="clearfix"></div>
282 <!-- **************************For Quiz All About Input********************** --> 282 <!-- **************************For Quiz All About Input********************** -->
283 <div class="question-shadow"> 283 <div class="question-shadow">
284 <div class="icon-circle-x"> 284 <div class="icon-circle-x">
285 <i class="material-icons" style="line-height: 30px;">question_answer</i> 285 <i class="material-icons" style="line-height: 30px;">question_answer</i>
286 </div> 286 </div>
287 <div class="sector-question"> 287 <div class="sector-question">
288 <div class="col-xs-12 font f-family"> 288 <div class="col-xs-12 font f-family">
289 You can share the top 5 problems that your startup is facing at the momentโ€“ and we will share those problems with our mentors who will give their feedback on what is the right approach to solve that problem. 289 You can share the top 5 problems that your startup is facing at the momentโ€“ and we will share those problems with our mentors who will give their feedback on what is the right approach to solve that problem.
290 </div> 290 </div>
291 <div class="clearfix"></div> 291 <div class="clearfix"></div>
292 </div> 292 </div>
293 <div class="stages q-card-align"> 293 <div class="stages q-card-align">
294 <div class="col-sm-8 group"> 294 <div class="col-sm-8 group">
295 <input type="text" class="text-input" ng-model="data.question1" name="snpid" placeholder="Question1" ng-change="abc(); questionkeyPress(data.question1)" required> 295 <input type="text" class="text-input" ng-model="data.question1" name="snpid" placeholder="Question1" ng-change="abc(); questionkeyPress(data.question1)" required>
296 <span class="highlight"></span> 296 <span class="highlight"></span>
297 <span class="bar"></span> 297 <span class="bar"></span>
298 </div> 298 </div>
299 <div class="col-sm-3 col-md-offset-1"> 299 <div class="col-sm-3 col-md-offset-1">
300 <select class="drop-down" ng-model="data.typeQ1" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 300 <select class="drop-down" ng-model="data.typeQ1" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
301 <option value="typeQ1">Select</option> 301 <option value="typeQ1">Select</option>
302 <option>Sales</option> 302 <option>Sales</option>
303 <option>Marketing</option> 303 <option>Marketing</option>
304 <option>Technology</option> 304 <option>Technology</option>
305 <option>Scale</option> 305 <option>Scale</option>
306 <option>Fund-raising</option> 306 <option>Fund-raising</option>
307 <option>Go-to-market strategy</option> 307 <option>Go-to-market strategy</option>
308 <option>Team/hiring issues</option> 308 <option>Team/hiring issues</option>
309 <option>Emotional/personal issues</option> 309 <option>Emotional/personal issues</option>
310 <option>Any other</option> 310 <option>Any other</option>
311 </select> 311 </select>
312 </div> 312 </div>
313 <div class="col-sm-8 group"> 313 <div class="col-sm-8 group">
314 <input type="text" class="text-input" ng-model="data.question2" name="snpid" placeholder="Question2" ng-change="abc(); questionkeyPress(data.question2)" required> 314 <input type="text" class="text-input" ng-model="data.question2" name="snpid" placeholder="Question2" ng-change="abc(); questionkeyPress(data.question2)" required>
315 <span class="highlight"></span> 315 <span class="highlight"></span>
316 <span class="bar"></span> 316 <span class="bar"></span>
317 </div> 317 </div>
318 <div class="col-sm-3 col-md-offset-1"> 318 <div class="col-sm-3 col-md-offset-1">
319 <select class="drop-down" ng-model="data.typeQ2" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 319 <select class="drop-down" ng-model="data.typeQ2" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
320 <option value="typeQ2">Select</option> 320 <option value="typeQ2">Select</option>
321 <option>Sales</option> 321 <option>Sales</option>
322 <option>Marketing</option> 322 <option>Marketing</option>
323 <option>Technology</option> 323 <option>Technology</option>
324 <option>Scale</option> 324 <option>Scale</option>
325 <option>Fund-raising</option> 325 <option>Fund-raising</option>
326 <option>Go-to-market strategy</option> 326 <option>Go-to-market strategy</option>
327 <option>Team/hiring issues</option> 327 <option>Team/hiring issues</option>
328 <option>Emotional/personal issues</option> 328 <option>Emotional/personal issues</option>
329 <option>Any other</option> 329 <option>Any other</option>
330 </select> 330 </select>
331 </div> 331 </div>
332 <div class="col-sm-8 group"> 332 <div class="col-sm-8 group">
333 <input type="text" class="text-input" ng-model="data.question3" name="snpid" placeholder="Question3" ng-change="abc(); questionkeyPress(data.question3)" required> 333 <input type="text" class="text-input" ng-model="data.question3" name="snpid" placeholder="Question3" ng-change="abc(); questionkeyPress(data.question3)" required>
334 <span class="highlight"></span> 334 <span class="highlight"></span>
335 <span class="bar"></span> 335 <span class="bar"></span>
336 </div> 336 </div>
337 <div class="col-sm-3 col-md-offset-1"> 337 <div class="col-sm-3 col-md-offset-1">
338 <select class="drop-down" ng-model="data.typeQ3" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 338 <select class="drop-down" ng-model="data.typeQ3" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
339 <option value="typeQ3">Select</option> 339 <option value="typeQ3">Select</option>
340 <option>Sales</option> 340 <option>Sales</option>
341 <option>Marketing</option> 341 <option>Marketing</option>
342 <option>Technology</option> 342 <option>Technology</option>
343 <option>Scale</option> 343 <option>Scale</option>
344 <option>Fund-raising</option> 344 <option>Fund-raising</option>
345 <option>Go-to-market strategy</option> 345 <option>Go-to-market strategy</option>
346 <option>Team/hiring issues</option> 346 <option>Team/hiring issues</option>
347 <option>Emotional/personal issues</option> 347 <option>Emotional/personal issues</option>
348 <option>Any other</option> 348 <option>Any other</option>
349 </select> 349 </select>
350 </div> 350 </div>
351 <div class="col-sm-8 group"> 351 <div class="col-sm-8 group">
352 <input type="text" class="text-input" ng-model="data.question4" name="snpid" placeholder="Question4" ng-change="abc(); questionkeyPress(data.question4)" required> 352 <input type="text" class="text-input" ng-model="data.question4" name="snpid" placeholder="Question4" ng-change="abc(); questionkeyPress(data.question4)" required>
353 <span class="highlight"></span> 353 <span class="highlight"></span>
354 <span class="bar"></span> 354 <span class="bar"></span>
355 </div> 355 </div>
356 <div class="col-sm-3 col-md-offset-1"> 356 <div class="col-sm-3 col-md-offset-1">
357 <select class="drop-down" ng-model="data.typeQ4" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 357 <select class="drop-down" ng-model="data.typeQ4" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
358 <option value="typeQ4">Select</option> 358 <option value="typeQ4">Select</option>
359 <option>Sales</option> 359 <option>Sales</option>
360 <option>Marketing</option> 360 <option>Marketing</option>
361 <option>Technology</option> 361 <option>Technology</option>
362 <option>Scale</option> 362 <option>Scale</option>
363 <option>Fund-raising</option> 363 <option>Fund-raising</option>
364 <option>Go-to-market strategy</option> 364 <option>Go-to-market strategy</option>
365 <option>Team/hiring issues</option> 365 <option>Team/hiring issues</option>
366 <option>Emotional/personal issues</option> 366 <option>Emotional/personal issues</option>
367 <option>Any other</option> 367 <option>Any other</option>
368 </select> 368 </select>
369 </div> 369 </div>
370 <div class="col-sm-8 group"> 370 <div class="col-sm-8 group">
371 <input type="text" class="text-input" ng-model="data.question5" name="snpid" placeholder="Question5" ng-change="abc(); questionkeyPress(data.question5)" required> 371 <input type="text" class="text-input" ng-model="data.question5" name="snpid" placeholder="Question5" ng-change="abc(); questionkeyPress(data.question5)" required>
372 <span class="highlight"></span> 372 <span class="highlight"></span>
373 <span class="bar"></span> 373 <span class="bar"></span>
374 </div> 374 </div>
375 <div class="col-sm-3 col-md-offset-1"> 375 <div class="col-sm-3 col-md-offset-1">
376 <select class="drop-down" ng-model="data.typeQ5" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 376 <select class="drop-down" ng-model="data.typeQ5" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
377 <option value="typeQ5">Select</option> 377 <option value="typeQ5">Select</option>
378 <option>Sales</option> 378 <option>Sales</option>
379 <option>Marketing</option> 379 <option>Marketing</option>
380 <option>Technology</option> 380 <option>Technology</option>
381 <option>Scale</option> 381 <option>Scale</option>
382 <option>Fund-raising</option> 382 <option>Fund-raising</option>
383 <option>Go-to-market strategy</option> 383 <option>Go-to-market strategy</option>
384 <option>Team/hiring issues</option> 384 <option>Team/hiring issues</option>
385 <option>Emotional/personal issues</option> 385 <option>Emotional/personal issues</option>
386 <option>Any other</option> 386 <option>Any other</option>
387 </select> 387 </select>
388 </div> 388 </div>
389 <div class="clearfix"></div> 389 <div class="clearfix"></div>
390 </div> 390 </div>
391 <div class="clearfix"></div> 391 <div class="clearfix"></div>
392 </div> 392 </div>
393 <!--CLOSE question-shadow --> 393 <!--CLOSE question-shadow -->
394 <div class="clearfix"></div> 394 <div class="clearfix"></div>
395 <!-- **************************CLOSE QUIZ FORM********************** --> 395 <!-- **************************CLOSE QUIZ FORM********************** -->
396 <div class="hideform" ng-if="prototyp"> 396 <div class="hideform" ng-if="prototyp">
397 <div class="col-xs-12 col-md-12 f-family line-adjust"> 397 <div class="col-xs-12 col-md-12 f-family line-adjust">
398 <strong>Do you have a prototype ready?</strong> 398 <strong>Do you have a prototype ready?</strong>
399 <p class="line-space" >If yes, please share the link to demo/website/application</p> 399 <p class="line-space" >If yes, please share the link to demo/website/application</p>
400 </div> 400 </div>
401 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="prototyp"> 401 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="prototyp">
402 <div class="icon-circle-k"> 402 <div class="icon-circle-k">
403 <i class="material-icons" style="line-height: 30px;">device_hub</i> 403 <i class="material-icons" style="line-height: 30px;">device_hub</i>
404 </div> 404 </div>
405 <textarea name="prototyp" ng-required="prototyp" class="text-input textarea" ng-model="data.prototype" ng-if="prototyp" placeholder="Prototype" ng-change="abc(); prototypekeyPress(data.prototype)"></textarea> 405 <textarea name="prototyp" ng-required="prototyp" class="text-input textarea" ng-model="data.prototype" ng-if="prototyp" placeholder="Prototype" ng-change="abc(); prototypekeyPress(data.prototype)"></textarea>
406 </div> 406 </div>
407 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market"> 407 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market">
408 <strong>What is your go-to-market strategy?</strong> 408 <strong>What is your go-to-market strategy?</strong>
409 <p class="line-space" ></p> 409 <p class="line-space" ></p>
410 </div> 410 </div>
411 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="market"> 411 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="market">
412 <div class="icon-circle-l"> 412 <div class="icon-circle-l">
413 <i class="material-icons" style="line-height: 30px;">multiline_chart</i> 413 <i class="material-icons" style="line-height: 30px;">multiline_chart</i>
414 </div> 414 </div>
415 <textarea name="market" ng-required="market" class="text-input textarea" ng-model="data.market" ng-if="market" placeholder="Go to market strategy" ng-change="abc(); marketkeyPress(data.market)"></textarea> 415 <textarea name="market" ng-required="market" class="text-input textarea" ng-model="data.market" ng-if="market" placeholder="Go to market strategy" ng-change="abc(); marketkeyPress(data.market)"></textarea>
416 </div> 416 </div>
417 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks"> 417 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks">
418 <strong>Who are your existing competitors and potential risk factors?</strong> 418 <strong>Who are your existing competitors and potential risk factors?</strong>
419 <p class="line-space" ></p> 419 <p class="line-space" ></p>
420 </div> 420 </div>
421 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks"> 421 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks">
422 <div class="icon-circle-m"> 422 <div class="icon-circle-m">
423 <i class="material-icons" style="line-height: 30px;">smoking_rooms</i> 423 <i class="material-icons" style="line-height: 30px;">adjust</i>
424 </div> 424 </div>
425 <textarea name="risks" ng-required="risks" class="text-input textarea" ng-model="data.risks" ng-if="risks" placeholder="Competition and risks" ng-change="abc(); riskkeyPress(data.risks)"></textarea> 425 <textarea name="risks" ng-required="risks" class="text-input textarea" ng-model="data.risks" ng-if="risks" placeholder="Competition and risks" ng-change="abc(); riskkeyPress(data.risks)"></textarea>
426 </div> 426 </div>
427 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team"> 427 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team">
428 <strong>Who all are there in your team?</strong> 428 <strong>Who all are there in your team?</strong>
429 <p class="line-space" >What are their backgrounds?</p> 429 <p class="line-space" >What are their backgrounds?</p>
430 </div> 430 </div>
431 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team"> 431 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team">
432 <div class="icon-circle-n" ng-if="team"> 432 <div class="icon-circle-n" ng-if="team">
433 <i class="material-icons" style="line-height: 30px;">games</i> 433 <i class="material-icons" style="line-height: 30px;">games</i>
434 </div> 434 </div>
435 <textarea name="team" ng-required="team" class="text-input textarea" ng-model="data.team" ng-if="team" placeholder="Team" ng-change="abc(); teamkeyPress(data.team)"></textarea> 435 <textarea name="team" ng-required="team" class="text-input textarea" ng-model="data.team" ng-if="team" placeholder="Team" ng-change="abc(); teamkeyPress(data.team)"></textarea>
436 </div> 436 </div>
437 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch"> 437 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch">
438 <strong>Upload the pitch-deck/presentation mentioning the details of the startup.</strong> 438 <strong>Provide the Google Docs link for pitch-deck/presentation (mentioning the details of your startup).</strong>
439 <p class="line-space" ></p> 439 <p class="line-space" ></p>
440 </div> 440 </div>
441 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch"> 441 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch">
442 <div class="icon-circle-z"> 442 <div class="icon-circle-z">
443 <i class="material-icons" style="line-height: 30px;">offline_pin</i> 443 <i class="material-icons" style="line-height: 30px;">offline_pin</i>
444 </div> 444 </div>
445 <input type="text" ng-required="pitch" class="text-input" ng-model="data.pitch" ng-if="pitch" placeholder="Upload pitch deck" ng-change="abc(); pitchkeyPress(data.pitch)"> 445 <input type="text" ng-required="pitch" class="text-input" ng-model="data.pitch" ng-if="pitch" placeholder="Provide pitch deck" ng-change="abc(); pitchkeyPress(data.pitch)">
446 </div> 446 </div>
447 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials"> 447 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials">
448 <strong>Upload the financial projections/funding requirements of your company?</strong> 448 <strong>Provide the Google Docs link for financial projections (funding requirements of your startup).</strong>
449 <p class="line-space" ></p> 449 <p class="line-space" ></p>
450 </div> 450 </div>
451 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials"> 451 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials">
452 <div class="icon-circle-q"> 452 <div class="icon-circle-q">
453 <i class="material-icons" style="line-height: 30px;">timeline</i> 453 <i class="material-icons" style="line-height: 30px;">timeline</i>
454 </div> 454 </div>
455 <input type="text" name="financials" ng-required="financials" class="text-input" ng-model="data.financials" ng-if="financials" placeholder="Upload financials" ng-change="abc(); financialskeyPress(data.financials)"> 455 <input type="text" name="financials" ng-required="financials" class="text-input" ng-model="data.financials" ng-if="financials" placeholder="Provide financials" ng-change="abc(); financialskeyPress(data.financials)">
456 </div> 456 </div>
457 <div class="clearfix"></div> 457 <div class="clearfix"></div>
458 </div> 458 </div>
459 <!-- <div class="clearfix"></div> --> 459 <!-- <div class="clearfix"></div> -->
460 <!-- THIS CODE FOR WHO ARE YOU FORM --> 460 <!-- THIS CODE FOR WHO ARE YOU FORM -->
461 <!-- <div class="row"> 461 <!-- <div class="row">
462 <div class="col-md-3"></div> 462 <div class="col-md-3"></div>
463 <div class="col-md-3"></div> 463 <div class="col-md-3"></div>
464 <div class="col-md-3"></div> 464 <div class="col-md-3"></div>
465 </div> --> 465 </div> -->
466 <div class="identity-shadow"> 466 <div class="identity-shadow">
467 <div class="icon-circle-ab"> 467 <div class="icon-circle-ab">
468 <i class="material-icons" style="line-height: 30px;">perm_identity</i> 468 <i class="material-icons" style="line-height: 30px;">perm_identity</i>
469 </div> 469 </div>
470 <div class="identity-question"> 470 <div class="identity-question">
471 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> 471 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;">
472 <b>Who are you?</b> 472 <b>Who are you?</b>
473 <p style="color:grey">kindly choose one option.</p> 473 <p style="color:grey">kindly choose one option.</p>
474 </div> 474 </div>
475 <div class="clearfix"></div> 475 <div class="clearfix"></div>
476 </div> 476 </div>
477 <div class="stages identity-align"> 477 <div class="stages identity-align">
478 <div class="col-xs-12"> 478 <div class="col-xs-12">
479 <label class="card-small margin-right-label"> 479 <label class="card-small margin-right-label">
480 <input type="radio" required value="student" ng-model="data.identity" class="option-input-a radio-a pull-left" id="studentRadio" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='a'"> 480 <input type="radio" required value="student" ng-model="data.identity" class="option-input-a radio-a pull-left" id="studentRadio" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='a'">
481 <!-- <img src="images/RURAL_ICON.png"> --> 481 <!-- <img src="images/RURAL_ICON.png"> -->
482 <label class="f-family pull-left width-auto" for="studentRadio">Student</label> 482 <label class="f-family pull-left width-auto" for="studentRadio">Student</label>
483 </label> 483 </label>
484 <label class="card-small margin-right-label"> 484 <label class="card-small margin-right-label">
485 <input type="radio" required value="others" ng-model="data.identity" class="option-input-a radio-a pull-left" id="othersRadio" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='b'"> 485 <input type="radio" required value="others" ng-model="data.identity" class="option-input-a radio-a pull-left" id="othersRadio" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='b'">
486 <!-- <img src="images/education.png"> --> 486 <!-- <img src="images/education.png"> -->
487 <label class="f-family pull-left width-auto" for="othersRadio">Others</label> 487 <label class="f-family pull-left width-auto" for="othersRadio">Others</label>
488 </label> 488 </label>
489 </div> 489 </div>
490 <!-- 490 <!--
491 <div class="col-xs-6" ng-show="show=='a'"> 491 <div class="col-xs-6" ng-show="show=='a'">
492 <label class="card-small"> 492 <label class="card-small">
493 493
494 <input type="file" file-model="data.pic" required id="picture" name="pic" accept="image/*"> 494 <input type="file" file-model="data.pic" required id="picture" name="pic" accept="image/*">
495 </label> 495 </label>
496 </div> --> 496 </div> -->
497 </div> 497 </div>
498 <!-- CLOSE stages identity-align --> 498 <!-- CLOSE stages identity-align -->
499 <div class="clearfix"></div> 499 <div class="clearfix"></div>
500 </div> 500 </div>
501 <!-- CLOSE identity-shadow --> 501 <!-- CLOSE identity-shadow -->
502 <div class="col-xs-12 input-wrapper"> 502 <div class="col-xs-12 input-wrapper">
503 <div class="icon-circle-h" style="z-index: 999;"> 503 <div class="icon-circle-h" style="z-index: 999;">
504 <i class="material-icons" style="line-height: 30px;">phone_android</i> 504 <i class="material-icons" style="line-height: 30px;">phone_android</i>
505 </div> 505 </div>
506 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;"> 506 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;">
507 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> 507 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i>
508 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> 508 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i>
509 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> 509 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button>
510 </div> 510 </div>
511 <div class="clearfix"></div> 511 <div class="clearfix"></div>
512 <div class="text-center"> 512 <div class="text-center">
513 <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> 513 <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()">
514 </div> 514 </div>
515 </div> 515 </div>
516 <!-- CLOSE step-two-form --> 516 <!-- CLOSE step-two-form -->
517 </div> 517 </div>
518 <!-- col-xs-12 col-md-8 col-md-offset-2 --> 518 <!-- col-xs-12 col-md-8 col-md-offset-2 -->
519 </form> 519 </form>
520 <!-- CLOSE FORM --> 520 <!-- CLOSE FORM -->
521 <footer> 521 <footer>
522 <img id="footer" class="img-responsive banner"> 522 <img id="footer" class="img-responsive banner">
523 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> 523 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center>
524 </footer> 524 </footer>
525 <!-- </div> CLOSE CHECK VIEW --> 525 <!-- </div> CLOSE CHECK VIEW -->
526 <div ng-if="verifyView"> 526 <div ng-if="verifyView">
527 <div style="margin-bottom: 0px;" class="text-center"> 527 <div style="margin-bottom: 0px;" class="text-center">
528 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> 528 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()">
529 <!-- <button ng-disabled="applicantForm.$invalid">Save</button> --> 529 <!-- <button ng-disabled="applicantForm.$invalid">Save</button> -->
530 </div> 530 </div>
531 </div> 531 </div>
532 </div> <!-- CLOSE NEW-CONTROLLER --> 532 </div> <!-- CLOSE NEW-CONTROLLER -->
533 <div id="snacsskbar">Registration done successfully.</div> 533 <div id="snacsskbar">Registration done successfully.</div>
534 <div class="modal fade" id="myModal" role="dialog"> 534 <div class="modal fade" id="myModal" role="dialog">
535 <div class="modal-dialog" style="left: auto;"> 535 <div class="modal-dialog" style="left: auto;">
536 <div class="modal-content"> 536 <div class="modal-content">
537 <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> 537 <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px">
538 <tbody style="background-color:#f9f9f9"> 538 <tbody style="background-color:#f9f9f9">
539 <tr> 539 <tr>
540 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 540 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
541 </tr> 541 </tr>
542 <tr> 542 <tr>
543 <td align="left" valign="top" style="padding:10px"> 543 <td align="left" valign="top" style="padding:10px">
544 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 544 <table width="100%" border="0" cellspacing="0" cellpadding="0">
545 <tbody> 545 <tbody>
546 <tr> 546 <tr>
547 <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> 547 <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td>
548 </tr> 548 </tr>
549 </tbody> 549 </tbody>
550 </table> 550 </table>
551 </td> 551 </td>
552 </tr> 552 </tr>
553 </tbody> 553 </tbody>
554 <tbody> 554 <tbody>
555 <tr> 555 <tr>
556 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 556 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
557 </tr> 557 </tr>
558 <tr> 558 <tr>
559 <td align="left" valign="top" style="padding:10px"> 559 <td align="left" valign="top" style="padding:10px">
560 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 560 <table width="100%" border="0" cellspacing="0" cellpadding="0">
561 <tbody> 561 <tbody>
562 <tr> 562 <tr>
563 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> 563 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td>
564 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> 564 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td>
565 </tr> 565 </tr>
566 </tbody> 566 </tbody>
567 </table> 567 </table>
568 </td> 568 </td>
569 </tr> 569 </tr>
570 <tr> 570 <tr>
571 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 571 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
572 </tr> 572 </tr>
573 <tr> 573 <tr>
574 <td align="left" valign="top" style="padding:10px"> 574 <td align="left" valign="top" style="padding:10px">
575 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 575 <table width="100%" border="0" cellspacing="0" cellpadding="0">
576 <tbody> 576 <tbody>
577 <tr> 577 <tr>
578 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> 578 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td>
579 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> 579 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td>
580 </tr> 580 </tr>
581 </tbody> 581 </tbody>
582 </table> 582 </table>
583 </td> 583 </td>
584 </tr> 584 </tr>
585 <tr> 585 <tr>
586 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 586 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
587 </tr> 587 </tr>
588 <tr> 588 <tr>
589 <td align="left" valign="top" style="padding:10px"> 589 <td align="left" valign="top" style="padding:10px">
590 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 590 <table width="100%" border="0" cellspacing="0" cellpadding="0">
591 <tbody> 591 <tbody>
592 <tr> 592 <tr>
593 <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> 593 <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td>
594 <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> 594 <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td>
595 </tr> 595 </tr>
596 </tbody> 596 </tbody>
597 </table> 597 </table>
598 </td> 598 </td>
599 </tr> 599 </tr>
600 <tr> 600 <tr>
601 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 601 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
602 </tr> 602 </tr>
603 <tr> 603 <tr>
604 <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> 604 <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px">
605 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 605 <table width="100%" border="0" cellspacing="0" cellpadding="0">
606 <tbody> 606 <tbody>
607 <tr> 607 <tr>
608 <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> 608 <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td>
609 <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> 609 <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td>
610 </tr> 610 </tr>
611 </tbody> 611 </tbody>
612 </table> 612 </table>
613 </td> 613 </td>
614 </tr> 614 </tr>
615 <tr> 615 <tr>
616 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 616 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
617 </tr> 617 </tr>
618 </tbody> 618 </tbody>
619 </table> 619 </table>
620 <div style="text-align:center;margin-bottom:5%"> 620 <div style="text-align:center;margin-bottom:5%">
621 <button type="button" style="color:#fff;background-color:#4CAF50;margin-top:5%" class="btn btn-default" data-dismiss="modal" ng-click="create()">Proceed to Pay</button> 621 <button type="button" style="color:#fff;background-color:#4CAF50;margin-top:5%" class="btn btn-default" data-dismiss="modal" ng-click="create()">Proceed to Pay</button>
622 </div> 622 </div>
623 </div> 623 </div>
624 </div> 624 </div>
625 </div> 625 </div>
pages/verify.html
1 <div class="panel-heading" style="background-color: #42b549;"><img src="images/white.png" style="width: 100px;"></div> 1 <div class="panel-heading" style="background-color: #42b549;"><img src="images/white.png" style="width: 100px;"></div>
2 <div class="container container1"> 2 <div class="container container1">
3 <div class="row"> 3 <div class="row">
4 <div class="col-md-6 col-md-offset-3"> 4 <div class="col-md-6 col-md-offset-3">
5 <div class="panel panel-default"> 5 <div class="panel panel-default">
6 <div class="panel-body"> 6 <div class="panel-body">
7 <div class="box box-info"> 7 <div class="box box-info">
8 <div class="box-body"> 8 <div class="box-body">
9 <div class="card" style="width: 31%;margin: 5% 34%"> 9 <div style="padding: 0% 27% 3%;">
10 <div style="padding: 0% 20% 6%;"> 10 <h4>Payment Verification</h4>
11 <img class="irc_mi" src="https://www.library.caltech.edu/sites/default/files/styles/headshot/public/default_images/user.png?itok=1HlTtL2d" style="margin-bottom:1%; width:100%;"> 11 </div>
12 </div> 12 <div class="clearfix"></div>
13 <!-- <div class="container container1"> --> 13 <div style="margin:5px 0 5px 0;text-transform: capitalize;">
14 <!-- <div class="col-sm-6">
15 <label style="color:#837F7E;margin:36% 58%;font-size:22px">{{data.name}}</label>
16 </div> -->
17 <!-- </div> -->
18 </div>
19 <div class="clearfix"></div>
20 <div style="margin:5px 0 5px 0">
21 <div class="col-sm-5 col-xs-6 tital">Name:</div> 14 <div class="col-sm-5 col-xs-6 tital">Name:</div>
22 <div class="col-sm-7 col-xs-6">{{data.name}}</div> 15 <div class="col-sm-7 col-xs-6">{{data.name}}</div>
23 <div class="clearfix"></div> 16 <div class="clearfix"></div>
24 <div class="bot-border"></div> 17 <div class="bot-border"></div>
25 <div class="col-sm-5 col-xs-6 tital">Amount:</div> 18 <div class="col-sm-5 col-xs-6 tital">Amount:</div>
26 <div class="col-sm-7">{{paymentRecord[0].amount}}</div> 19 <div class="col-sm-7">{{paymentRecord[0].amount}}</div>
27 <div class="clearfix"></div> 20 <div class="clearfix"></div>
28 <div class="bot-border"></div> 21 <div class="bot-border"></div>
29 <div class="col-sm-5 col-xs-6 tital">Currency:</div> 22 <div class="col-sm-5 col-xs-6 tital">Currency:</div>
30 <div class="col-sm-7">INR</div> 23 <div class="col-sm-7">INR</div>
31 <div class="clearfix"></div> 24 <div class="clearfix"></div>
32 <div class="bot-border"></div> 25 <div class="bot-border"></div>
33 <div class="col-sm-5 col-xs-6 tital">Status:</div> 26 <div class="col-sm-5 col-xs-6 tital">Status:</div>
34 <div class="col-sm-7">{{paymentRecord[0].status}}</div> 27 <div class="col-sm-7">{{paymentRecord[0].status}}</div>
35 <div class="clearfix"></div> 28 <div class="clearfix"></div>
36 <div class="bot-border"></div> 29 <div class="bot-border"></div>
37 </div> 30 </div>
38 <!-- /.box -->
39
40 </div> 31 </div>
41 </div> 32 </div>
42 <div style="text-align:center; margin: 4% 4%;"> 33 <div style="text-align:center; margin-top:6%;margin-bottom:5%">
43 <input type="button" class="btn submit-button" value="payment" ng-click="update()"> 34 <input type="button" class="btn submit-button" value="payment" ng-click="update()">
44 </div> 35 </div>
45 </div> 36 </div>
46 </div> 37 </div>
47 38
48 <script> 39 <script>
49 $(function() { 40 $(function() {
50 $('#profile-image1').on('click', function() { 41 $('#profile-image1').on('click', function() {
51 $('#profile-image-upload').click(); 42 $('#profile-image-upload').click();
52 }); 43 });
53 }); 44 });
54 </script> 45 </script>
55 </div> 46 </div>
56 </div> 47 </div>
57 </div> 48 </div>
58 <div class="clearfix"></div> 49 <div class="clearfix"></div>
59 <footer> 50 <footer>
60 <img id="footer" class="img-responsive banner"> 51 <img id="footer" class="img-responsive banner">
61 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> 52 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a>
62 </center> 53 </center>
63 </footer> 54 </footer>
64 55
65 56
66 57
1 // create the module and name it scotchApp 1 // create the module and name it scotchApp
2 var scotchApp = angular.module('scotchApp', ['ngRoute']); 2 var scotchApp = angular.module('scotchApp', ['ngRoute']);
3 3
4 // configure our routes 4 // configure our routes
5 scotchApp.config(function($routeProvider) { 5 scotchApp.config(function($routeProvider) {
6 $routeProvider 6 $routeProvider
7 7
8 // route for the home page 8 // route for the home page
9 .when('/', { 9 .when('/', {
10 templateUrl: 'pages/home.html', 10 templateUrl: 'pages/home.html',
11 controller: 'mainController' 11 controller: 'mainController'
12 }) 12 })
13 13
14 // route for the about page 14 // route for the about page
15 .when('/verification/=:id', { 15 .when('/verification/:id', {
16 templateUrl: 'pages/verify.html', 16 templateUrl: 'pages/verify.html',
17 controller: 'verifyController' 17 controller: 'verifyController'
18 }) 18 })
19 19
20 // route for the ambassador page 20 // route for the ambassador page
21 .when('/ambassador', { 21 .when('/ambassador', {
22 templateUrl: 'pages/ambassador.html', 22 templateUrl: 'pages/ambassador.html',
23 controller: 'ambassadorController' 23 controller: 'ambassadorController'
24 }) 24 })
25 }); 25 });
26 26
27 // create the controller and inject Angular's $scope 27 // create the controller and inject Angular's $scope
28 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope) { 28 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope) {
29 29
30 30
31 31
32 $scope.data = { 32 $scope.data = {
33 show: true, 33 show: true,
34 hide: false 34 hide: false
35 }; 35 };
36 36
37 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 37 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
38 38
39 $scope.max = 100; 39 $scope.max = 100;
40 $scope.current = 0; 40 $scope.current = 0;
41 $scope.payingAmnt = 0; 41 $scope.payingAmnt = 0;
42 if ($scope.data.stage == 'select') { 42 if ($scope.data.stage == 'select') {
43 console.log("sdsaasd"); 43 console.log("sdsaasd");
44 44
45 } 45 }
46 46
47 $scope.author = 'Swarn Singh'; 47 $scope.author = 'Swarn Singh';
48 $scope.data = {}; 48 $scope.data = {};
49 $scope.data.stage = 'Idea'; 49 $scope.data.stage = 'Idea';
50 $scope.discountAmount = 0; 50 $scope.discountAmount = 0;
51 //$scope.data.email = ''; 51 //$scope.data.email = '';
52 $scope.check = false; 52 $scope.check = false;
53 $scope.numberCheck = false; 53 $scope.numberCheck = false;
54 // $scope.tokencheck = false; 54 // $scope.tokencheck = false;
55 $scope.paymentResult = {}; 55 $scope.paymentResult = {};
56 var BASE_URL = "http://139.59.68.74:4001/api"; 56 var BASE_URL = "http://0.0.0.0:4001/api";
57 var data = { 57 var data = {
58 "amount": $scope.payingAmnt, 58 "amount": $scope.payingAmnt,
59 "currency": "INR", 59 "currency": "INR",
60 "status": "pending" 60 "status": "pending"
61 } 61 }
62 62
63 $scope.removeError = function() { 63 $scope.removeError = function() {
64 $('#invalidEmail').css('display', 'none'); 64 $('#invalidEmail').css('display', 'none');
65 $('#alreadyExist').css('display', 'none'); 65 $('#alreadyExist').css('display', 'none');
66 }; 66 };
67 67
68 $scope.emailcheck = function(val) { 68 $scope.emailcheck = function(val) {
69 //console.log('val', val); 69 //console.log('val', val);
70 if (val == undefined) { 70 if (val == undefined) {
71 $('#invalidEmail').css('display', 'block'); 71 $('#invalidEmail').css('display', 'block');
72 } else { 72 } else {
73 $http({ 73 $http({
74 method: 'GET', 74 method: 'GET',
75 url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', 75 url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
76 //data: email, 76 //data: email,
77 headers: {} 77 headers: {}
78 }).then(function mySuccess(searchResult) { 78 }).then(function mySuccess(searchResult) {
79 console.log("searchResult1===>", searchResult) 79 console.log("searchResult1===>", searchResult)
80 if (searchResult.data.length == 0) { 80 if (searchResult.data.length == 0) {
81 $scope.check = false; 81 $scope.check = false;
82 } else { 82 } else {
83 $scope.check = true; 83 $scope.check = true;
84 $('#alreadyExist').css('display', 'block'); 84 $('#alreadyExist').css('display', 'block');
85 } 85 }
86 }, function myError(error) {}); 86 }, function myError(error) {});
87 } 87 }
88 }; 88 };
89 89
90 $scope.removeNoError = function() { 90 $scope.removeNoError = function() {
91 $('#noExist').css('display', 'none'); 91 $('#noExist').css('display', 'none');
92 }; 92 };
93 93
94 $scope.numbercheck = function(number) { 94 $scope.numbercheck = function(number) {
95 $http({ 95 $http({
96 method: 'GET', 96 method: 'GET',
97 url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', 97 url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}',
98 data: $scope.data, 98 data: $scope.data,
99 headers: {} 99 headers: {}
100 }).then(function mySuccess(searchResult) { 100 }).then(function mySuccess(searchResult) {
101 console.log("searchResult===>", searchResult) 101 console.log("searchResult===>", searchResult)
102 if (searchResult.data.length == 0) { 102 if (searchResult.data.length == 0) {
103 $scope.numberCheck = false; 103 $scope.numberCheck = false;
104 104
105 } else { 105 } else {
106 $scope.numberCheck = true; 106 $scope.numberCheck = true;
107 $('#noExist').css('display', 'block'); 107 $('#noExist').css('display', 'block');
108 } 108 }
109 }, function myError(error) {}); 109 }, function myError(error) {});
110 }; 110 };
111 111
112 $rootScope.tokenCall = function(val) { 112 $rootScope.tokenCall = function(val) {
113 console.log('val-------->', val); 113 console.log('val-------->', val);
114 if (val == undefined) { 114 if (val == undefined) {
115 $('#invalidEmail').css('display', 'block'); 115 $('#invalidEmail').css('display', 'block');
116 } else { 116 } else {
117 val = val.toUpperCase(); 117 val = val.toUpperCase();
118 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') 118 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}')
119 .then(function(searchResult) { 119 .then(function(searchResult) {
120 if (searchResult.data.length == 0) { 120 if (searchResult.data.length == 0) {
121 $scope.tokencheck = false; 121 $scope.tokencheck = false;
122 $scope.discountAmount = 0; 122 $scope.discountAmount = 0;
123 } else { 123 } else {
124 $scope.tokencheck = true; 124 $scope.tokencheck = true;
125 // $('#alreadyExist').css('display', 'block'); 125 // $('#alreadyExist').css('display', 'block');
126 } 126 }
127 },function(err){ 127 },function(err){
128 console.log(err) 128 console.log(err)
129 }); 129 });
130 130
131 } 131 }
132 }; 132 };
133 133
134 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ 134 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
135 $(document).ready( 135 $(document).ready(
136 function() { 136 function() {
137 $('input:submit').attr('disabled', true); 137 $('input:submit').attr('disabled', true);
138 $('input:file').change( 138 $('input:file').change(
139 function() { 139 function() {
140 if ($("#picture").val()) { 140 if ($("#picture").val()) {
141 $('input:submit').removeAttr('disabled'); 141 $('input:submit').removeAttr('disabled');
142 } else { 142 } else {
143 $('input:submit').attr('disabled', true); 143 $('input:submit').attr('disabled', true);
144 } 144 }
145 }); 145 });
146 }); 146 });
147 147
148 /*****THIS IS FOR STEP ONE FORM ******/ 148 /*****THIS IS FOR STEP ONE FORM ******/
149 $scope.next = function() { 149 $scope.next = function() {
150 var BASE_URL = "http://139.59.68.74:4001/api"; 150 var BASE_URL = "http://0.0.0.0:4001/api";
151 $scope.data.status = null 151 $scope.data.status = null
152 if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { 152 if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) {
153 var x = document.getElementById("snackbar") 153 var x = document.getElementById("snackbar")
154 x.className = "show"; 154 x.className = "show";
155 setTimeout(function() { 155 setTimeout(function() {
156 x.className = x.className.replace("show", ""); 156 x.className = x.className.replace("show", "");
157 }, 3000); 157 }, 3000);
158 } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { 158 } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) {
159 $scope.infoForm = true; 159 $scope.infoForm = true;
160 console.log("sdasdasdsa"); 160 console.log("sdasdasdsa");
161 $scope.data.stage = $scope.data.stage; 161 $scope.data.stage = $scope.data.stage;
162 $scope.detail = {}; 162 $scope.detail = {};
163 $scope.data.phone = "+91" + $scope.data.number; 163 $scope.data.phone = "+91" + $scope.data.number;
164 $http({ 164 $http({
165 method: 'POST', 165 method: 'POST',
166 url: BASE_URL + '/information', 166 url: BASE_URL + '/information',
167 data: $scope.data, 167 data: $scope.data,
168 headers: {} 168 headers: {}
169 }).then(function mySuccess(result) { 169 }).then(function mySuccess(result) {
170 console.log("result", result) 170 console.log("result", result)
171 $scope.detail = result; 171 $scope.detail = result;
172 data.applicantId = result.data.id; 172 data.applicantId = result.data.id;
173 $scope.userId = result.data.id; 173 $scope.userId = result.data.id;
174 174
175 }, function myError(error) {}); 175 }, function myError(error) {});
176 } 176 }
177 177
178 } 178 }
179 179
180 180
181 $scope.calculateAmount = function(){ 181 $scope.calculateAmount = function(){
182 if ($scope.data.stage == "Idea") { 182 if ($scope.data.stage == "Idea") {
183 console.log("$scope.data", $scope.data) 183 console.log("$scope.data", $scope.data)
184 $scope.ticketAmnt = 500; 184 $scope.ticketAmnt = 500;
185 } 185 }
186 186
187 if ($scope.data.stage == "Product") { 187 if ($scope.data.stage == "Product") {
188 $scope.ticketAmnt = 1000; 188 $scope.ticketAmnt = 1000;
189 } 189 }
190 190
191 if ($scope.data.stage == "Growth") { 191 if ($scope.data.stage == "Growth") {
192 $scope.ticketAmnt = 2000; 192 $scope.ticketAmnt = 2000;
193 } 193 }
194 194
195 if($scope.tokencheck == true){ 195 if($scope.tokencheck == true){
196 var amount = $scope.ticketAmnt 196 var amount = $scope.ticketAmnt
197 $scope.discountAmount = (amount * 10)/100 197 $scope.discountAmount = (amount * 10)/100
198 console.log("finalAmount====>",$scope.payingAmnt) 198 console.log("finalAmount====>",$scope.payingAmnt)
199 } 199 }
200 200
201 var taxAmount = $scope.ticketAmnt - $scope.discountAmount 201 var taxAmount = $scope.ticketAmnt - $scope.discountAmount
202 $scope.taxTotal = (taxAmount * 18)/100 202 $scope.taxTotal = (taxAmount * 18)/100
203 $scope.payingAmnt = taxAmount + $scope.taxTotal 203 $scope.payingAmnt = taxAmount + $scope.taxTotal
204 console.log("taxincludedamount----", $scope.payingAmnt) 204 console.log("taxincludedamount----", $scope.payingAmnt)
205 } 205 }
206 206
207 /*****THIS IS FOR STEP THREE FORM ******/ 207 /*****THIS IS FOR STEP THREE FORM ******/
208 $scope.create = function() { 208 $scope.create = function() {
209 console.log("$scope.data.identity", $scope.data.identity) 209 console.log("$scope.data.identity", $scope.data.identity)
210 /*****PAYMENT WITH 18% GST*****/ 210 /*****PAYMENT WITH 18% GST*****/
211 211
212 212
213 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { 213 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
214 var x = document.getElementById("snackbar") 214 var x = document.getElementById("snackbar")
215 x.className = "show"; 215 x.className = "show";
216 setTimeout(function() { 216 setTimeout(function() {
217 x.className = x.className.replace("show", ""); 217 x.className = x.className.replace("show", "");
218 }, 3000); 218 }, 3000);
219 } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { 219 } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
220 220
221 221
222 // if($scope.data.identity == "student"){ 222 // if($scope.data.identity == "student"){
223 223
224 // var image = BASE_URL+'/container1s/proof/download/' 224 // var image = BASE_URL+'/container1s/proof/download/'
225 // console.log("image",image) 225 // console.log("image",image)
226 // var image = document.getElementById('picture').files[0]; 226 // var image = document.getElementById('picture').files[0];
227 // var imagePath = image.name; 227 // var imagePath = image.name;
228 // $scope.NewIamge = image + imagePath; 228 // $scope.NewIamge = image + imagePath;
229 // $scope.data.pic = $scope.NewIamge; 229 // $scope.data.pic = $scope.NewIamge;
230 // var fd = new FormData() 230 // var fd = new FormData()
231 // fd.append('file',image); 231 // fd.append('file',image);
232 // $http({ 232 // $http({
233 // method:'POST', 233 // method:'POST',
234 // url: BASE_URL+'/container1s/proof/upload', 234 // url: BASE_URL+'/container1s/proof/upload',
235 // data:fd, 235 // data:fd,
236 // transformRequest:angular.identity, 236 // transformRequest:angular.identity,
237 // headers:{'Content-Type':undefined} 237 // headers:{'Content-Type':undefined}
238 // }).then(function mySuccess(sucessResponse) { 238 // }).then(function mySuccess(sucessResponse) {
239 239
240 240
241 // }, function myError(error) { 241 // }, function myError(error) {
242 // }); 242 // });
243 243
244 // } 244 // }
245 var BASE_URL = "http://139.59.68.74:4001/api"; 245 var BASE_URL = "http://0.0.0.0:4001/api";
246 console.log("BASE_URL", BASE_URL) 246 console.log("BASE_URL", BASE_URL)
247 $scope.infoForm = true; 247 $scope.infoForm = true;
248 console.log("sdasdasdsa"); 248 console.log("sdasdasdsa");
249 $scope.data.stage = $scope.data.stage; 249 $scope.data.stage = $scope.data.stage;
250 $scope.detail = {}; 250 $scope.detail = {};
251 $scope.data.phone = "+91" + $scope.data.number; 251 $scope.data.phone = "+91" + $scope.data.number;
252 $http({ 252 $http({
253 method: 'POST', 253 method: 'POST',
254 url: BASE_URL + '/applicants', 254 url: BASE_URL + '/applicants',
255 data: $scope.data, 255 data: $scope.data,
256 headers: {} 256 headers: {}
257 }).then(function mySuccess(result) { 257 }).then(function mySuccess(result) {
258 258
259 console.log("=====result=====", result) 259 console.log("=====result=====", result)
260 $scope.detail = result; 260 $scope.detail = result;
261 data.applicantId = result.data.id; 261 data.applicantId = result.data.id;
262 $scope.userId = result.data.id; 262 $scope.userId = result.data.id;
263 console.log("=====data=====", data) 263 console.log("=====data=====", data)
264 data.amount = $scope.payingAmnt; 264 data.amount = $scope.payingAmnt;
265 if ($scope.detail != null) { 265 if ($scope.detail != null) {
266 $http({ 266 $http({
267 method: 'POST', 267 method: 'POST',
268 url: BASE_URL + '/payments', 268 url: BASE_URL + '/payments',
269 data: data, 269 data: data,
270 headers: {} 270 headers: {}
271 }).then(function mySuccess(paymentResult) { 271 }).then(function mySuccess(paymentResult) {
272 $scope.paymentResult = paymentResult; 272 $scope.paymentResult = paymentResult;
273 }, function myError(error) {}); 273 }, function myError(error) {});
274 } 274 }
275 var i = 0; 275 var i = 0;
276 $scope.payingAmnt = $scope.payingAmnt * 100; 276 $scope.payingAmnt = $scope.payingAmnt * 100;
277 var options = { 277 var options = {
278 "key": "rzp_test_YwHsVFiDIQ2WUQ", 278 "key": "rzp_test_YwHsVFiDIQ2WUQ",
279 "amount": $scope.payingAmnt, 279 "amount": $scope.payingAmnt,
280 280
281 "name": "Startup Jalsa", 281 "name": "Startup Jalsa",
282 "description": "amount", 282 "description": "amount",
283 "currency": "INR", 283 "currency": "INR",
284 "status": "done", 284 "status": "done",
285 285
286 "theme": { 286 "theme": {
287 "color": "#2196f3 ", 287 "color": "#2196f3 ",
288 "image_padding": "NO" 288 "image_padding": "NO"
289 }, 289 },
290 "modal": { 290 "modal": {
291 "ondismiss": function() {} 291 "ondismiss": function() {}
292 }, 292 },
293 "handler": function(response) { 293 "handler": function(response) {
294 createPayment(response); 294 createPayment(response);
295 } 295 }
296 }; 296 };
297 var rzp1 = new Razorpay(options); 297 var rzp1 = new Razorpay(options);
298 rzp1.open(); 298 rzp1.open();
299 $scope.paymentResponse = {}; 299 $scope.paymentResponse = {};
300 300
301 function createPayment(response) { 301 function createPayment(response) {
302 $route.reload(); 302 $route.reload();
303 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 303 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
304 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 304 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
305 $scope.paymentResponse.amount = data.amount; 305 $scope.paymentResponse.amount = data.amount;
306 $scope.paymentResponse.currency = "INR"; 306 $scope.paymentResponse.currency = "INR";
307 $scope.paymentResponse.status = "captured"; 307 $scope.paymentResponse.status = "captured";
308 $http({ 308 $http({
309 method: 'PUT', 309 method: 'PUT',
310 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, 310 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id,
311 data: $scope.paymentResponse, 311 data: $scope.paymentResponse,
312 headers: {} 312 headers: {}
313 }).then(function mySuccess(searchResult) { 313 }).then(function mySuccess(searchResult) {
314 console.log("searchResult", searchResult) 314 console.log("searchResult", searchResult)
315 $scope.showToastr() 315 $scope.showToastr()
316 //toaster.success("Registration done successfully"); 316 //toaster.success("Registration done successfully");
317 317
318 }, function myError(error) {}); 318 }, function myError(error) {});
319 } 319 }
320 320
321 }, function myError(error) {}); 321 }, function myError(error) {});
322 } 322 }
323 323
324 } 324 }
325 325
326 $scope.showToastr = function() { 326 $scope.showToastr = function() {
327 console.log("called toast") 327 console.log("called toast")
328 var x = document.getElementById("snacsskbar") 328 var x = document.getElementById("snacsskbar")
329 x.className = "show"; 329 x.className = "show";
330 setTimeout(function() { 330 setTimeout(function() {
331 x.className = x.className.replace("show", ""); 331 x.className = x.className.replace("show", "");
332 }, 3000); 332 }, 3000);
333 } 333 }
334 334
335 // $scope.lastpage = function(){ 335 // $scope.lastpage = function(){
336 // console.log("sdasd"); 336 // console.log("sdasd");
337 // $('.sectors-card').css('display', 'inherit'); 337 // $('.sectors-card').css('display', 'inherit');
338 // $('.form-all').css('display', 'inherit'); 338 // $('.form-all').css('display', 'inherit');
339 // $('.submit-button').css('display', 'inherit'); 339 // $('.submit-button').css('display', 'inherit');
340 // } 340 // }
341 /*kk***This code for change data when click to chooses stages***/ 341 /*kk***This code for change data when click to chooses stages***/
342 $scope.businessmodel = true; 342 $scope.businessmodel = true;
343 $scope.Idea = true; 343 $scope.Idea = true;
344 $scope.current = true; 344 $scope.current = true;
345 345
346 $scope.stage = function(stage) { 346 $scope.stage = function(stage) {
347 // $('.sectors-card').css('display', 'block'); 347 // $('.sectors-card').css('display', 'block');
348 // $('.form-all').css('display', 'block'); 348 // $('.form-all').css('display', 'block');
349 // $('.identity-shadow').css('display', 'block'); 349 // $('.identity-shadow').css('display', 'block');
350 // $('.step-two-form').css('display', 'block'); 350 // $('.step-two-form').css('display', 'block');
351 // $('.step-three-form').css('display', 'block'); 351 // $('.step-three-form').css('display', 'block');
352 352
353 if (stage == 'Idea') { 353 if (stage == 'Idea') {
354 $scope.current = 10; 354 $scope.current = 10;
355 $scope.prototyp = false; 355 $scope.prototyp = false;
356 $scope.market = false; 356 $scope.market = false;
357 $scope.risks = false; 357 $scope.risks = false;
358 $scope.team = false; 358 $scope.team = false;
359 $scope.pitch = false; 359 $scope.pitch = false;
360 $scope.financials = false; 360 $scope.financials = false;
361 $scope.businessmodel = true; 361 $scope.businessmodel = true;
362 // for right content 362 // for right content
363 $scope.Idea = true; 363 $scope.Idea = true;
364 $scope.Product = false; 364 $scope.Product = false;
365 $scope.Growth = false; 365 $scope.Growth = false;
366 } else if (stage == 'Product') { 366 } else if (stage == 'Product') {
367 $scope.current = 10; 367 $scope.current = 10;
368 $scope.prototyp = true; 368 $scope.prototyp = true;
369 $scope.market = true; 369 $scope.market = true;
370 $scope.risks = true; 370 $scope.risks = true;
371 $scope.team = true; 371 $scope.team = true;
372 $scope.pitch = true; 372 $scope.pitch = true;
373 $scope.financials = true; 373 $scope.financials = true;
374 $scope.businessmodel = false; 374 $scope.businessmodel = false;
375 // for right content 375 // for right content
376 $scope.Idea = false; 376 $scope.Idea = false;
377 $scope.Product = true; 377 $scope.Product = true;
378 $scope.Growth = false; 378 $scope.Growth = false;
379 } else if (stage == 'Growth') { 379 } else if (stage == 'Growth') {
380 $scope.current = 10; 380 $scope.current = 10;
381 $scope.prototyp = true; 381 $scope.prototyp = true;
382 $scope.market = true; 382 $scope.market = true;
383 $scope.risks = true; 383 $scope.risks = true;
384 $scope.team = true; 384 $scope.team = true;
385 $scope.pitch = true; 385 $scope.pitch = true;
386 $scope.financials = true; 386 $scope.financials = true;
387 $scope.businessmodel = false; 387 $scope.businessmodel = false;
388 // for right content 388 // for right content
389 $scope.Idea = false; 389 $scope.Idea = false;
390 $scope.Product = false; 390 $scope.Product = false;
391 $scope.Growth = true; 391 $scope.Growth = true;
392 } 392 }
393 } 393 }
394 394
395 // $scope.sector = function(sector){ 395 // $scope.sector = function(sector){
396 // if (sector == 'retail') { 396 // if (sector == 'retail') {
397 // $scope.current = true; 397 // $scope.current = true;
398 398
399 // }else if(sector == 'b2b commerce') { 399 // }else if(sector == 'b2b commerce') {
400 // $scope.current = true; 400 // $scope.current = true;
401 401
402 // }else if(sector == 'agritech') { 402 // }else if(sector == 'agritech') {
403 // $scope.current = true; 403 // $scope.current = true;
404 404
405 // }else if(sector == 'travel') { 405 // }else if(sector == 'travel') {
406 // $scope.current = true; 406 // $scope.current = true;
407 407
408 // }else if(sector == 'fintech') { 408 // }else if(sector == 'fintech') {
409 // $scope.current = true; 409 // $scope.current = true;
410 410
411 // }else if(sector == 'hyperlocal services') { 411 // }else if(sector == 'hyperlocal services') {
412 // $scope.current = true; 412 // $scope.current = true;
413 413
414 // }else if(sector == 'education') { 414 // }else if(sector == 'education') {
415 // $scope.current = true; 415 // $scope.current = true;
416 416
417 // }else if(sector == 'rural') { 417 // }else if(sector == 'rural') {
418 // $scope.current = true; 418 // $scope.current = true;
419 // } 419 // }
420 // } 420 // }
421 // $scope.sector = function(sector){ 421 // $scope.sector = function(sector){
422 // if (sector == 'retail') { 422 // if (sector == 'retail') {
423 // $scope.current = true; 423 // $scope.current = true;
424 424
425 // }else if(sector == 'b2b commerce') { 425 // }else if(sector == 'b2b commerce') {
426 // $scope.current = true; 426 // $scope.current = true;
427 427
428 // }else if(sector == 'agritech') { 428 // }else if(sector == 'agritech') {
429 // $scope.current = true; 429 // $scope.current = true;
430 430
431 // }else if(sector == 'travel') { 431 // }else if(sector == 'travel') {
432 // $scope.current = true; 432 // $scope.current = true;
433 433
434 // }else if(sector == 'fintech') { 434 // }else if(sector == 'fintech') {
435 // $scope.current = true; 435 // $scope.current = true;
436 436
437 // }else if(sector == 'hyperlocal services') { 437 // }else if(sector == 'hyperlocal services') {
438 // $scope.current = true; 438 // $scope.current = true;
439 439
440 // }else if(sector == 'education') { 440 // }else if(sector == 'education') {
441 // $scope.current = true; 441 // $scope.current = true;
442 442
443 // }else if(sector == 'rural') { 443 // }else if(sector == 'rural') {
444 // $scope.current = true; 444 // $scope.current = true;
445 // } 445 // }
446 // } 446 // }
447 447
448 // $scope.entername = function(name){ 448 // $scope.entername = function(name){
449 // if (name == undefined) { 449 // if (name == undefined) {
450 // $scope.current = false; 450 // $scope.current = false;
451 // }else if (name != undefined){ 451 // }else if (name != undefined){
452 // $scope.current = true; 452 // $scope.current = true;
453 // } 453 // }
454 // } 454 // }
455 // $scope.enteremail = function(email){ 455 // $scope.enteremail = function(email){
456 // if (email == undefined) { 456 // if (email == undefined) {
457 // $scope.current = false; 457 // $scope.current = false;
458 // }else if (email != undefined){ 458 // }else if (email != undefined){
459 // $scope.current = true; 459 // $scope.current = true;
460 // } 460 // }
461 // } 461 // }
462 // $scope.enternumber = function(number){ 462 // $scope.enternumber = function(number){
463 // if (name == undefined) { 463 // if (name == undefined) {
464 // $scope.current = false; 464 // $scope.current = false;
465 // }else if (name != undefined){ 465 // }else if (name != undefined){
466 // $scope.current = true; 466 // $scope.current = true;
467 // } 467 // }
468 // } 468 // }
469 // $scope.selectcity = function(city){ 469 // $scope.selectcity = function(city){
470 // console.log("city",city); 470 // console.log("city",city);
471 // if (name == undefined) { 471 // if (name == undefined) {
472 // $scope.current = false; 472 // $scope.current = false;
473 // }else if (name != undefined){ 473 // }else if (name != undefined){
474 // $scope.current = true; 474 // $scope.current = true;
475 // } 475 // }
476 // } 476 // }
477 // $scope.entertechnology = function(technology){ 477 // $scope.entertechnology = function(technology){
478 // console.log("technology",technology); 478 // console.log("technology",technology);
479 // if (name == undefined) { 479 // if (name == undefined) {
480 // $scope.current = false; 480 // $scope.current = false;
481 // }else if (name != undefined){ 481 // }else if (name != undefined){
482 // $scope.current = true; 482 // $scope.current = true;
483 // } 483 // }
484 // } 484 // }
485 // $scope.enterproblem = function(problem){ 485 // $scope.enterproblem = function(problem){
486 // console.log("problem",problem); 486 // console.log("problem",problem);
487 // if (name == undefined) { 487 // if (name == undefined) {
488 // $scope.current = false; 488 // $scope.current = false;
489 // }else if (name != undefined){ 489 // }else if (name != undefined){
490 // $scope.current = true; 490 // $scope.current = true;
491 // } 491 // }
492 // } 492 // }
493 // $scope.entersolution = function(solution){ 493 // $scope.entersolution = function(solution){
494 // console.log("solution",solution); 494 // console.log("solution",solution);
495 // if (name == undefined) { 495 // if (name == undefined) {
496 // $scope.current = false; 496 // $scope.current = false;
497 // }else if (name != undefined){ 497 // }else if (name != undefined){
498 // $scope.current = true; 498 // $scope.current = true;
499 // } 499 // }
500 // } 500 // }
501 $scope.enterbusiness = function(business) { 501 $scope.enterbusiness = function(business) {
502 console.log("business", business); 502 console.log("business", business);
503 if (name == undefined) { 503 if (name == undefined) {
504 $scope.current = false; 504 $scope.current = false;
505 } else if (name != undefined) { 505 } else if (name != undefined) {
506 $scope.current = true; 506 $scope.current = true;
507 } 507 }
508 } 508 }
509 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ 509 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/
510 $scope.stagekeyPress = function() { 510 $scope.stagekeyPress = function() {
511 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); 511 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)');
512 } 512 }
513 $scope.sectorkeyPress = function() { 513 $scope.sectorkeyPress = function() {
514 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); 514 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)');
515 } 515 }
516 516
517 $scope.studentkeyPress = function() { 517 $scope.studentkeyPress = function() {
518 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); 518 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)');
519 } 519 }
520 520
521 $scope.namekeyPress = function(name) { 521 $scope.namekeyPress = function(name) {
522 console.log("name", name); 522 console.log("name", name);
523 if (name == undefined) { 523 if (name == undefined) {
524 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); 524 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)');
525 } else { 525 } else {
526 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); 526 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)');
527 } 527 }
528 } 528 }
529 $scope.emailkeyPress = function(email) { 529 $scope.emailkeyPress = function(email) {
530 console.log("email", email); 530 console.log("email", email);
531 if (email == undefined) { 531 if (email == undefined) {
532 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); 532 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)');
533 } else { 533 } else {
534 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); 534 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)');
535 } 535 }
536 } 536 }
537 537
538 538
539 $scope.phonekeyPress = function(number) { 539 $scope.phonekeyPress = function(number) {
540 console.log("number", number); 540 console.log("number", number);
541 if (number == undefined) { 541 if (number == undefined) {
542 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); 542 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)');
543 } else { 543 } else {
544 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); 544 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)');
545 } 545 }
546 } 546 }
547 547
548 $scope.citykeyPress = function(city) { 548 $scope.citykeyPress = function(city) {
549 console.log("city", city); 549 console.log("city", city);
550 if (city == undefined) { 550 if (city == undefined) {
551 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); 551 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)');
552 } else { 552 } else {
553 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); 553 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)');
554 } 554 }
555 } 555 }
556 556
557 $scope.questionkeyPress = function(q) { 557 $scope.questionkeyPress = function(q) {
558 if (q == undefined) { 558 if (q == undefined) {
559 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); 559 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)');
560 } else { 560 } else {
561 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); 561 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)');
562 } 562 }
563 } 563 }
564 564
565 $scope.technologykeyPress = function(technology) { 565 $scope.technologykeyPress = function(technology) {
566 if (technology == undefined) { 566 if (technology == undefined) {
567 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); 567 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)');
568 } else { 568 } else {
569 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); 569 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)');
570 } 570 }
571 } 571 }
572 $scope.problemkeyPress = function(problem) { 572 $scope.problemkeyPress = function(problem) {
573 if (problem == undefined) { 573 if (problem == undefined) {
574 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); 574 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)');
575 } else { 575 } else {
576 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); 576 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)');
577 } 577 }
578 } 578 }
579 $scope.solutionkeyPress = function(solution) { 579 $scope.solutionkeyPress = function(solution) {
580 if (solution == undefined) { 580 if (solution == undefined) {
581 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); 581 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)');
582 } else { 582 } else {
583 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); 583 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)');
584 } 584 }
585 } 585 }
586 $scope.businesskeyPress = function(business) { 586 $scope.businesskeyPress = function(business) {
587 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); 587 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)');
588 } 588 }
589 589
590 $scope.prototypekeyPress = function(prototype) { 590 $scope.prototypekeyPress = function(prototype) {
591 if (prototype == undefined) { 591 if (prototype == undefined) {
592 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); 592 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)');
593 } else { 593 } else {
594 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); 594 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)');
595 } 595 }
596 } 596 }
597 597
598 $scope.marketkeyPress = function(market) { 598 $scope.marketkeyPress = function(market) {
599 if (market == undefined) { 599 if (market == undefined) {
600 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); 600 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)');
601 } else { 601 } else {
602 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); 602 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)');
603 } 603 }
604 } 604 }
605 605
606 $scope.riskkeyPress = function(risk) { 606 $scope.riskkeyPress = function(risk) {
607 if (risk == undefined) { 607 if (risk == undefined) {
608 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); 608 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)');
609 } else { 609 } else {
610 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); 610 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)');
611 } 611 }
612 } 612 }
613 613
614 $scope.teamkeyPress = function(team) { 614 $scope.teamkeyPress = function(team) {
615 if (team == undefined) { 615 if (team == undefined) {
616 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); 616 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)');
617 } else { 617 } else {
618 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); 618 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)');
619 } 619 }
620 } 620 }
621 621
622 $scope.pitchkeyPress = function(pitch) { 622 $scope.pitchkeyPress = function(pitch) {
623 if (pitch == undefined) { 623 if (pitch == undefined) {
624 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); 624 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)');
625 } else { 625 } else {
626 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); 626 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)');
627 } 627 }
628 } 628 }
629 629
630 $scope.financialskeyPress = function(financial) { 630 $scope.financialskeyPress = function(financial) {
631 console.log("financial", financial); 631 console.log("financial", financial);
632 if (financial == undefined) { 632 if (financial == undefined) {
633 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); 633 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)');
634 } else { 634 } else {
635 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); 635 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)');
636 } 636 }
637 } 637 }
638 638
639 // create a message to display in our view 639 // create a message to display in our view
640 // $scope.message = 'Everyone come and see how good I look!'; 640 // $scope.message = 'Everyone come and see how good I look!';
641 }); 641 });
642 642
643 scotchApp.controller('verifyController', function($scope, $http, $location) { 643 scotchApp.controller('verifyController', function($scope, $http, $location, $route) {
644 644 $scope.pendingPaymentId = $route.current.params.id
645 $scope.pendingPaymentId = $location.absUrl().split('=')[1] 645 var BASE_URL = "http://0.0.0.0:4001/api";
646 var BASE_URL = "http://139.59.68.74:4001/api";
647 $http({ 646 $http({
648 method: "GET", 647 method: "GET",
649 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, 648 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId,
650 }).then(function mySuccess(response) { 649 }).then(function mySuccess(response) {
651 $scope.data = response.data; 650 $scope.data = response.data;
652 console.log("response-1", response); 651 console.log("response-1", response);
653 $scope.pendingPaymentId = $location.absUrl().split('=')[1] 652 $scope.pendingPaymentId = $route.current.params.id;
653
654 $http({ 654 $http({
655 method: "GET", 655 method: "GET",
656 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', 656 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}',
657 }).then(function mySuccess(response) { 657 }).then(function mySuccess(response) {
658 $scope.paymentRecord = response.data; 658 $scope.paymentRecord = response.data;
659 }, function myError(response) { 659 }, function myError(response) {
660 // $scope.paymentRecord = response.data; 660 // $scope.paymentRecord = response.data;
661 }); 661 });
662 }, function myError(response) { 662 }, function myError(response) {
663 $scope.myWelcome = response.statusText; 663 $scope.myWelcome = response.statusText;
664 }); 664 });
665 665
666 $scope.checkView = false; 666 $scope.checkView = false;
667 $scope.verifyView = false; 667 $scope.verifyView = false;
668 668
669 $scope.pendingPaymentId = ''; 669 $scope.pendingPaymentId = '';
670 670
671 var BASE_URL = "http://139.59.68.74:4001/api"; 671 var BASE_URL = "http://0.0.0.0:4001/api";
672 672
673 $scope.update = function() { 673 $scope.update = function() {
674 674
675 $http({ 675 $http({
676 method: 'GET', 676 method: 'GET',
677 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', 677 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}',
678 //data: email, 678 //data: email,
679 headers: {} 679 headers: {}
680 }).then(function mySuccess(searchResult) { 680 }).then(function mySuccess(searchResult) {
681 if (searchResult.data[0].status == "pending") { 681 if (searchResult.data[0].status == "pending") {
682 $scope.checkView = true; 682 $scope.checkView = true;
683 $scope.verifyView = false; 683 $scope.verifyView = false;
684 $scope.amount = searchResult.data[0].amount * 100; 684 $scope.amount = searchResult.data[0].amount * 100;
685 console.log('pending data', searchResult); 685 console.log('pending data', searchResult);
686 var i = 0; 686 var i = 0;
687 var options = { 687 var options = {
688 "key": "rzp_test_YwHsVFiDIQ2WUQ", 688 "key": "rzp_test_YwHsVFiDIQ2WUQ",
689 "amount": $scope.amount, 689 "amount": $scope.amount,
690 690
691 "name": "Startup Jalsa", 691 "name": "Startup Jalsa",
692 "description": "amount", 692 "description": "amount",
693 "currency": "INR", 693 "currency": "INR",
694 "status": "done", 694 "status": "done",
695 695
696 "theme": { 696 "theme": {
697 "color": "#2196f3 ", 697 "color": "#2196f3 ",
698 "image_padding": "NO" 698 "image_padding": "NO"
699 }, 699 },
700 "modal": { 700 "modal": {
701 "ondismiss": function() {} 701 "ondismiss": function() {}
702 }, 702 },
703 "handler": function(response) { 703 "handler": function(response) {
704 createPayment(response); 704 createPayment(response);
705 } 705 }
706 }; 706 };
707 var rzp1 = new Razorpay(options); 707 var rzp1 = new Razorpay(options);
708 rzp1.open(); 708 rzp1.open();
709 $scope.paymentResponse = {}; 709 $scope.paymentResponse = {};
710 710
711 function createPayment(response) { 711 function createPayment(response) {
712 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 712 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
713 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 713 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
714 $scope.paymentResponse.amount = $scope.amount; 714 $scope.paymentResponse.amount = $scope.amount;
715 $scope.paymentResponse.currency = "INR"; 715 $scope.paymentResponse.currency = "INR";
716 $scope.paymentResponse.status = "captured"; 716 $scope.paymentResponse.status = "captured";
717 $scope.paymentResponse.applicantId = $scope.userId; 717 $scope.paymentResponse.applicantId = $scope.userId;
718 console.log("$scope.paymentResponse", $scope.paymentResponse) 718 console.log("$scope.paymentResponse", $scope.paymentResponse)
719 $http({ 719 $http({
720 method: 'PUT', 720 method: 'PUT',
721 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, 721 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id,
722 data: $scope.paymentResponse, 722 data: $scope.paymentResponse,
723 headers: {} 723 headers: {}
724 }).then(function mySuccess(searchResult) { 724 }).then(function mySuccess(searchResult) {
725 725
726 }, function myError(error) { 726 }, function myError(error) {
727 727
728 }); 728 });
729 } 729 }
730 } else { 730 } else {
731 731
732 } 732 }
733 733
734 }, function myError(error) {}); 734 }, function myError(error) {});
735 } 735 }
736 }); 736 });
737 737
738 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route) { 738 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route) {
739 739
740 $scope.data = {}; 740 $scope.data = {};
741 $scope.submit = function() { 741 $scope.submit = function() {
742 console.log($scope.data.name) 742 console.log($scope.data.name)
743 var randomNumber = ""+Math.random(); 743 var randomNumber = ""+Math.random();
744 var nameSpliced = $scope.data.name.slice(0,3); 744 var nameSpliced = $scope.data.name.slice(0,3);
745 var numberSpliced = randomNumber.slice(2,5); 745 var numberSpliced = randomNumber.slice(2,5);
746 $scope.data.referalToken = nameSpliced+numberSpliced; 746 $scope.data.referalToken = nameSpliced+numberSpliced;
747 $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); 747 $scope.data.referalToken = $scope.data.referalToken.toUpperCase();
748 var BASE_URL = "http://139.59.68.74:4001/api"; 748 var BASE_URL = "http://0.0.0.0:4001/api";
749 $http({ 749 $http({
750 method: 'POST', 750 method: 'POST',
751 url: BASE_URL + '/ambassadors', 751 url: BASE_URL + '/ambassadors',
752 data: $scope.data, 752 data: $scope.data,
753 headers: {} 753 headers: {}
754 }).then(function mySuccess(result) { 754 }).then(function mySuccess(result) {
755 console.log("result", result) 755 console.log("result", result)
756 $scope.detail = result; 756 $scope.detail = result;
757 757
758 }, function myError(error) {}); 758 }, function myError(error) {});
759 } 759 }
760 }); 760 });
761 761