Commit 61b69ada078ec53e82b82e0dc5bea0ca52bc8b6f

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

design updated

Showing 2 changed files with 14 additions and 20 deletions   Show diff stats
1 <div class="header"> 1 <div class="header">
2 <div style="float: left;"> 2 <div style="float: left;">
3 <img src="images/white.png" class="logo" > 3 <img src="images/white.png" class="logo" >
4 </div> 4 </div>
5 <!-- <div style="float: right;" class="right-side-links"> 5 <!-- <div style="float: right;" class="right-side-links">
6 <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> 6 <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a>
7 <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> 7 <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a>
8 </div> --> 8 </div> -->
9 <div class="clearfix"></div> 9 <div class="clearfix"></div>
10 </div> 10 </div>
11 <!-- CLOSE HEADER --> 11 <!-- CLOSE HEADER -->
12 <form name="applicantForm" id="signupForm"> 12 <form name="applicantForm" id="signupForm">
13 <div class="col-xs-12 col-md-10 col-md-offset-1"> 13 <div class="col-xs-12 col-md-10 col-md-offset-1">
14 <div class="col-xs-12"> 14 <div class="col-xs-12">
15 <div class="row"> 15 <div class="row">
16 <div class="col-sm-8"> 16 <div class="col-sm-8">
17 <div style="padding-top:2%;"><b>Startup Jalsa</b> is a platform which brings together successful entrepreneurs with aspiring entrepreneurs - to helps startup get funding ready. 17 <div style="padding-top:2%;"><b>Startup Jalsa</b> is a platform which brings together successful entrepreneurs with aspiring entrepreneurs - to helps startup get funding ready.
18 <ul> 18 <ul>
19 <li>Watch <a href="https://www.youtube.com/watch?v=8i1bLQ7jS0I&feature=youtu.be/" target="_blank">Startup Jalsa 2016</a></li> 19 <li>Watch <a href="https://www.youtube.com/watch?v=8i1bLQ7jS0I&feature=youtu.be/" target="_blank">Startup Jalsa 2016</a></li>
20 <li>Watch <a href="https://www.youtube.com/watch?v=v8jqTRzQqOI&index=2&list=PL_ieVNgs36HStvzUph85NUXjrZIXS_bTg/" target="_blank">what startups, mentors and investors think</a> about Startup Jalsa</li> 20 <li>Watch <a href="https://www.youtube.com/watch?v=v8jqTRzQqOI&index=2&list=PL_ieVNgs36HStvzUph85NUXjrZIXS_bTg/" target="_blank">what startups, mentors and investors think</a> about Startup Jalsa</li>
21 <li>Watch how Startup Jalsa 2017 can help you: <a href="https://www.youtube.com/watch?v=ANNugxCVCJI&feature=youtu.be/" target="_blank"> Startup Jalsa 2017</a></li> 21 <li>Watch how Startup Jalsa 2017 can help you: <a href="https://www.youtube.com/watch?v=ANNugxCVCJI&feature=youtu.be/" target="_blank"> Startup Jalsa 2017</a></li>
22 </ul> 22 </ul>
23 <b>Become a part of our network and get access to leading entrepreneurs from all sectors. Startups looking to register, need to keep the following in mind:</b><br> 23 <b>Become a part of our network and get access to leading entrepreneurs from all sectors. Startups looking to register, need to keep the following in mind:</b><br>
24 There are two stages in the process of selection<br> 24 There are two stages in the process of selection<br>
25 <ul> 25 <ul>
26 <li>Startup Jalsa Inspire edition (November 3, 2017 onwards across cities)</li> 26 <li>Startup Jalsa Inspire edition (November 3, 2017 onwards across cities)</li>
27 <li>Startup Jalsa Invest edition (November 25 and 26, 2017 in Chandigarh)</li> 27 <li>Startup Jalsa Invest edition (November 25 and 26, 2017 in Chandigarh)</li>
28 </ul> 28 </ul>
29 We invite applications from startups of all sectors and stages<br>
30 <div class="col-sm-12">
31 <div class="col-sm-6">
32 <b>Registration deadline:</b> 15 Oct 2017<br>
33 <b>Fee:</b> Idea stage startups ₹500 + taxes/ Product stage startups ₹1000 + taxes/ growth stage startups ₹1000+ taxes</br>
34 </div>
35 <div class="col-sm-6">
36 <b>Extended registration deadline:</b> 31 Oct 2017<br>
37 <b>Fee:</b> Idea stage startups ₹1000 + taxes/ Product stage startups ₹1500 + taxes / Growth stage startups ₹1500+ taxes
38 </div>
39 </div>&nbsp;<br>
29 <ul> 40 <ul>
30 We invite applications from startups of all sectors and stages<br>
31 <li><b>Registration deadline: 15th October 2017</b><br>
32 <b>Fee:</b> Idea stage startups ₹500 + taxes/ Product stage startups ₹1000 + taxes/ growth stage startups ₹1000+ taxes</li>
33 <li><b>Extended registration deadline: 31st October 2017</b><br>
34 <b>Fee:</b> Idea stage startups ₹1000 + taxes/ Product stage startups ₹1500 + taxes / Growth stage startups ₹1500+ taxes</li>
35 </ul>
36 <ol>
37 <li><b>Post registration, get access to Startup Jalsa - Inspire edition:</b><br> 41 <li><b>Post registration, get access to Startup Jalsa - Inspire edition:</b><br>
38 We’ll organize meetups across various cities where you can meet mentors and get one-on-one feedback on your idea.</li> 42 We’ll organize meetups across various cities where you can meet mentors and get one-on-one feedback on your idea.</li>
39 <li>At each Inspire event, Startup Jalsa will give <b>₹1 Lac funding on the spot to 1 idea stage startup. Total of 10 funding slots are available.</b></li> 43 <li>At each Inspire event <b>per city</b>, Startup Jalsa will give <b>₹1 Lac cash-prize to 1 idea stage startup</b> for building the proof-of-concept.</li>
40 </ol>
41 <ul>
42 <li><b>Selected startups can participate in Startup Jalsa - Invest edition.</b><br> 44 <li><b>Selected startups can participate in Startup Jalsa - Invest edition.</b><br>
43 Spend 2 days with the top investors, entrepreneurs and policy makers - and pitch them to get funded upto ₹10 crores.<br> 45 Spend 2 days with the top investors, entrepreneurs and policy makers - and pitch them to get funded upto ₹10 crores.<br>
44 A separate registration fee for the Startup Jalsa - Invest edition will be notified in due time.</li> 46 <b>A separate registration fee for the Startup Jalsa - Invest edition will be notified in due time</b>.</li>
45 <li>1 product stage startup will get <b>Guaranteed ₹1 Crore funding</b> at the Invest edition.</li> 47 <li>1 product stage startup will get <b>Guaranteed ₹1 Crore funding</b> at the Invest edition.</li>
46 </ul> 48 </ul>
47 </div> 49 </div>
48 </div> 50 </div>
49 <div class="row"> 51 <div class="row">
50 <div class="col-sm-4"> 52 <div class="col-sm-4">
51 <div class="card" style="width:auto;"> 53 <div class="card" style="width:auto;">
52 <p style="font-size:15px;padding:5% 4%"><b>Inspire edition of Startup Jalsa is coming to the following cities:</b></p> 54 <p style="font-size:15px;padding:5% 4%"><b>Inspire edition of Startup Jalsa is coming to the following cities:</b></p>
53 <ul> 55 <ul>
54 <li>November 3: <a href="http://startupjalsa.com/chennai/" target="_blank">Chennai</a></li> 56 <li>November 3: <a href="http://startupjalsa.com/chennai/" target="_blank">Chennai</a></li>
55 <li>November 4: <a href="http://startupjalsa.com/hyderabad/" target="_blank">Hyderabad</a></li> 57 <li>November 4: <a href="http://startupjalsa.com/hyderabad/" target="_blank">Hyderabad</a></li>
56 <li>November 5: <a href="http://startupjalsa.com/bengaluru/" target="_blank">Bengaluru</a></li> 58 <li>November 5: <a href="http://startupjalsa.com/bengaluru/" target="_blank">Bengaluru</a></li>
57 <li>November 11: <a href="http://startupjalsa.com/pune/" target="_blank">Pune</a></li> 59 <li>November 11: <a href="http://startupjalsa.com/pune/" target="_blank">Pune</a></li>
58 <li>November 12: <a href="http://startupjalsa.com/mumbai/" target="_blank">Mumbai</a></li> 60 <li>November 12: <a href="http://startupjalsa.com/mumbai/" target="_blank">Mumbai</a></li>
59 <li>November 18: <a href="http://startupjalsa.com/ahmedabad/" target="_blank">Ahmedabad</a></li> 61 <li>November 18: <a href="http://startupjalsa.com/ahmedabad/" target="_blank">Ahmedabad</a></li>
60 <li>November 19: <a href="http://startupjalsa.com/delhi/" target="_blank">Delhi</a></li> 62 <li>November 19: <a href="http://startupjalsa.com/delhi/" target="_blank">Delhi</a></li>
61 </ul><br> 63 </ul><br>
62 </div> 64 </div>
63 </div> 65 </div>
64 </div> 66 </div>
65 <p>To get started, <b>Apply now</b></p>
66 </div> 67 </div>
67 </div> 68 </div>
68 <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p> 69 <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p>
69 <div class="stage-shadow"> 70 <div class="stage-shadow">
70 <div class="stages card-align"> 71 <div class="stages card-align">
71 <div class="col-xs-4 no-padding"> 72 <div class="col-xs-4 no-padding">
72 <div class="card stages-card"> 73 <div class="card stages-card">
73 <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('Idea')"> 74 <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('Idea')">
74 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> 75 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation">
75 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> 76 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights">
76 <div class="card-content f-family"> 77 <div class="card-content f-family">
77 <p align="center">Idea</p> 78 <p align="center">Idea</p>
78 </div> 79 </div>
79 </label> 80 </label>
80 </div> 81 </div>
81 <div class="clearfix"></div> 82 <div class="clearfix"></div>
82 <div class="cards-content hidden-xs"> 83 <div class="cards-content hidden-xs">
83 <p> 84 <p>
84 &#x26AC; Have an idea and need execution help?<br> 85 &#x26AC; Have an idea and need execution help?<br>
85 &#x26AC; Get feedback from mentors<br> 86 &#x26AC; Get feedback from mentors<br>
86 &#x26AC; Validate your idea. 87 &#x26AC; Validate your idea.
87 </p> 88 </p>
88 </div> 89 </div>
89 </div> 90 </div>
90 <div class="col-xs-4 no-padding-mobile"> 91 <div class="col-xs-4 no-padding-mobile">
91 <div class="card stages-card margin-auto-mobile"> 92 <div class="card stages-card margin-auto-mobile">
92 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage('Product')"> 93 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage('Product')">
93 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> 94 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof">
94 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> 95 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights">
95 <div class="card-content f-family"> 96 <div class="card-content f-family">
96 <p align="center">Product</p> 97 <p align="center">Product</p>
97 </div> 98 </div>
98 </label> 99 </label>
99 </div> 100 </div>
100 <div class="clearfix"></div> 101 <div class="clearfix"></div>
101 <div class="cards-content hidden-xs"> 102 <div class="cards-content hidden-xs">
102 <p> 103 <p>
103 &#x26AC; Have a prototype and want to take it to next level?<br> 104 &#x26AC; Have a prototype and want to take it to next level?<br>
104 &#x26AC; Advice on fundraising<br> 105 &#x26AC; Advice on fundraising<br>
105 &#x26AC; Advice on go-to-market strategy 106 &#x26AC; Advice on go-to-market strategy
106 </p> 107 </p>
107 </div> 108 </div>
108 </div> 109 </div>
109 <div class="col-xs-4 no-padding"> 110 <div class="col-xs-4 no-padding">
110 <div class="card stages-card right-stage-card"> 111 <div class="card stages-card right-stage-card">
111 <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> 112 <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage('Growth')">
112 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> 113 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta">
113 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> 114 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights">
114 <div class="card-content f-family"> 115 <div class="card-content f-family">
115 <p align="center">Growth</p> 116 <p align="center">Growth</p>
116 </div> 117 </div>
117 </label> 118 </label>
118 </div> 119 </div>
119 <div class="clearfix"></div> 120 <div class="clearfix"></div>
120 <div class="cards-content hidden-xs"> 121 <div class="cards-content hidden-xs">
121 <p> 122 <p>
122 &#x26AC; Have traction and looking to scale up?<br> 123 &#x26AC; Have traction and looking to scale up?<br>
123 &#x26AC; Connect with Series A investors<br> 124 &#x26AC; Connect with Series A investors<br>
124 &#x26AC; Connect and hire top startups 125 &#x26AC; Connect and hire top startups
125 </p> 126 </p>
126 </div> 127 </div>
127 </div> 128 </div>
128 <div class="clearfix"></div> 129 <div class="clearfix"></div>
129 </div> 130 </div>
130 <div class="clearfix"></div> 131 <div class="clearfix"></div>
131 </div> 132 </div>
132 <div class="hidden-sm hidden-md hidden-lg"> 133 <div class="hidden-sm hidden-md hidden-lg">
133 <div class="cards-content" ng-if="data.stage == 'Idea'"> 134 <div class="cards-content" ng-if="data.stage == 'Idea'">
134 <p> 135 <p>
135 &#x26AC; Have an idea and need execution help?<br> 136 &#x26AC; Have an idea and need execution help?<br>
136 &#x26AC; Get feedback from mentors<br> 137 &#x26AC; Get feedback from mentors<br>
137 &#x26AC; Validate your idea. 138 &#x26AC; Validate your idea.
138 </p> 139 </p>
139 </div> 140 </div>
140 <div class="cards-content" ng-if="data.stage == 'Product'"> 141 <div class="cards-content" ng-if="data.stage == 'Product'">
141 <p> 142 <p>
142 &#x26AC; Have a prototype and want to take it to next level?<br> 143 &#x26AC; Have a prototype and want to take it to next level?<br>
143 &#x26AC; Advice on fundraising<br> 144 &#x26AC; Advice on fundraising<br>
144 &#x26AC; Advice on go-to-market strategy 145 &#x26AC; Advice on go-to-market strategy
145 </p> 146 </p>
146 </div> 147 </div>
147 <div class="cards-content" ng-if="data.stage == 'Growth'"> 148 <div class="cards-content" ng-if="data.stage == 'Growth'">
148 <p> 149 <p>
149 &#x26AC; Have traction and looking to scale up?<br> 150 &#x26AC; Have traction and looking to scale up?<br>
150 &#x26AC; Connect with Series A investors<br> 151 &#x26AC; Connect with Series A investors<br>
151 &#x26AC; Connect and hire top startups 152 &#x26AC; Connect and hire top startups
152 </p> 153 </p>
153 </div> 154 </div>
154 </div> 155 </div>
155 <!-- CLOSE STAGE SHADOW --> 156 <!-- CLOSE STAGE SHADOW -->
156 <form name="informationForm"> 157 <form name="informationForm">
157 <div class="form-all"> 158 <div class="form-all">
158 <table style="width: 100%;"> 159 <table style="width: 100%;">
159 <tr> 160 <tr>
160 <td> 161 <td>
161 <div class="step-one-form"> 162 <div class="step-one-form">
162 <!-- form step 1 --> 163 <!-- form step 1 -->
163 <div class="col-xs-12 col-md-6 input-wrapper"> 164 <div class="col-xs-12 col-md-6 input-wrapper">
164 <div id="snackbar">Error ! Please fill in all fields.</div> 165 <div id="snackbar">Error ! Please fill in all fields.</div>
165 <div class="icon-circle-c"> 166 <div class="icon-circle-c">
166 <i class="material-icons" style="line-height: 31px;">assignment_ind</i> 167 <i class="material-icons" style="line-height: 31px;">assignment_ind</i>
167 </div> 168 </div>
168 <input type="text" class="text-input" required ng-model="data.name" placeholder="Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)"> 169 <input type="text" class="text-input" required ng-model="data.name" placeholder="Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)">
169 </div> 170 </div>
170 <div class="col-xs-12 col-md-6 input-wrapper"> 171 <div class="col-xs-12 col-md-6 input-wrapper">
171 <div id="snackbar">Error ! Please fill in all fields.</div> 172 <div id="snackbar">Error ! Please fill in all fields.</div>
172 <div class="icon-circle-d"> 173 <div class="icon-circle-d">
173 <i class="material-icons" style="line-height: 30px;">email</i> 174 <i class="material-icons" style="line-height: 30px;">email</i>
174 </div> 175 </div>
175 <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" 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)"> 176 <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" 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)">
176 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> 177 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label>
177 <label ng-if="check">Email already exist.</label> 178 <label ng-if="check">Email already exist.</label>
178 </div> 179 </div>
179 <div class="col-xs-12 col-md-6 input-wrapper"> 180 <div class="col-xs-12 col-md-6 input-wrapper">
180 <div class="icon-circle-e"> 181 <div class="icon-circle-e">
181 <i class="material-icons" style="line-height: 30px;">phone</i> 182 <i class="material-icons" style="line-height: 30px;">phone</i>
182 </div> 183 </div>
183 <input type="number" ng-pattern="/^[0-9+-]*$/" maxlength="15" required class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No." ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> 184 <input type="number" ng-pattern="/^[0-9+-]*$/" maxlength="15" required class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No." ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)">
184 <label ng-if="numberCheck">Contact Number already exist.</label> 185 <label ng-if="numberCheck">Contact Number already exist.</label>
185 </div> 186 </div>
186 <div class="col-xs-12 col-md-6 input-wrapper f-family"> 187 <div class="col-xs-12 col-md-6 input-wrapper f-family">
187 <div class="icon-circle-f"> 188 <div class="icon-circle-f">
188 <i class="material-icons" style="line-height: 30px;">location_city</i> 189 <i class="material-icons" style="line-height: 30px;">location_city</i>
189 </div> 190 </div>
190 <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;"> 191 <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;">
191 <option name="city" selected disabled value="">Choose City</option> 192 <option name="city" selected disabled value="">Choose City</option>
192 <option value="Agra">Agra</option> 193 <option value="Agra">Agra</option>
193 <option value="Ahmedabad">Ahmedabad</option> 194 <option value="Ahmedabad">Ahmedabad</option>
194 <option value="Ajmer">Ajmer</option> 195 <option value="Ajmer">Ajmer</option>
195 <option value="Aligarh">Aligarh</option> 196 <option value="Aligarh">Aligarh</option>
196 <option value="Allahabad">Allahabad</option> 197 <option value="Allahabad">Allahabad</option>
197 <option value="Ambattur">Ambattur</option> 198 <option value="Ambattur">Ambattur</option>
198 <option value="Amravati">Amravati</option> 199 <option value="Amravati">Amravati</option>
199 <option value="Amritsar">Amritsar</option> 200 <option value="Amritsar">Amritsar</option>
200 <option value="Asansol">Asansol</option> 201 <option value="Asansol">Asansol</option>
201 <option value="Aurangabad">Aurangabad</option> 202 <option value="Aurangabad">Aurangabad</option>
202 <option value="Bareilly">Bareilly</option> 203 <option value="Bareilly">Bareilly</option>
203 <option value="Belgaum">Belgaum</option> 204 <option value="Belgaum">Belgaum</option>
204 <option value="Bengaluru">Bengaluru</option> 205 <option value="Bengaluru">Bengaluru</option>
205 <option value="Bhavnagar">Bhavnagar</option> 206 <option value="Bhavnagar">Bhavnagar</option>
206 <option value="Bhayander">Bhayander</option> 207 <option value="Bhayander">Bhayander</option>
207 <option value="Bhilai Nagar">Bhilai Nagar</option> 208 <option value="Bhilai Nagar">Bhilai Nagar</option>
208 <option value="Bhiwandi">Bhiwandi</option> 209 <option value="Bhiwandi">Bhiwandi</option>
209 <option value="Bhopal">Bhopal</option> 210 <option value="Bhopal">Bhopal</option>
210 <option value="Bhubaneswar">Bhubaneswar</option> 211 <option value="Bhubaneswar">Bhubaneswar</option>
211 <option value="Bikaner">Bikaner</option> 212 <option value="Bikaner">Bikaner</option>
212 <option value="Chandigarh">Chandigarh</option> 213 <option value="Chandigarh">Chandigarh</option>
213 <option value="Chennai">Chennai</option> 214 <option value="Chennai">Chennai</option>
214 <option value="Chinchwad">Chinchwad</option> 215 <option value="Chinchwad">Chinchwad</option>
215 <option value="Coimbatore">Coimbatore</option> 216 <option value="Coimbatore">Coimbatore</option>
216 <option value="Cuttack">Cuttack</option> 217 <option value="Cuttack">Cuttack</option>
217 <option value="Dehradun">Dehradun</option> 218 <option value="Dehradun">Dehradun</option>
218 <option value="Delhi-NCR">Delhi-NCR</option> 219 <option value="Delhi-NCR">Delhi-NCR</option>
219 <option value="Dhanbad">Dhanbad</option> 220 <option value="Dhanbad">Dhanbad</option>
220 <option value="Dharwad">Dharwad</option> 221 <option value="Dharwad">Dharwad</option>
221 <option value="Dombivali">Dombivali</option> 222 <option value="Dombivali">Dombivali</option>
222 <option value="Durgapur">Durgapur</option> 223 <option value="Durgapur">Durgapur</option>
223 <option value="Faridabad">Faridabad</option> 224 <option value="Faridabad">Faridabad</option>
224 <option value="Firozabad">Firozabad</option> 225 <option value="Firozabad">Firozabad</option>
225 <option value="Gaya">Gaya</option> 226 <option value="Gaya">Gaya</option>
226 <option value="Ghaziabad">Ghaziabad</option> 227 <option value="Ghaziabad">Ghaziabad</option>
227 <option value="Gorakhpur">Gorakhpur</option> 228 <option value="Gorakhpur">Gorakhpur</option>
228 <option value="Gulbarga">Gulbarga</option> 229 <option value="Gulbarga">Gulbarga</option>
229 <option value="Guntur">Guntur</option> 230 <option value="Guntur">Guntur</option>
230 <option value="Gurgaon">Gurgaon</option> 231 <option value="Gurgaon">Gurgaon</option>
231 <option value="Guwahati">Guwahati</option> 232 <option value="Guwahati">Guwahati</option>
232 <option value="Gwalior">Gwalior</option> 233 <option value="Gwalior">Gwalior</option>
233 <option value="Haora">Haora</option> 234 <option value="Haora">Haora</option>
234 <option value="Hubli">Hubli</option> 235 <option value="Hubli">Hubli</option>
235 <option value="Hyderabad">Hyderabad</option> 236 <option value="Hyderabad">Hyderabad</option>
236 <option value="Indore">Indore</option> 237 <option value="Indore">Indore</option>
237 <option value="Jabalpur">Jabalpur</option> 238 <option value="Jabalpur">Jabalpur</option>
238 <option value="Jaipur">Jaipur</option> 239 <option value="Jaipur">Jaipur</option>
239 <option value="Jalandhar">Jalandhar</option> 240 <option value="Jalandhar">Jalandhar</option>
240 <option value="Jalgaon">Jalgaon</option> 241 <option value="Jalgaon">Jalgaon</option>
241 <option value="Jammu">Jammu</option> 242 <option value="Jammu">Jammu</option>
242 <option value="Jamnagar">Jamnagar</option> 243 <option value="Jamnagar">Jamnagar</option>
243 <option value="Jamshedpur">Jamshedpur</option> 244 <option value="Jamshedpur">Jamshedpur</option>
244 <option value="Jhansi">Jhansi</option> 245 <option value="Jhansi">Jhansi</option>
245 <option value="Jodhpur">Jodhpur</option> 246 <option value="Jodhpur">Jodhpur</option>
246 <option value="Kalyan">Kalyan</option> 247 <option value="Kalyan">Kalyan</option>
247 <option value="Kanpur">Kanpur</option> 248 <option value="Kanpur">Kanpur</option>
248 <option value="Kochi">Kochi</option> 249 <option value="Kochi">Kochi</option>
249 <option value="Kolapur">Kolapur</option> 250 <option value="Kolapur">Kolapur</option>
250 <option value="Kolkata">Kolkata</option> 251 <option value="Kolkata">Kolkata</option>
251 <option value="Kota">Kota</option> 252 <option value="Kota">Kota</option>
252 <option value="Loni">Loni</option> 253 <option value="Loni">Loni</option>
253 <option value="Lucknow">Lucknow</option> 254 <option value="Lucknow">Lucknow</option>
254 <option value="Ludhiana">Ludhiana</option> 255 <option value="Ludhiana">Ludhiana</option>
255 <option value="Madurai">Madurai</option> 256 <option value="Madurai">Madurai</option>
256 <option value="Maheshtala">Maheshtala</option> 257 <option value="Maheshtala">Maheshtala</option>
257 <option value="Malegoan">Malegoan</option> 258 <option value="Malegoan">Malegoan</option>
258 <option value="Mangalore">Mangalore</option> 259 <option value="Mangalore">Mangalore</option>
259 <option value="Meerut">Meerut</option> 260 <option value="Meerut">Meerut</option>
260 <option value="Mira">Mira</option> 261 <option value="Mira">Mira</option>
261 <option value="Moradabad">Moradabad</option> 262 <option value="Moradabad">Moradabad</option>
262 <option value="Mumbai">Mumbai</option> 263 <option value="Mumbai">Mumbai</option>
263 <option value="Mysore">Mysore</option> 264 <option value="Mysore">Mysore</option>
264 <option value="Nagpur">Nagpur</option> 265 <option value="Nagpur">Nagpur</option>
265 <option value="Nanded Waghala">Nanded Waghala</option> 266 <option value="Nanded Waghala">Nanded Waghala</option>
266 <option value="Nashik">Nashik</option> 267 <option value="Nashik">Nashik</option>
267 <option value="Navi Mumbai">Navi Mumbai</option> 268 <option value="Navi Mumbai">Navi Mumbai</option>
268 <option value="Nellore">Nellore</option> 269 <option value="Nellore">Nellore</option>
269 <option value="Noida">Noida</option> 270 <option value="Noida">Noida</option>
270 <option value="Patna">Patna</option> 271 <option value="Patna">Patna</option>
271 <option value="Pimpri">Pimpri</option> 272 <option value="Pimpri">Pimpri</option>
272 <option value="Pune">Pune</option> 273 <option value="Pune">Pune</option>
273 <option value="Raipur">Raipur</option> 274 <option value="Raipur">Raipur</option>
274 <option value="Rajkot">Rajkot</option> 275 <option value="Rajkot">Rajkot</option>
275 <option value="Ranchi">Ranchi</option> 276 <option value="Ranchi">Ranchi</option>
276 <option value="Saharanpur">Saharanpur</option> 277 <option value="Saharanpur">Saharanpur</option>
277 <option value="Salem">Salem</option> 278 <option value="Salem">Salem</option>
278 <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> 279 <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option>
279 <option value="Siliguri">Siliguri</option> 280 <option value="Siliguri">Siliguri</option>
280 <option value="Solapur">Solapur</option> 281 <option value="Solapur">Solapur</option>
281 <option value="Srinagar">Srinagar</option> 282 <option value="Srinagar">Srinagar</option>
282 <option value="Surat">Surat</option> 283 <option value="Surat">Surat</option>
283 <option value="Thane">Thane</option> 284 <option value="Thane">Thane</option>
284 <option value="Thiruvananthapuram">Thiruvananthapuram</option> 285 <option value="Thiruvananthapuram">Thiruvananthapuram</option>
285 <option value="Tiruchirappalli">Tiruchirappalli</option> 286 <option value="Tiruchirappalli">Tiruchirappalli</option>
286 <option value="Tirunelveli">Tirunelveli</option> 287 <option value="Tirunelveli">Tirunelveli</option>
287 <option value="Udaipur">Udaipur</option> 288 <option value="Udaipur">Udaipur</option>
288 <option value="Ujjain">Ujjain</option> 289 <option value="Ujjain">Ujjain</option>
289 <option value="Ulhasnagar">Ulhasnagar</option> 290 <option value="Ulhasnagar">Ulhasnagar</option>
290 <option value="Vadodara">Vadodara</option> 291 <option value="Vadodara">Vadodara</option>
291 <option value="Varanasi">Varanasi</option> 292 <option value="Varanasi">Varanasi</option>
292 <option value="Vasai Virar">Vasai Virar</option> 293 <option value="Vasai Virar">Vasai Virar</option>
293 <option value="Vijayawada">Vijayawada</option> 294 <option value="Vijayawada">Vijayawada</option>
294 <option value="Visakhapatnam">Visakhapatnam</option> 295 <option value="Visakhapatnam">Visakhapatnam</option>
295 <option value="Warangal">Warangal</option> 296 <option value="Warangal">Warangal</option>
296 <option value="anyOther">Any other</option> 297 <option value="anyOther">Any other</option>
297 </select> 298 </select>
298 </div> 299 </div>
299 <div class="clearfix"></div> 300 <div class="clearfix"></div>
300 <div class="col-xs-12 text-right"> 301 <div class="col-xs-12 text-right">
301 <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-disabled="informationForm.$invalid|| check|| numberCheck" ng-click="next()"> 302 <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-disabled="informationForm.$invalid|| check|| numberCheck" ng-click="next()">
302 Next 303 Next
303 </button> 304 </button>
304 </div> 305 </div>
305 </div> 306 </div>
306 <!-- close step-one-form --> 307 <!-- close step-one-form -->
307 </td> 308 </td>
308 </tr> 309 </tr>
309 </table> 310 </table>
310 </div> 311 </div>
311 <!-- CLOSE form-all --> 312 <!-- CLOSE form-all -->
312 </form> 313 </form>
313 <div class="step-two-form" ng-show="infoForm"> 314 <div class="step-two-form" ng-show="infoForm">
314 <div class="sectors-card"> 315 <div class="sectors-card">
315 <div class="icon-circle-b"> 316 <div class="icon-circle-b">
316 <i class="material-icons" style="line-height: 31px;">open_with</i> 317 <i class="material-icons" style="line-height: 31px;">open_with</i>
317 </div> 318 </div>
318 <div class="sector-question"> 319 <div class="sector-question">
319 <div class="col-xs-12 font f-family"> 320 <div class="col-xs-12 font f-family">
320 To which sector would you relate your company? 321 To which sector would you relate your company?
321 </div> 322 </div>
322 <div class="clearfix"></div> 323 <div class="clearfix"></div>
323 </div> 324 </div>
324 <div class="clearfix" style="height:15px;"></div> 325 <div class="clearfix" style="height:15px;"></div>
325 <div class="sector-align"> 326 <div class="sector-align">
326 <div class="col-xs-6 col-md-3"> 327 <div class="col-xs-6 col-md-3">
327 <label class="card-small"> 328 <label class="card-small">
328 <input type="radio" required value="retail" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 329 <input type="radio" required value="retail" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
329 <img src="images/retail.png"> 330 <img src="images/retail.png">
330 <label class="f-family">Retail</label> 331 <label class="f-family">Retail</label>
331 </label> 332 </label>
332 </div> 333 </div>
333 <div class="col-xs-6 col-md-3"> 334 <div class="col-xs-6 col-md-3">
334 <label class="card-small"> 335 <label class="card-small">
335 <input type="radio" required value="travel" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 336 <input type="radio" required value="travel" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
336 <img src="images/transport.png"> 337 <img src="images/transport.png">
337 <label class="f-family">Travel</label> 338 <label class="f-family">Travel</label>
338 </label> 339 </label>
339 </div> 340 </div>
340 <div class="col-xs-6 col-md-3"> 341 <div class="col-xs-6 col-md-3">
341 <label class="card-small"> 342 <label class="card-small">
342 <input type="radio" required value="b2b commerce" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 343 <input type="radio" required value="b2b commerce" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
343 <img src="images/paymens.png"> 344 <img src="images/paymens.png">
344 <label class="f-family">B2B commerce</label> 345 <label class="f-family">B2B commerce</label>
345 </label> 346 </label>
346 </div> 347 </div>
347 <div class="col-xs-6 col-md-3"> 348 <div class="col-xs-6 col-md-3">
348 <label class="card-small"> 349 <label class="card-small">
349 <input type="radio" required value="agritech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 350 <input type="radio" required value="agritech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
350 <img src="images/food.png"> 351 <img src="images/food.png">
351 <label class="f-family">Agritech</label> 352 <label class="f-family">Agritech</label>
352 </label> 353 </label>
353 </div> 354 </div>
354 <div class="col-xs-6 col-md-3"> 355 <div class="col-xs-6 col-md-3">
355 <label class="card-small"> 356 <label class="card-small">
356 <input type="radio" required value="fintech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 357 <input type="radio" required value="fintech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
357 <img src="images/online_media.png"> 358 <img src="images/online_media.png">
358 <label class="f-family">Fintech</label> 359 <label class="f-family">Fintech</label>
359 </label> 360 </label>
360 </div> 361 </div>
361 <div class="col-xs-6 col-md-3"> 362 <div class="col-xs-6 col-md-3">
362 <label class="card-small"> 363 <label class="card-small">
363 <input type="radio" required value="hyperlocal services" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 364 <input type="radio" required value="hyperlocal services" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
364 <img src="images/hardware.png"> 365 <img src="images/hardware.png">
365 <label class="f-family">Hyperlocal services</label> 366 <label class="f-family">Hyperlocal services</label>
366 </label> 367 </label>
367 </div> 368 </div>
368 <div class="col-xs-6 col-md-3"> 369 <div class="col-xs-6 col-md-3">
369 <label class="card-small"> 370 <label class="card-small">
370 <input type="radio" required value="education" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 371 <input type="radio" required value="education" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
371 <img src="images/education.png"> 372 <img src="images/education.png">
372 <label class="f-family">Education</label> 373 <label class="f-family">Education</label>
373 </label> 374 </label>
374 </div> 375 </div>
375 <div class="col-xs-6 col-md-3"> 376 <div class="col-xs-6 col-md-3">
376 <label class="card-small"> 377 <label class="card-small">
377 <input type="radio" required value="rural" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 378 <input type="radio" required value="rural" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
378 <img src="images/RURAL_ICON.png"> 379 <img src="images/RURAL_ICON.png">
379 <label class="f-family">Rural</label> 380 <label class="f-family">Rural</label>
380 </label> 381 </label>
381 </div> 382 </div>
382 </div> 383 </div>
383 <div class="clearfix"></div> 384 <div class="clearfix"></div>
384 </div> 385 </div>
385 <!-- CLOSE sectors-card --> 386 <!-- CLOSE sectors-card -->
386 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="proto"> 387 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="proto">
387 <strong>Do you have a prototype ready?</strong> 388 <strong>Do you have a prototype ready?</strong>
388 <p class="line-space" >If yes, please share the link to demo/website/application</p> 389 <p class="line-space" >If yes, please share the link to demo/website/application</p>
389 </div> 390 </div>
390 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="proto"> 391 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="proto">
391 <div class="icon-circle-k"> 392 <div class="icon-circle-k">
392 <i class="material-icons" style="line-height: 30px;">device_hub</i> 393 <i class="material-icons" style="line-height: 30px;">device_hub</i>
393 </div> 394 </div>
394 <textarea name="proto" ng-required="proto" class="text-input textarea" ng-model="data.prototype" ng-if="proto" placeholder="Prototype" ng-change="abc(); prototypekeyPress(data.prototype)"></textarea> 395 <textarea name="proto" ng-required="proto" class="text-input textarea" ng-model="data.prototype" ng-if="proto" placeholder="Prototype" ng-change="abc(); prototypekeyPress(data.prototype)"></textarea>
395 </div> 396 </div>
396 <div class="col-xs-11 col-md-12 f-family line-adjust"> 397 <div class="col-xs-11 col-md-12 f-family line-adjust">
397 <strong>Tell us about the problem that your company is trying to address. </strong> 398 <strong>Tell us about the problem that your company is trying to address. </strong>
398 <p class="line-space" ></p> 399 <p class="line-space" ></p>
399 </div> 400 </div>
400 <div class="col-xs-12 col-md-12 input-wrapper"> 401 <div class="col-xs-12 col-md-12 input-wrapper">
401 <div class="icon-circle-i"> 402 <div class="icon-circle-i">
402 <i class="material-icons" style="line-height: 30px;">report_problem</i> 403 <i class="material-icons" style="line-height: 30px;">report_problem</i>
403 </div> 404 </div>
404 <textarea name="Problem" class="text-input textarea" ng-model="data.problem" placeholder="Problem" ng-change="enterproblem(data.problem); problemkeyPress(data.problem)" required></textarea> 405 <textarea name="Problem" class="text-input textarea" ng-model="data.problem" placeholder="Problem" ng-change="enterproblem(data.problem); problemkeyPress(data.problem)" required></textarea>
405 </div> 406 </div>
406 <div class="col-xs-12 col-md-12 f-family line-adjust"> 407 <div class="col-xs-12 col-md-12 f-family line-adjust">
407 <strong>Tell us about the solution that your product/company has come up with.</strong> 408 <strong>Tell us about the solution that your product/company has come up with.</strong>
408 <p class="line-space" ></p> 409 <p class="line-space" ></p>
409 </div> 410 </div>
410 <div class="col-xs-12 col-md-12 input-wrapper"> 411 <div class="col-xs-12 col-md-12 input-wrapper">
411 <div class="icon-circle-j"> 412 <div class="icon-circle-j">
412 <i class="material-icons" style="line-height: 30px;">help</i> 413 <i class="material-icons" style="line-height: 30px;">help</i>
413 </div> 414 </div>
414 <textarea name="solution" class="text-input textarea" ng-model="data.solution" placeholder="Solution" ng-change="entersolution(data.solution); solutionkeyPress(data.solution)" required></textarea> 415 <textarea name="solution" class="text-input textarea" ng-model="data.solution" placeholder="Solution" ng-change="entersolution(data.solution); solutionkeyPress(data.solution)" required></textarea>
415 </div> 416 </div>
416 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel"> 417 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel">
417 <strong>What is your business model?</strong> 418 <strong>What is your business model?</strong>
418 <p class="line-space" >How do you plan to make money?</p> 419 <p class="line-space" >How do you plan to make money?</p>
419 </div> 420 </div>
420 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel"> 421 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel">
421 <div class="icon-circle-p"> 422 <div class="icon-circle-p">
422 <i class="material-icons" style="line-height: 30px;">business_center</i> 423 <i class="material-icons" style="line-height: 30px;">business_center</i>
423 </div> 424 </div>
424 <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;"> 425 <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;">
425 <option selected disabled value="">Business Model</option> 426 <option selected disabled value="">Business Model</option>
426 <option value="B2B">B2B</option> 427 <option value="B2B">B2B</option>
427 <option value="B2C">B2C</option> 428 <option value="B2C">B2C</option>
428 <option value="B2G">B2G</option> 429 <option value="B2G">B2G</option>
429 </select> 430 </select>
430 </div> 431 </div>
431 <div class="clearfix"></div> 432 <div class="clearfix"></div>
432 <div class="hideform" ng-if="prototyp"> 433 <div class="hideform" ng-if="prototyp">
433 <!-- **************************For Quiz All About Input********************** --> 434 <!-- **************************For Quiz All About Input********************** -->
434 <div class="question-shadow"> 435 <div class="question-shadow">
435 <div class="icon-circle-x"> 436 <div class="icon-circle-x">
436 <i class="material-icons" style="line-height: 30px;">question_answer</i> 437 <i class="material-icons" style="line-height: 30px;">question_answer</i>
437 </div> 438 </div>
438 <div class="sector-question"> 439 <div class="sector-question">
439 <div class="col-xs-12 font f-family"> 440 <div class="col-xs-12 font f-family">
440 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. 441 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.
441 </div> 442 </div>
442 <div class="clearfix"></div> 443 <div class="clearfix"></div>
443 </div> 444 </div>
444 <div class="stages q-card-align"> 445 <div class="stages q-card-align">
445 <div class="col-sm-8 group"> 446 <div class="col-sm-8 group">
446 <input type="text" class="text-input" ng-model="data.question1" name="snpid" placeholder="Question1" ng-change="abc(); questionkeyPress(data.question1)" required> 447 <input type="text" class="text-input" ng-model="data.question1" name="snpid" placeholder="Question1" ng-change="abc(); questionkeyPress(data.question1)" required>
447 <span class="highlight"></span> 448 <span class="highlight"></span>
448 <span class="bar"></span> 449 <span class="bar"></span>
449 </div> 450 </div>
450 <div class="col-sm-3 col-md-offset-1"> 451 <div class="col-sm-3 col-md-offset-1">
451 <select class="drop-down" ng-model="data.typeQ1" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 452 <select class="drop-down" ng-model="data.typeQ1" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
452 <option selected disabled value="">Select</option> 453 <option selected disabled value="">Select</option>
453 <option>Sales</option> 454 <option>Sales</option>
454 <option>Marketing</option> 455 <option>Marketing</option>
455 <option>Technology</option> 456 <option>Technology</option>
456 <option>Scale</option> 457 <option>Scale</option>
457 <option>Fund-raising</option> 458 <option>Fund-raising</option>
458 <option>Go-to-market strategy</option> 459 <option>Go-to-market strategy</option>
459 <option>Team/hiring issues</option> 460 <option>Team/hiring issues</option>
460 <option>Emotional/personal issues</option> 461 <option>Emotional/personal issues</option>
461 <option>Any other</option> 462 <option>Any other</option>
462 </select> 463 </select>
463 </div> 464 </div>
464 <div class="col-sm-8 group"> 465 <div class="col-sm-8 group">
465 <input type="text" class="text-input" ng-model="data.question2" name="snpid" placeholder="Question2" ng-change="abc(); questionkeyPress(data.question2)" required> 466 <input type="text" class="text-input" ng-model="data.question2" name="snpid" placeholder="Question2" ng-change="abc(); questionkeyPress(data.question2)" required>
466 <span class="highlight"></span> 467 <span class="highlight"></span>
467 <span class="bar"></span> 468 <span class="bar"></span>
468 </div> 469 </div>
469 <div class="col-sm-3 col-md-offset-1"> 470 <div class="col-sm-3 col-md-offset-1">
470 <select class="drop-down" ng-model="data.typeQ2" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 471 <select class="drop-down" ng-model="data.typeQ2" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
471 <option selected disabled value="">Select</option> 472 <option selected disabled value="">Select</option>
472 <option>Sales</option> 473 <option>Sales</option>
473 <option>Marketing</option> 474 <option>Marketing</option>
474 <option>Technology</option> 475 <option>Technology</option>
475 <option>Scale</option> 476 <option>Scale</option>
476 <option>Fund-raising</option> 477 <option>Fund-raising</option>
477 <option>Go-to-market strategy</option> 478 <option>Go-to-market strategy</option>
478 <option>Team/hiring issues</option> 479 <option>Team/hiring issues</option>
479 <option>Emotional/personal issues</option> 480 <option>Emotional/personal issues</option>
480 <option>Any other</option> 481 <option>Any other</option>
481 </select> 482 </select>
482 </div> 483 </div>
483 <div class="col-sm-8 group"> 484 <div class="col-sm-8 group">
484 <input type="text" class="text-input" ng-model="data.question3" name="snpid" placeholder="Question3" ng-change="abc(); questionkeyPress(data.question3)" required> 485 <input type="text" class="text-input" ng-model="data.question3" name="snpid" placeholder="Question3" ng-change="abc(); questionkeyPress(data.question3)" required>
485 <span class="highlight"></span> 486 <span class="highlight"></span>
486 <span class="bar"></span> 487 <span class="bar"></span>
487 </div> 488 </div>
488 <div class="col-sm-3 col-md-offset-1"> 489 <div class="col-sm-3 col-md-offset-1">
489 <select class="drop-down" ng-model="data.typeQ3" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 490 <select class="drop-down" ng-model="data.typeQ3" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
490 <option selected disabled value="">Select</option> 491 <option selected disabled value="">Select</option>
491 <option>Sales</option> 492 <option>Sales</option>
492 <option>Marketing</option> 493 <option>Marketing</option>
493 <option>Technology</option> 494 <option>Technology</option>
494 <option>Scale</option> 495 <option>Scale</option>
495 <option>Fund-raising</option> 496 <option>Fund-raising</option>
496 <option>Go-to-market strategy</option> 497 <option>Go-to-market strategy</option>
497 <option>Team/hiring issues</option> 498 <option>Team/hiring issues</option>
498 <option>Emotional/personal issues</option> 499 <option>Emotional/personal issues</option>
499 <option>Any other</option> 500 <option>Any other</option>
500 </select> 501 </select>
501 </div> 502 </div>
502 <div class="col-sm-8 group"> 503 <div class="col-sm-8 group">
503 <input type="text" class="text-input" ng-model="data.question4" name="snpid" placeholder="Question4" ng-change="abc(); questionkeyPress(data.question4)" required> 504 <input type="text" class="text-input" ng-model="data.question4" name="snpid" placeholder="Question4" ng-change="abc(); questionkeyPress(data.question4)" required>
504 <span class="highlight"></span> 505 <span class="highlight"></span>
505 <span class="bar"></span> 506 <span class="bar"></span>
506 </div> 507 </div>
507 <div class="col-sm-3 col-md-offset-1"> 508 <div class="col-sm-3 col-md-offset-1">
508 <select class="drop-down" ng-model="data.typeQ4" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 509 <select class="drop-down" ng-model="data.typeQ4" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
509 <option selected disabled value="">Select</option> 510 <option selected disabled value="">Select</option>
510 <option>Sales</option> 511 <option>Sales</option>
511 <option>Marketing</option> 512 <option>Marketing</option>
512 <option>Technology</option> 513 <option>Technology</option>
513 <option>Scale</option> 514 <option>Scale</option>
514 <option>Fund-raising</option> 515 <option>Fund-raising</option>
515 <option>Go-to-market strategy</option> 516 <option>Go-to-market strategy</option>
516 <option>Team/hiring issues</option> 517 <option>Team/hiring issues</option>
517 <option>Emotional/personal issues</option> 518 <option>Emotional/personal issues</option>
518 <option>Any other</option> 519 <option>Any other</option>
519 </select> 520 </select>
520 </div> 521 </div>
521 <div class="col-sm-8 group"> 522 <div class="col-sm-8 group">
522 <input type="text" class="text-input" ng-model="data.question5" name="snpid" placeholder="Question5" ng-change="abc(); questionkeyPress(data.question5)" required> 523 <input type="text" class="text-input" ng-model="data.question5" name="snpid" placeholder="Question5" ng-change="abc(); questionkeyPress(data.question5)" required>
523 <span class="highlight"></span> 524 <span class="highlight"></span>
524 <span class="bar"></span> 525 <span class="bar"></span>
525 </div> 526 </div>
526 <div class="col-sm-3 col-md-offset-1"> 527 <div class="col-sm-3 col-md-offset-1">
527 <select class="drop-down" ng-model="data.typeQ5" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 528 <select class="drop-down" ng-model="data.typeQ5" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
528 <option selected disabled value="">Select</option> 529 <option selected disabled value="">Select</option>
529 <option>Sales</option> 530 <option>Sales</option>
530 <option>Marketing</option> 531 <option>Marketing</option>
531 <option>Technology</option> 532 <option>Technology</option>
532 <option>Scale</option> 533 <option>Scale</option>
533 <option>Fund-raising</option> 534 <option>Fund-raising</option>
534 <option>Go-to-market strategy</option> 535 <option>Go-to-market strategy</option>
535 <option>Team/hiring issues</option> 536 <option>Team/hiring issues</option>
536 <option>Emotional/personal issues</option> 537 <option>Emotional/personal issues</option>
537 <option>Any other</option> 538 <option>Any other</option>
538 </select> 539 </select>
539 </div> 540 </div>
540 <div class="clearfix"></div> 541 <div class="clearfix"></div>
541 </div> 542 </div>
542 <div class="clearfix"></div> 543 <div class="clearfix"></div>
543 </div> 544 </div>
544 <!--CLOSE question-shadow --> 545 <!--CLOSE question-shadow -->
545 <div class="clearfix"></div> 546 <div class="clearfix"></div>
546 <!-- **************************CLOSE QUIZ FORM********************** --> 547 <!-- **************************CLOSE QUIZ FORM********************** -->
547 <div class="col-xs-11 col-md-12 f-family line-adjust"> 548 <div class="col-xs-11 col-md-12 f-family line-adjust">
548 <strong>What technology are you using in the product?</strong> 549 <strong>What technology are you using in the product?</strong>
549 <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p> 550 <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p>
550 </div> 551 </div>
551 <div class="col-xs-12 col-md-12 input-wrapper"> 552 <div class="col-xs-12 col-md-12 input-wrapper">
552 <div class="icon-circle-h"> 553 <div class="icon-circle-h">
553 <i class="material-icons" style="line-height: 30px;">phone_android</i> 554 <i class="material-icons" style="line-height: 30px;">phone_android</i>
554 </div> 555 </div>
555 <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required> 556 <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required>
556 </div> 557 </div>
557 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market"> 558 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market">
558 <strong>What is your go-to-market strategy?</strong> 559 <strong>What is your go-to-market strategy?</strong>
559 <p class="line-space" ></p> 560 <p class="line-space" ></p>
560 </div> 561 </div>
561 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="market"> 562 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="market">
562 <div class="icon-circle-l"> 563 <div class="icon-circle-l">
563 <i class="material-icons" style="line-height: 30px;">multiline_chart</i> 564 <i class="material-icons" style="line-height: 30px;">multiline_chart</i>
564 </div> 565 </div>
565 <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> 566 <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>
566 </div> 567 </div>
567 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks"> 568 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks">
568 <strong>Who are your existing competitors and potential risk factors?</strong> 569 <strong>Who are your existing competitors and potential risk factors?</strong>
569 <p class="line-space" ></p> 570 <p class="line-space" ></p>
570 </div> 571 </div>
571 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks"> 572 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks">
572 <div class="icon-circle-m"> 573 <div class="icon-circle-m">
573 <i class="material-icons" style="line-height: 30px;">adjust</i> 574 <i class="material-icons" style="line-height: 30px;">adjust</i>
574 </div> 575 </div>
575 <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> 576 <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>
576 </div> 577 </div>
577 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team"> 578 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team">
578 <strong>Who all are there in your team?</strong> 579 <strong>Who all are there in your team?</strong>
579 <p class="line-space" >What are their backgrounds?</p> 580 <p class="line-space" >What are their backgrounds?</p>
580 </div> 581 </div>
581 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team"> 582 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team">
582 <div class="icon-circle-n" ng-if="team"> 583 <div class="icon-circle-n" ng-if="team">
583 <i class="material-icons" style="line-height: 30px;">games</i> 584 <i class="material-icons" style="line-height: 30px;">games</i>
584 </div> 585 </div>
585 <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> 586 <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>
586 </div> 587 </div>
587 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch"> 588 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch">
588 <strong>Provide the Google Docs link for pitch-deck/presentation (mentioning the details of your startup).</strong> 589 <strong>Provide the Google Docs link for pitch-deck/presentation (mentioning the details of your startup).</strong>
589 <p class="line-space" ></p> 590 <p class="line-space" ></p>
590 </div> 591 </div>
591 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch"> 592 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch">
592 <div class="icon-circle-z"> 593 <div class="icon-circle-z">
593 <i class="material-icons" style="line-height: 30px;">offline_pin</i> 594 <i class="material-icons" style="line-height: 30px;">offline_pin</i>
594 </div> 595 </div>
595 <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)"> 596 <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)">
596 </div> 597 </div>
597 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials"> 598 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials">
598 <strong>Provide the Google Docs link for financial projections (funding requirements of your startup).</strong> 599 <strong>Provide the Google Docs link for financial projections (funding requirements of your startup).</strong>
599 <p class="line-space" ></p> 600 <p class="line-space" ></p>
600 </div> 601 </div>
601 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials"> 602 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials">
602 <div class="icon-circle-q"> 603 <div class="icon-circle-q">
603 <i class="material-icons" style="line-height: 30px;">timeline</i> 604 <i class="material-icons" style="line-height: 30px;">timeline</i>
604 </div> 605 </div>
605 <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)"> 606 <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)">
606 </div> 607 </div>
607 <div class="clearfix"></div> 608 <div class="clearfix"></div>
608 </div> 609 </div>
609 <div class="identity-shadow"> 610 <div class="identity-shadow">
610 <div class="icon-circle-ab"> 611 <div class="icon-circle-ab">
611 <i class="material-icons" style="line-height: 30px;">perm_identity</i> 612 <i class="material-icons" style="line-height: 30px;">perm_identity</i>
612 </div> 613 </div>
613 <div class="identity-question"> 614 <div class="identity-question">
614 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> 615 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;">
615 <b>Who are you?</b> 616 <b>Who are you?</b>
616 <p style="color:grey">kindly choose one option.</p> 617 <p style="color:grey">kindly choose one option.</p>
617 </div> 618 </div>
618 <div class="clearfix"></div> 619 <div class="clearfix"></div>
619 </div> 620 </div>
620 <div class="stages identity-align"> 621 <div class="stages identity-align">
621 <div class="col-xs-12"> 622 <div class="col-xs-12">
622 <label class="card-small margin-right-label"> 623 <label class="card-small margin-right-label">
623 <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'"> 624 <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'">
624 <!-- <img src="images/RURAL_ICON.png"> --> 625 <!-- <img src="images/RURAL_ICON.png"> -->
625 <label class="f-family pull-left width-auto" for="studentRadio">Student</label> 626 <label class="f-family pull-left width-auto" for="studentRadio">Student</label>
626 </label> 627 </label>
627 <label class="card-small margin-right-label"> 628 <label class="card-small margin-right-label">
628 <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'"> 629 <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'">
629 <!-- <img src="images/education.png"> --> 630 <!-- <img src="images/education.png"> -->
630 <label class="f-family pull-left width-auto" for="othersRadio">Others</label> 631 <label class="f-family pull-left width-auto" for="othersRadio">Others</label>
631 </label> 632 </label>
632 </div> 633 </div>
633 </div> 634 </div>
634 <!-- CLOSE stages identity-align --> 635 <!-- CLOSE stages identity-align -->
635 <div class="clearfix"></div> 636 <div class="clearfix"></div>
636 </div> 637 </div>
637 <!-- CLOSE identity-shadow --> 638 <!-- CLOSE identity-shadow -->
638 <div class="col-xs-12 input-wrapper"> 639 <div class="col-xs-12 input-wrapper">
639 <div class="referel-icon" style="z-index: 999;"> 640 <div class="referel-icon" style="z-index: 999;">
640 <i class="material-icons" style="line-height: 30px;">code</i> 641 <i class="material-icons" style="line-height: 30px;">code</i>
641 </div> 642 </div>
642 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> 643 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)">
643 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> 644 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i>
644 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> 645 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i>
645 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> 646 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button>
646 </div> 647 </div>
647 <div class="clearfix"></div> 648 <div class="clearfix"></div>
648 <div class="text-center"> 649 <div class="text-center">
649 <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> 650 <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()">
650 </div> 651 </div>
651 </div> 652 </div>
652 <!-- CLOSE step-two-form --> 653 <!-- CLOSE step-two-form -->
653 </div> 654 </div>
654 <!-- col-xs-12 col-md-8 col-md-offset-2 --> 655 <!-- col-xs-12 col-md-8 col-md-offset-2 -->
655 </form> 656 </form>
656 <!-- CLOSE FORM --> 657 <!-- CLOSE FORM -->
657 <footer> 658 <footer>
658 <img id="footer" class="img-responsive banner"> 659 <img id="footer" class="img-responsive banner">
659 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> 660 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center>
660 </footer> 661 </footer>
661 <!-- </div> CLOSE CHECK VIEW --> 662 <!-- </div> CLOSE CHECK VIEW -->
662 <div ng-if="verifyView"> 663 <div ng-if="verifyView">
663 <div style="margin-bottom: 0px;" class="text-center"> 664 <div style="margin-bottom: 0px;" class="text-center">
664 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> 665 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()">
665 </div> 666 </div>
666 </div> 667 </div>
667 </div> <!-- CLOSE NEW-CONTROLLER --> 668 </div> <!-- CLOSE NEW-CONTROLLER -->
668 <!-- <div id="snacsskbar">Registration done successfully.</div> 669 <!-- <div id="snacsskbar">Registration done successfully.</div>
669 --><div class="modal fade" id="myModal" role="dialog"> 670 --><div class="modal fade" id="myModal" role="dialog">
670 <div class="modal-dialog" style="left: auto;"> 671 <div class="modal-dialog" style="left: auto;">
671 <div class="modal-content"> 672 <div class="modal-content">
672 <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> 673 <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4>
673 <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> 674 <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px">
674 <tbody style="background-color:#f9f9f9"> 675 <tbody style="background-color:#f9f9f9">
675 <tr> 676 <tr>
676 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 677 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
677 </tr> 678 </tr>
678 <tr> 679 <tr>
679 <td align="left" valign="top" style="padding:10px"> 680 <td align="left" valign="top" style="padding:10px">
680 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 681 <table width="100%" border="0" cellspacing="0" cellpadding="0">
681 <tbody> 682 <tbody>
682 <tr> 683 <tr>
683 <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> 684 <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td>
684 </tr> 685 </tr>
685 </tbody> 686 </tbody>
686 </table> 687 </table>
687 </td> 688 </td>
688 </tr> 689 </tr>
689 </tbody> 690 </tbody>
690 <tbody> 691 <tbody>
691 <tr> 692 <tr>
692 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 693 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
693 </tr> 694 </tr>
694 <tr> 695 <tr>
695 <td align="left" valign="top" style="padding:10px"> 696 <td align="left" valign="top" style="padding:10px">
696 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 697 <table width="100%" border="0" cellspacing="0" cellpadding="0">
697 <tbody> 698 <tbody>
698 <tr> 699 <tr>
699 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> 700 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td>
700 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> 701 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td>
701 </tr> 702 </tr>
702 </tbody> 703 </tbody>
703 </table> 704 </table>
704 </td> 705 </td>
705 </tr> 706 </tr>
706 <tr> 707 <tr>
707 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 708 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
708 </tr> 709 </tr>
709 <tr> 710 <tr>
710 <td align="left" valign="top" style="padding:10px"> 711 <td align="left" valign="top" style="padding:10px">
711 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 712 <table width="100%" border="0" cellspacing="0" cellpadding="0">
712 <tbody> 713 <tbody>
713 <tr> 714 <tr>
714 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> 715 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td>
715 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> 716 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td>
716 </tr> 717 </tr>
717 </tbody> 718 </tbody>
718 </table> 719 </table>
719 </td> 720 </td>
720 </tr> 721 </tr>
721 <tr> 722 <tr>
722 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 723 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
723 </tr> 724 </tr>
724 <tr> 725 <tr>
725 <td align="left" valign="top" style="padding:10px"> 726 <td align="left" valign="top" style="padding:10px">
726 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 727 <table width="100%" border="0" cellspacing="0" cellpadding="0">
727 <tbody> 728 <tbody>
728 <tr> 729 <tr>
729 <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> 730 <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td>
730 <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> 731 <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td>
731 </tr> 732 </tr>
732 </tbody> 733 </tbody>
733 </table> 734 </table>
734 </td> 735 </td>
735 </tr> 736 </tr>
736 <tr> 737 <tr>
737 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 738 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
738 </tr> 739 </tr>
739 <tr> 740 <tr>
740 <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> 741 <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px">
741 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 742 <table width="100%" border="0" cellspacing="0" cellpadding="0">
742 <tbody> 743 <tbody>
743 <tr> 744 <tr>
744 <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> 745 <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td>
745 <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> 746 <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td>
746 </tr> 747 </tr>
747 </tbody> 748 </tbody>
748 </table> 749 </table>
749 </td> 750 </td>
750 </tr> 751 </tr>
751 <tr> 752 <tr>
752 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 753 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
753 </tr> 754 </tr>
754 </tbody> 755 </tbody>
755 </table> 756 </table>
756 <div style="text-align:center;margin-bottom:5%"> 757 <div style="text-align:center;margin-bottom:5%">
757 <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> 758 <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>
758 </div> 759 </div>
759 </div> 760 </div>
760 </div> 761 </div>
761 </div> 762 </div>
762 763
763 <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> 764 <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()">
764 <div class="modal-dialog" style="left: auto;"> 765 <div class="modal-dialog" style="left: auto;">
765 <div class="modal-content" > 766 <div class="modal-content" >
766 767
767 <div class="modal-body" style="text-align: right;" > 768 <div class="modal-body" style="text-align: right;" >
768 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> 769 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i>
769 <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> 770 <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe>
770 </div> 771 </div>
771 772
772 </div> 773 </div>
773 </div> 774 </div>
774 </div> 775 </div>
775 776
776 777
777 <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> 778 <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()">
778 <div class="modal-dialog" style="left: auto;"> 779 <div class="modal-dialog" style="left: auto;">
779 <div class="modal-content"> 780 <div class="modal-content">
780 <div class="modal-body" style="text-align: right;" > 781 <div class="modal-body" style="text-align: right;" >
781 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> 782 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i>
782 <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> 783 <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe>
783 </div> 784 </div>
784 785
1 // create the module and name it scotchApp 1 // create the module and name it scotchApp
2 var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); 2 var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']);
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 paymentVerify page 14 // route for the paymentVerify page
15 .when('/pendingPayment/:id', { 15 .when('/pendingPayment/: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 // route for the confirmation page 26 // route for the confirmation page
27 .when('/confirmation', { 27 .when('/confirmation', {
28 templateUrl: 'pages/confirmation.html', 28 templateUrl: 'pages/confirmation.html',
29 controller: 'mainController' 29 controller: 'mainController'
30 }) 30 })
31 31
32 }); 32 });
33 33
34 scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { 34 scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) {
35 // Add configuration code as desired 35 // Add configuration code as desired
36 // AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code 36 AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code
37
38 AnalyticsProvider.setAccount({
39 tracker: 'UA-106416759-1',
40 name: "startupjalsa-app",
41 trackEvent: true,
42 trackEcommerce: true
43 });
44 37
45 // Track all routes (default is true). 38 // Track all routes (default is true).
46 AnalyticsProvider.trackPages(true); 39 AnalyticsProvider.trackPages(true);
47 40
48 // Track all URL query params (default is false). 41 // Track all URL query params (default is false).
49 AnalyticsProvider.trackUrlParams(true); 42 AnalyticsProvider.trackUrlParams(true);
50 43
51 }]).run(['Analytics', function(Analytics) { }]); 44 }]).run(['Analytics', function(Analytics) { }]);
52 45
53 scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") 46 scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api")
54 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") 47 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api")
55 48
56 // create the controller and inject Angular's $scope 49 // create the controller and inject Angular's $scope
57 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { 50 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) {
58 $scope.data = { 51 $scope.data = {
59 show: true, 52 show: true,
60 hide: false 53 hide: false
61 }; 54 };
62 55
63 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 56 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
64 57
65 $scope.max = 100; 58 $scope.max = 100;
66 $scope.current = 0; 59 $scope.current = 0;
67 $scope.payingAmnt = 0; 60 $scope.payingAmnt = 0;
68 if ($scope.data.stage == 'select') { 61 if ($scope.data.stage == 'select') {
69 62
70 } 63 }
71 64
72 //$scope.author = 'Swarn Singh'; 65 //$scope.author = 'Swarn Singh';
73 $scope.data = {}; 66 $scope.data = {};
74 $scope.data.stage = 'Idea'; 67 $scope.data.stage = 'Idea';
75 $scope.discountAmount = 0; 68 $scope.discountAmount = 0;
76 $scope.check = false; 69 $scope.check = false;
77 $scope.numberCheck = false; 70 $scope.numberCheck = false;
78 $scope.paymentResult = {}; 71 $scope.paymentResult = {};
79 var data = { 72 var data = {
80 "amount": $scope.payingAmnt, 73 "amount": $scope.payingAmnt,
81 "currency": "INR", 74 "currency": "INR",
82 "status": "pending" 75 "status": "pending"
83 } 76 }
84 77
85 /*open videos in modal*/ 78 /*open videos in modal*/
86 // $scope.openyoutube16 = function(){ 79 // $scope.openyoutube16 = function(){
87 // $('#videoModel').modal('show'); 80 // $('#videoModel').modal('show');
88 // } 81 // }
89 82
90 // $scope.openyoutube17 = function(){ 83 // $scope.openyoutube17 = function(){
91 // $('#videoModels').modal('show'); 84 // $('#videoModels').modal('show');
92 // } 85 // }
93 86
94 // $scope.closeModal = function(){ 87 // $scope.closeModal = function(){
95 // var url = $('#youtubePlayer').attr('src'); 88 // var url = $('#youtubePlayer').attr('src');
96 // $('#youtubePlayer').attr('src', ''); 89 // $('#youtubePlayer').attr('src', '');
97 // $('#youtubePlayer').attr('src', url); 90 // $('#youtubePlayer').attr('src', url);
98 // } 91 // }
99 92
100 93
101 // $scope.closed = function(){ 94 // $scope.closed = function(){
102 // var url = $('#youtubePlayersss').attr('src'); 95 // var url = $('#youtubePlayersss').attr('src');
103 // $('#youtubePlayersss').attr('src', ''); 96 // $('#youtubePlayersss').attr('src', '');
104 // $('#youtubePlayersss').attr('src', url); 97 // $('#youtubePlayersss').attr('src', url);
105 // } 98 // }
106 /*open videos ends here*/ 99 /*open videos ends here*/
107 100
108 $scope.removeError = function() { 101 $scope.removeError = function() {
109 $('#invalidEmail').css('display', 'none'); 102 $('#invalidEmail').css('display', 'none');
110 $('#alreadyExist').css('display', 'none'); 103 $('#alreadyExist').css('display', 'none');
111 }; 104 };
112 105
113 $scope.emailcheck = function(val) { 106 $scope.emailcheck = function(val) {
114 if (val == undefined) { 107 if (val == undefined) {
115 $('#invalidEmail').css('display', 'block'); 108 $('#invalidEmail').css('display', 'block');
116 } else { 109 } else {
117 $http({ 110 $http({
118 method: 'GET', 111 method: 'GET',
119 url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', 112 url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
120 headers: {} 113 headers: {}
121 }).then(function mySuccess(searchResult) { 114 }).then(function mySuccess(searchResult) {
122 console.log("searchResult1===>", searchResult) 115 console.log("searchResult1===>", searchResult)
123 if (searchResult.data.length == 0) { 116 if (searchResult.data.length == 0) {
124 $scope.check = false; 117 $scope.check = false;
125 } else { 118 } else {
126 $scope.check = true; 119 $scope.check = true;
127 $('#alreadyExist').css('display', 'block'); 120 $('#alreadyExist').css('display', 'block');
128 } 121 }
129 }, function myError(error) {}); 122 }, function myError(error) {});
130 } 123 }
131 }; 124 };
132 125
133 $scope.removeNoError = function() { 126 $scope.removeNoError = function() {
134 $('#noExist').css('display', 'none'); 127 $('#noExist').css('display', 'none');
135 }; 128 };
136 129
137 $scope.numbercheck = function(number) { 130 $scope.numbercheck = function(number) {
138 $http({ 131 $http({
139 method: 'GET', 132 method: 'GET',
140 url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', 133 url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}',
141 data: $scope.data, 134 data: $scope.data,
142 headers: {} 135 headers: {}
143 }).then(function mySuccess(searchResult) { 136 }).then(function mySuccess(searchResult) {
144 console.log("searchResult===>", searchResult) 137 console.log("searchResult===>", searchResult)
145 if (searchResult.data.length == 0) { 138 if (searchResult.data.length == 0) {
146 $scope.numberCheck = false; 139 $scope.numberCheck = false;
147 140
148 } else { 141 } else {
149 $scope.numberCheck = true; 142 $scope.numberCheck = true;
150 $('#noExist').css('display', 'block'); 143 $('#noExist').css('display', 'block');
151 } 144 }
152 }, function myError(error) {}); 145 }, function myError(error) {});
153 }; 146 };
154 147
155 $rootScope.tokenCall = function(val) { 148 $rootScope.tokenCall = function(val) {
156 console.log('val-------->', val); 149 console.log('val-------->', val);
157 if (val == undefined) { 150 if (val == undefined) {
158 $('#invalidEmail').css('display', 'block'); 151 $('#invalidEmail').css('display', 'block');
159 } else { 152 } else {
160 val = val.toUpperCase(); 153 val = val.toUpperCase();
161 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') 154 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}')
162 .then(function(searchResult) { 155 .then(function(searchResult) {
163 if (searchResult.data.length == 0) { 156 if (searchResult.data.length == 0) {
164 $scope.tokencheck = false; 157 $scope.tokencheck = false;
165 $scope.discountAmount = 0; 158 $scope.discountAmount = 0;
166 } else { 159 } else {
167 $scope.tokencheck = true; 160 $scope.tokencheck = true;
168 } 161 }
169 },function(err){ 162 },function(err){
170 console.log(err) 163 console.log(err)
171 }); 164 });
172 165
173 } 166 }
174 }; 167 };
175 168
176 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ 169 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
177 $(document).ready( 170 $(document).ready(
178 function() { 171 function() {
179 $('input:submit').attr('disabled', true); 172 $('input:submit').attr('disabled', true);
180 $('input:file').change( 173 $('input:file').change(
181 function() { 174 function() {
182 if ($("#picture").val()) { 175 if ($("#picture").val()) {
183 $('input:submit').removeAttr('disabled'); 176 $('input:submit').removeAttr('disabled');
184 } else { 177 } else {
185 $('input:submit').attr('disabled', true); 178 $('input:submit').attr('disabled', true);
186 } 179 }
187 }); 180 });
188 }); 181 });
189 182
190 /*****THIS IS FOR STEP ONE FORM ******/ 183 /*****THIS IS FOR STEP ONE FORM ******/
191 $scope.next = function() { 184 $scope.next = function() {
192 185
193 Analytics.trackEvent('information', 'play', 'django.mp4'); 186 Analytics.trackEvent('information', 'play', 'django.mp4');
194 187
195 $scope.data.status = null 188 $scope.data.status = null
196 if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { 189 if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) {
197 var x = document.getElementById("snackbar") 190 var x = document.getElementById("snackbar")
198 x.className = "show"; 191 x.className = "show";
199 setTimeout(function() { 192 setTimeout(function() {
200 x.className = x.className.replace("show", ""); 193 x.className = x.className.replace("show", "");
201 }, 3000); 194 }, 3000);
202 } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { 195 } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) {
203 $scope.infoForm = true; 196 $scope.infoForm = true;
204 console.log("sdasdasdsa"); 197 console.log("sdasdasdsa");
205 $scope.data.stage = $scope.data.stage; 198 $scope.data.stage = $scope.data.stage;
206 $scope.detail = {}; 199 $scope.detail = {};
207 $scope.data.phone = "+91" + $scope.data.number; 200 $scope.data.phone = "+91" + $scope.data.number;
208 $http({ 201 $http({
209 method: 'POST', 202 method: 'POST',
210 url: BASE_URL + '/information', 203 url: BASE_URL + '/information',
211 data: $scope.data, 204 data: $scope.data,
212 headers: {} 205 headers: {}
213 }).then(function mySuccess(result) { 206 }).then(function mySuccess(result) {
214 console.log("result", result) 207 console.log("result", result)
215 $scope.detail = result; 208 $scope.detail = result;
216 data.applicantId = result.data.id; 209 data.applicantId = result.data.id;
217 $scope.userId = result.data.id; 210 $scope.userId = result.data.id;
218 211
219 }, function myError(error) {}); 212 }, function myError(error) {});
220 213
221 } 214 }
222 215
223 } 216 }
224 217
225 $scope.calculateAmount = function(){ 218 $scope.calculateAmount = function(){
226 219
227 Analytics.trackEvent('applicants', 'play', 'django.mp4'); 220 Analytics.trackEvent('applicants', 'play', 'django.mp4');
228 221
229 if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { 222 if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) {
230 var x = document.getElementById("snackbar") 223 var x = document.getElementById("snackbar")
231 x.className = "show"; 224 x.className = "show";
232 setTimeout(function() { 225 setTimeout(function() {
233 x.className = x.className.replace("show", ""); 226 x.className = x.className.replace("show", "");
234 }, 3000); 227 }, 3000);
235 } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { 228 } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) {
236 $scope.infoForm = true; 229 $scope.infoForm = true;
237 console.log("sdasdasdsa"); 230 console.log("sdasdasdsa");
238 $scope.data.stage = $scope.data.stage; 231 $scope.data.stage = $scope.data.stage;
239 $scope.detail = {}; 232 $scope.detail = {};
240 $scope.data.phone = "+91" + $scope.data.number; 233 $scope.data.phone = "+91" + $scope.data.number;
241 $http({ 234 $http({
242 method: 'POST', 235 method: 'POST',
243 url: BASE_URL + '/applicants', 236 url: BASE_URL + '/applicants',
244 data: $scope.data, 237 data: $scope.data,
245 headers: {} 238 headers: {}
246 }).then(function mySuccess(result) { 239 }).then(function mySuccess(result) {
247 console.log("result", result) 240 console.log("result", result)
248 $scope.detail = result; 241 $scope.detail = result;
249 data.applicantId = result.data.id; 242 data.applicantId = result.data.id;
250 $scope.userId = result.data.id; 243 $scope.userId = result.data.id;
251 244
252 }, function myError(error) {}); 245 }, function myError(error) {});
253 } 246 }
254 247
255 if ($scope.data.stage == "Idea") { 248 if ($scope.data.stage == "Idea") {
256 console.log("$scope.data", $scope.data) 249 console.log("$scope.data", $scope.data)
257 $scope.ticketAmnt = 500; 250 $scope.ticketAmnt = 500;
258 } 251 }
259 252
260 if ($scope.data.stage == "Product") { 253 if ($scope.data.stage == "Product") {
261 $scope.ticketAmnt = 1000; 254 $scope.ticketAmnt = 1000;
262 } 255 }
263 256
264 if ($scope.data.stage == "Growth") { 257 if ($scope.data.stage == "Growth") {
265 $scope.ticketAmnt = 2000; 258 $scope.ticketAmnt = 2000;
266 } 259 }
267 260
268 if($scope.tokencheck == true){ 261 if($scope.tokencheck == true){
269 var amount = $scope.ticketAmnt 262 var amount = $scope.ticketAmnt
270 $scope.discountAmount = (amount * 10)/100 263 $scope.discountAmount = (amount * 10)/100
271 console.log("finalAmount====>",$scope.payingAmnt) 264 console.log("finalAmount====>",$scope.payingAmnt)
272 } 265 }
273 266
274 var taxAmount = $scope.ticketAmnt - $scope.discountAmount 267 var taxAmount = $scope.ticketAmnt - $scope.discountAmount
275 $scope.taxTotal = (taxAmount * 18)/100 268 $scope.taxTotal = (taxAmount * 18)/100
276 $scope.payingAmnt = taxAmount + $scope.taxTotal 269 $scope.payingAmnt = taxAmount + $scope.taxTotal
277 console.log("taxincludedamount----", $scope.payingAmnt) 270 console.log("taxincludedamount----", $scope.payingAmnt)
278 } 271 }
279 272
280 /*****THIS IS FOR STEP THREE FORM ******/ 273 /*****THIS IS FOR STEP THREE FORM ******/
281 $scope.create = function() { 274 $scope.create = function() {
282 275
283 Analytics.trackEvent('payments', 'play', 'django.mp4'); 276 Analytics.trackEvent('payments', 'play', 'django.mp4');
284 277
285 // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { 278 // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
286 // var x = document.getElementById("snackbar") 279 // var x = document.getElementById("snackbar")
287 // x.className = "show"; 280 // x.className = "show";
288 // setTimeout(function() { 281 // setTimeout(function() {
289 // x.className = x.className.replace("show", ""); 282 // x.className = x.className.replace("show", "");
290 // }, 3000); 283 // }, 3000);
291 // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { 284 // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
292 // $scope.infoForm = true; 285 // $scope.infoForm = true;
293 // console.log("sdasdasdsa"); 286 // console.log("sdasdasdsa");
294 // $scope.data.stage = $scope.data.stage; 287 // $scope.data.stage = $scope.data.stage;
295 // $scope.detail = {}; 288 // $scope.detail = {};
296 // $scope.data.phone = "+91" + $scope.data.number; 289 // $scope.data.phone = "+91" + $scope.data.number;
297 // $http({ 290 // $http({
298 // method: 'POST', 291 // method: 'POST',
299 // url: BASE_URL + '/applicants', 292 // url: BASE_URL + '/applicants',
300 // data: $scope.data, 293 // data: $scope.data,
301 // headers: {} 294 // headers: {}
302 // }).then(function mySuccess(result) { 295 // }).then(function mySuccess(result) {
303 296
304 // console.log("=====result=====", result) 297 // console.log("=====result=====", result)
305 // $scope.detail = result; 298 // $scope.detail = result;
306 // data.applicantId = result.data.id; 299 // data.applicantId = result.data.id;
307 // $scope.userId = result.data.id; 300 // $scope.userId = result.data.id;
308 // console.log("=====data=====", data) 301 // console.log("=====data=====", data)
309 data.amount = $scope.payingAmnt; 302 data.amount = $scope.payingAmnt;
310 if ($scope.detail != null) { 303 if ($scope.detail != null) {
311 $http({ 304 $http({
312 method: 'POST', 305 method: 'POST',
313 url: BASE_URL + '/payments', 306 url: BASE_URL + '/payments',
314 data: data, 307 data: data,
315 headers: {} 308 headers: {}
316 }).then(function mySuccess(paymentResult) { 309 }).then(function mySuccess(paymentResult) {
317 console.log("paymentResult",paymentResult) 310 console.log("paymentResult",paymentResult)
318 $scope.paymentResult = paymentResult; 311 $scope.paymentResult = paymentResult;
319 }, function myError(error) {}); 312 }, function myError(error) {});
320 } 313 }
321 var i = 0; 314 var i = 0;
322 $scope.payingAmnt = $scope.payingAmnt * 100; 315 $scope.payingAmnt = $scope.payingAmnt * 100;
323 var options = { 316 var options = {
324 "key": "rzp_live_mhSE1uOBlXvFyJ", 317 "key": "rzp_live_mhSE1uOBlXvFyJ",
325 "amount": $scope.payingAmnt, 318 "amount": $scope.payingAmnt,
326 319
327 "name": "Startup Jalsa", 320 "name": "Startup Jalsa",
328 "description": "amount", 321 "description": "amount",
329 "currency": "INR", 322 "currency": "INR",
330 "status": "done", 323 "status": "done",
331 324
332 "theme": { 325 "theme": {
333 "color": "#2196f3 ", 326 "color": "#2196f3 ",
334 "image_padding": "NO" 327 "image_padding": "NO"
335 }, 328 },
336 "modal": { 329 "modal": {
337 "ondismiss": function() {} 330 "ondismiss": function() {}
338 }, 331 },
339 "handler": function(response) { 332 "handler": function(response) {
340 createPayment(response); 333 createPayment(response);
341 } 334 }
342 }; 335 };
343 var rzp1 = new Razorpay(options); 336 var rzp1 = new Razorpay(options);
344 rzp1.open(); 337 rzp1.open();
345 $scope.paymentResponse = {}; 338 $scope.paymentResponse = {};
346 339
347 function createPayment(response) { 340 function createPayment(response) {
348 console.log("response====from===razorpay",response) 341 console.log("response====from===razorpay",response)
349 $route.reload(); 342 $route.reload();
350 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 343 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
351 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 344 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
352 $scope.paymentResponse.amount = data.amount; 345 $scope.paymentResponse.amount = data.amount;
353 $scope.paymentResponse.currency = "INR"; 346 $scope.paymentResponse.currency = "INR";
354 $scope.paymentResponse.status = $scope.paymentResult.data.status; 347 $scope.paymentResponse.status = $scope.paymentResult.data.status;
355 $http({ 348 $http({
356 method: 'PUT', 349 method: 'PUT',
357 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, 350 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id,
358 data: $scope.paymentResponse, 351 data: $scope.paymentResponse,
359 headers: {} 352 headers: {}
360 }).then(function mySuccess(searchResult) { 353 }).then(function mySuccess(searchResult) {
361 console.log("searchResult", searchResult) 354 console.log("searchResult", searchResult)
362 $location.path("/confirmation") 355 $location.path("/confirmation")
363 //$scope.showToastr() 356 //$scope.showToastr()
364 //toaster.success("Registration done successfully"); 357 //toaster.success("Registration done successfully");
365 358
366 }, function myError(error) {}); 359 }, function myError(error) {});
367 } 360 }
368 361
369 //}, function myError(error) {}); 362 //}, function myError(error) {});
370 //} 363 //}
371 364
372 } 365 }
373 366
374 // $scope.showToastr = function() { 367 // $scope.showToastr = function() {
375 // console.log("called toast") 368 // console.log("called toast")
376 // var x = document.getElementById("snacsskbar") 369 // var x = document.getElementById("snacsskbar")
377 // x.className = "show"; 370 // x.className = "show";
378 // setTimeout(function() { 371 // setTimeout(function() {
379 // x.className = x.className.replace("show", ""); 372 // x.className = x.className.replace("show", "");
380 // }, 3000); 373 // }, 3000);
381 // } 374 // }
382 375
383 /*kk***This code for change data when click to chooses stages***/ 376 /*kk***This code for change data when click to chooses stages***/
384 $scope.proto = true; 377 $scope.proto = true;
385 $scope.businessmodel = true; 378 $scope.businessmodel = true;
386 $scope.Idea = true; 379 $scope.Idea = true;
387 $scope.current = true; 380 $scope.current = true;
388 381
389 $scope.stage = function(stage) { 382 $scope.stage = function(stage) {
390 $scope.stagekeyPress(); 383 $scope.stagekeyPress();
391 console.log("stage--2",stage) 384 console.log("stage--2",stage)
392 if (stage == 'Idea') { 385 if (stage == 'Idea') {
393 $scope.current = 10; 386 $scope.current = 10;
394 $scope.proto = true; 387 $scope.proto = true;
395 $scope.prototyp = false; 388 $scope.prototyp = false;
396 $scope.market = false; 389 $scope.market = false;
397 $scope.risks = false; 390 $scope.risks = false;
398 $scope.team = false; 391 $scope.team = false;
399 $scope.pitch = false; 392 $scope.pitch = false;
400 $scope.financials = false; 393 $scope.financials = false;
401 $scope.businessmodel = true; 394 $scope.businessmodel = true;
402 $scope.data.stage = stage; 395 $scope.data.stage = stage;
403 // for right content 396 // for right content
404 $scope.Idea = true; 397 $scope.Idea = true;
405 $scope.Product = false; 398 $scope.Product = false;
406 $scope.Growth = false; 399 $scope.Growth = false;
407 } else if (stage == 'Product') { 400 } else if (stage == 'Product') {
408 $scope.current = 10; 401 $scope.current = 10;
409 $scope.proto = true; 402 $scope.proto = true;
410 $scope.prototyp = true; 403 $scope.prototyp = true;
411 $scope.market = true; 404 $scope.market = true;
412 $scope.risks = true; 405 $scope.risks = true;
413 $scope.team = true; 406 $scope.team = true;
414 $scope.pitch = true; 407 $scope.pitch = true;
415 $scope.financials = true; 408 $scope.financials = true;
416 $scope.businessmodel = false; 409 $scope.businessmodel = false;
417 $scope.data.stage = stage; 410 $scope.data.stage = stage;
418 // for right content 411 // for right content
419 $scope.Idea = false; 412 $scope.Idea = false;
420 $scope.Product = true; 413 $scope.Product = true;
421 $scope.Growth = false; 414 $scope.Growth = false;
422 } else if (stage == 'Growth') { 415 } else if (stage == 'Growth') {
423 $scope.current = 10; 416 $scope.current = 10;
424 $scope.proto = false; 417 $scope.proto = false;
425 $scope.prototyp = true; 418 $scope.prototyp = true;
426 $scope.market = true; 419 $scope.market = true;
427 $scope.risks = true; 420 $scope.risks = true;
428 $scope.team = true; 421 $scope.team = true;
429 $scope.pitch = true; 422 $scope.pitch = true;
430 $scope.financials = true; 423 $scope.financials = true;
431 $scope.businessmodel = false; 424 $scope.businessmodel = false;
432 // for right content 425 // for right content
433 $scope.Idea = false; 426 $scope.Idea = false;
434 $scope.Product = false; 427 $scope.Product = false;
435 $scope.Growth = true; 428 $scope.Growth = true;
436 $scope.data.stage = stage; 429 $scope.data.stage = stage;
437 } 430 }
438 } 431 }
439 $scope.enterbusiness = function(business) { 432 $scope.enterbusiness = function(business) {
440 console.log("business", business); 433 console.log("business", business);
441 if (name == undefined) { 434 if (name == undefined) {
442 $scope.current = false; 435 $scope.current = false;
443 436
444 } else if (name != undefined) { 437 } else if (name != undefined) {
445 $scope.current = true; 438 $scope.current = true;
446 } 439 }
447 } 440 }
448 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ 441 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/
449 $scope.stagekeyPress = function() { 442 $scope.stagekeyPress = function() {
450 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); 443 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)');
451 } 444 }
452 $scope.sectorkeyPress = function() { 445 $scope.sectorkeyPress = function() {
453 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); 446 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)');
454 } 447 }
455 448
456 $scope.studentkeyPress = function() { 449 $scope.studentkeyPress = function() {
457 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); 450 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)');
458 } 451 }
459 452
460 $scope.namekeyPress = function(name) { 453 $scope.namekeyPress = function(name) {
461 console.log("name", name); 454 console.log("name", name);
462 if (name == undefined) { 455 if (name == undefined) {
463 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); 456 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)');
464 } else { 457 } else {
465 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); 458 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)');
466 } 459 }
467 } 460 }
468 $scope.emailkeyPress = function(email) { 461 $scope.emailkeyPress = function(email) {
469 console.log("email", email); 462 console.log("email", email);
470 if (email == undefined) { 463 if (email == undefined) {
471 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); 464 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)');
472 } else { 465 } else {
473 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); 466 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)');
474 } 467 }
475 } 468 }
476 469
477 470
478 $scope.phonekeyPress = function(number) { 471 $scope.phonekeyPress = function(number) {
479 console.log("number", number); 472 console.log("number", number);
480 if (number == undefined) { 473 if (number == undefined) {
481 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); 474 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)');
482 } else { 475 } else {
483 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); 476 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)');
484 } 477 }
485 } 478 }
486 479
487 $scope.citykeyPress = function(city) { 480 $scope.citykeyPress = function(city) {
488 console.log("city", city); 481 console.log("city", city);
489 if (city == undefined) { 482 if (city == undefined) {
490 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); 483 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)');
491 } else { 484 } else {
492 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); 485 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)');
493 } 486 }
494 } 487 }
495 488
496 $scope.questionkeyPress = function(q) { 489 $scope.questionkeyPress = function(q) {
497 if (q == undefined) { 490 if (q == undefined) {
498 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); 491 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)');
499 } else { 492 } else {
500 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); 493 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)');
501 } 494 }
502 } 495 }
503 496
504 $scope.technologykeyPress = function(technology) { 497 $scope.technologykeyPress = function(technology) {
505 if (technology == undefined) { 498 if (technology == undefined) {
506 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); 499 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)');
507 } else { 500 } else {
508 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); 501 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)');
509 } 502 }
510 } 503 }
511 $scope.problemkeyPress = function(problem) { 504 $scope.problemkeyPress = function(problem) {
512 if (problem == undefined) { 505 if (problem == undefined) {
513 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); 506 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)');
514 } else { 507 } else {
515 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); 508 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)');
516 } 509 }
517 } 510 }
518 $scope.solutionkeyPress = function(solution) { 511 $scope.solutionkeyPress = function(solution) {
519 if (solution == undefined) { 512 if (solution == undefined) {
520 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); 513 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)');
521 } else { 514 } else {
522 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); 515 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)');
523 } 516 }
524 } 517 }
525 $scope.businesskeyPress = function(business) { 518 $scope.businesskeyPress = function(business) {
526 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); 519 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)');
527 } 520 }
528 521
529 $scope.prototypekeyPress = function(prototype) { 522 $scope.prototypekeyPress = function(prototype) {
530 if (prototype == undefined) { 523 if (prototype == undefined) {
531 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); 524 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)');
532 } else { 525 } else {
533 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); 526 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)');
534 } 527 }
535 } 528 }
536 529
537 $scope.marketkeyPress = function(market) { 530 $scope.marketkeyPress = function(market) {
538 if (market == undefined) { 531 if (market == undefined) {
539 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); 532 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)');
540 } else { 533 } else {
541 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); 534 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)');
542 } 535 }
543 } 536 }
544 537
545 $scope.riskkeyPress = function(risk) { 538 $scope.riskkeyPress = function(risk) {
546 if (risk == undefined) { 539 if (risk == undefined) {
547 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); 540 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)');
548 } else { 541 } else {
549 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); 542 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)');
550 } 543 }
551 } 544 }
552 545
553 $scope.teamkeyPress = function(team) { 546 $scope.teamkeyPress = function(team) {
554 if (team == undefined) { 547 if (team == undefined) {
555 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); 548 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)');
556 } else { 549 } else {
557 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); 550 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)');
558 } 551 }
559 } 552 }
560 553
561 $scope.pitchkeyPress = function(pitch) { 554 $scope.pitchkeyPress = function(pitch) {
562 if (pitch == undefined) { 555 if (pitch == undefined) {
563 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); 556 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)');
564 } else { 557 } else {
565 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); 558 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)');
566 } 559 }
567 } 560 }
568 561
569 $scope.financialskeyPress = function(financial) { 562 $scope.financialskeyPress = function(financial) {
570 console.log("financial", financial); 563 console.log("financial", financial);
571 if (financial == undefined) { 564 if (financial == undefined) {
572 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); 565 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)');
573 } else { 566 } else {
574 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); 567 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)');
575 } 568 }
576 } 569 }
577 $scope.changeReferalIconColor = function(referalToken){ 570 $scope.changeReferalIconColor = function(referalToken){
578 if (referalToken == undefined || referalToken == '') { 571 if (referalToken == undefined || referalToken == '') {
579 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); 572 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)');
580 }else { 573 }else {
581 $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); 574 $('.referel-icon').css('background-color', 'rgb(66, 181, 73)');
582 } 575 }
583 } 576 }
584 577
585 }); 578 });
586 579
587 scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { 580 scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) {
588 $scope.pendingPaymentId = $route.current.params.id 581 $scope.pendingPaymentId = $route.current.params.id
589 $http({ 582 $http({
590 method: "GET", 583 method: "GET",
591 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, 584 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId,
592 }).then(function mySuccess(response) { 585 }).then(function mySuccess(response) {
593 $scope.data = response.data; 586 $scope.data = response.data;
594 console.log("response-1", response); 587 console.log("response-1", response);
595 $scope.pendingPaymentId = $route.current.params.id; 588 $scope.pendingPaymentId = $route.current.params.id;
596 589
597 $http({ 590 $http({
598 method: "GET", 591 method: "GET",
599 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', 592 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}',
600 }).then(function mySuccess(response) { 593 }).then(function mySuccess(response) {
601 $scope.paymentRecord = response.data; 594 $scope.paymentRecord = response.data;
602 }, function myError(response) { 595 }, function myError(response) {
603 }); 596 });
604 }, function myError(response) { 597 }, function myError(response) {
605 $scope.myWelcome = response.statusText; 598 $scope.myWelcome = response.statusText;
606 }); 599 });
607 600
608 $scope.checkView = false; 601 $scope.checkView = false;
609 $scope.verifyView = false; 602 $scope.verifyView = false;
610 603
611 $scope.pendingPaymentId = ''; 604 $scope.pendingPaymentId = '';
612 605
613 $scope.update = function() { 606 $scope.update = function() {
614 607
615 $http({ 608 $http({
616 method: 'GET', 609 method: 'GET',
617 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', 610 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}',
618 headers: {} 611 headers: {}
619 }).then(function mySuccess(searchResult) { 612 }).then(function mySuccess(searchResult) {
620 if (searchResult.data[0].status == "created") { 613 if (searchResult.data[0].status == "created") {
621 $scope.checkView = true; 614 $scope.checkView = true;
622 $scope.verifyView = false; 615 $scope.verifyView = false;
623 $scope.amount = searchResult.data[0].amount; 616 $scope.amount = searchResult.data[0].amount;
624 $scope.searchResult = searchResult.data[0]; 617 $scope.searchResult = searchResult.data[0];
625 console.log('====searchResult===', searchResult); 618 console.log('====searchResult===', searchResult);
626 console.log("searchResult=====",searchResult.data[0].razorOrderId) 619 console.log("searchResult=====",searchResult.data[0].razorOrderId)
627 var i = 0; 620 var i = 0;
628 $scope.amount = $scope.amount * 100; 621 $scope.amount = $scope.amount * 100;
629 var options = { 622 var options = {
630 "key": "rzp_live_mhSE1uOBlXvFyJ", 623 "key": "rzp_live_mhSE1uOBlXvFyJ",
631 //"key" : "rzp_test_YwHsVFiDIQ2WUQ", 624 //"key" : "rzp_test_YwHsVFiDIQ2WUQ",
632 "amount": $scope.amount, 625 "amount": $scope.amount,
633 626
634 "name": "Startup Jalsa", 627 "name": "Startup Jalsa",
635 "description": "amount", 628 "description": "amount",
636 "currency": "INR", 629 "currency": "INR",
637 "status": "done", 630 "status": "done",
638 631
639 "theme": { 632 "theme": {
640 "color": "#2196f3 ", 633 "color": "#2196f3 ",
641 "image_padding": "NO" 634 "image_padding": "NO"
642 }, 635 },
643 "modal": { 636 "modal": {
644 "ondismiss": function() {} 637 "ondismiss": function() {}
645 }, 638 },
646 "handler": function(response) { 639 "handler": function(response) {
647 createPayment(response); 640 createPayment(response);
648 } 641 }
649 }; 642 };
650 var rzp1 = new Razorpay(options); 643 var rzp1 = new Razorpay(options);
651 rzp1.open(); 644 rzp1.open();
652 $scope.paymentResponse = {}; 645 $scope.paymentResponse = {};
653 function createPayment(response) { 646 function createPayment(response) {
654 $scope.amount = $scope.amount / 100; 647 $scope.amount = $scope.amount / 100;
655 console.log("response======retepaymen",response); 648 console.log("response======retepaymen",response);
656 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 649 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
657 $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; 650 $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId;
658 $scope.paymentResponse.amount = $scope.amount; 651 $scope.paymentResponse.amount = $scope.amount;
659 $scope.paymentResponse.currency = $scope.searchResult.currency; 652 $scope.paymentResponse.currency = $scope.searchResult.currency;
660 $scope.paymentResponse.status = $scope.searchResult.status; 653 $scope.paymentResponse.status = $scope.searchResult.status;
661 $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; 654 $scope.paymentResponse.applicantId = $scope.searchResult.applicantId;
662 console.log("$scope.paymentResponse", $scope.paymentResponse) 655 console.log("$scope.paymentResponse", $scope.paymentResponse)
663 $http({ 656 $http({
664 method: 'PUT', 657 method: 'PUT',
665 url: BASE_URL + '/payments/' + $scope.searchResult.id, 658 url: BASE_URL + '/payments/' + $scope.searchResult.id,
666 data: $scope.paymentResponse, 659 data: $scope.paymentResponse,
667 headers: {} 660 headers: {}
668 }).then(function mySuccess(searchResult) { 661 }).then(function mySuccess(searchResult) {
669 console.log("finalsearchResult",searchResult) 662 console.log("finalsearchResult",searchResult)
670 $location.path("/confirmation") 663 $location.path("/confirmation")
671 }, function myError(error) { 664 }, function myError(error) {
672 665
673 }); 666 });
674 } 667 }
675 } else { 668 } else {
676 669
677 } 670 }
678 671
679 }, function myError(error) {}); 672 }, function myError(error) {});
680 } 673 }
681 }); 674 });
682 675
683 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { 676 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) {
684 $scope.data = {}; 677 $scope.data = {};
685 $scope.check = false; 678 $scope.check = false;
686 $scope.numberCheck = false; 679 $scope.numberCheck = false;
687 680
688 /*open videos in modal*/ 681 /*open videos in modal*/
689 $scope.openyoutube16 = function(){ 682 $scope.openyoutube16 = function(){
690 $('#videoModel').modal('show'); 683 $('#videoModel').modal('show');
691 } 684 }
692 685
693 $scope.openyoutube17 = function(){ 686 $scope.openyoutube17 = function(){
694 $('#videoModels').modal('show'); 687 $('#videoModels').modal('show');
695 } 688 }
696 689
697 $scope.closeModal = function(){ 690 $scope.closeModal = function(){
698 var url = $('#youtubePlayer').attr('src'); 691 var url = $('#youtubePlayer').attr('src');
699 $('#youtubePlayer').attr('src', ''); 692 $('#youtubePlayer').attr('src', '');
700 $('#youtubePlayer').attr('src', url); 693 $('#youtubePlayer').attr('src', url);
701 } 694 }
702 /*open videos ends here*/ 695 /*open videos ends here*/
703 696
704 $scope.removeError = function() { 697 $scope.removeError = function() {
705 $('#invalidEmail').css('display', 'none'); 698 $('#invalidEmail').css('display', 'none');
706 $('#alreadyExist').css('display', 'none'); 699 $('#alreadyExist').css('display', 'none');
707 }; 700 };
708 701
709 $scope.emailcheck = function(val) { 702 $scope.emailcheck = function(val) {
710 if (val == undefined) { 703 if (val == undefined) {
711 $('#invalidEmail').css('display', 'block'); 704 $('#invalidEmail').css('display', 'block');
712 } else { 705 } else {
713 $http({ 706 $http({
714 method: 'GET', 707 method: 'GET',
715 url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', 708 url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
716 headers: {} 709 headers: {}
717 }).then(function mySuccess(searchResult) { 710 }).then(function mySuccess(searchResult) {
718 console.log("searchResult1===>", searchResult) 711 console.log("searchResult1===>", searchResult)
719 if (searchResult.data.length == 0) { 712 if (searchResult.data.length == 0) {
720 $scope.check = false; 713 $scope.check = false;
721 } else { 714 } else {
722 $scope.check = true; 715 $scope.check = true;
723 $('#alreadyExist').css('display', 'block'); 716 $('#alreadyExist').css('display', 'block');
724 } 717 }
725 }, function myError(error) {}); 718 }, function myError(error) {});
726 } 719 }
727 }; 720 };
728 721
729 $scope.removeNoError = function() { 722 $scope.removeNoError = function() {
730 $('#invalidNumber').css('display', 'none'); 723 $('#invalidNumber').css('display', 'none');
731 $('#noExist').css('display', 'none'); 724 $('#noExist').css('display', 'none');
732 }; 725 };
733 726
734 $scope.numbercheck = function(number) { 727 $scope.numbercheck = function(number) {
735 // if (val == undefined) { 728 // if (val == undefined) {
736 // $('#invalidNumber').css('display', 'block'); 729 // $('#invalidNumber').css('display', 'block');
737 // } else { 730 // } else {
738 $http({ 731 $http({
739 method: 'GET', 732 method: 'GET',
740 url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', 733 url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}',
741 data: $scope.data, 734 data: $scope.data,
742 headers: {} 735 headers: {}
743 }).then(function mySuccess(searchResult) { 736 }).then(function mySuccess(searchResult) {
744 console.log("searchResult===>", searchResult) 737 console.log("searchResult===>", searchResult)
745 if (searchResult.data.length == 0) { 738 if (searchResult.data.length == 0) {
746 $scope.numberCheck = false; 739 $scope.numberCheck = false;
747 } else { 740 } else {
748 $scope.numberCheck = true; 741 $scope.numberCheck = true;
749 $('#noExist').css('display', 'block'); 742 $('#noExist').css('display', 'block');
750 } 743 }
751 }, function myError(error) {}); 744 }, function myError(error) {});
752 //} 745 //}
753 746
754 }; 747 };
755 748
756 $scope.submit = function() { 749 $scope.submit = function() {
757 console.log($scope.data.name) 750 console.log($scope.data.name)
758 var randomNumber = ""+Math.random(); 751 var randomNumber = ""+Math.random();
759 var nameSpliced = $scope.data.name.slice(0,3); 752 var nameSpliced = $scope.data.name.slice(0,3);
760 var numberSpliced = randomNumber.slice(2,5); 753 var numberSpliced = randomNumber.slice(2,5);
761 $scope.data.referalToken = nameSpliced+numberSpliced; 754 $scope.data.referalToken = nameSpliced+numberSpliced;
762 $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); 755 $scope.data.referalToken = $scope.data.referalToken.toUpperCase();
763 756
764 $http({ 757 $http({
765 method: 'POST', 758 method: 'POST',
766 url: BASE_URL + '/ambassadors', 759 url: BASE_URL + '/ambassadors',
767 data: $scope.data, 760 data: $scope.data,
768 headers: {} 761 headers: {}
769 }).then(function mySuccess(result) { 762 }).then(function mySuccess(result) {
770 console.log("result", result) 763 console.log("result", result)
771 $scope.detail = result; 764 $scope.detail = result;
772 $('#myModal').modal('show'); 765 $('#myModal').modal('show');
773 $scope.data.name = ''; 766 $scope.data.name = '';
774 $scope.data.email = ''; 767 $scope.data.email = '';
775 $scope.data.mobile = ''; 768 $scope.data.mobile = '';
776 769
777 }, function myError(error) { 770 }, function myError(error) {
778 console.log(error) 771 console.log(error)
779 console.log(error.data.error.message) 772 console.log(error.data.error.message)
780 }); 773 });
781 console.log($scope.data) 774 console.log($scope.data)
782 } 775 }
783 }); 776 });
784 777
785 778