Commit e83ab8628ccf1f66bd63268b49bfcee8a638a7f2

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

minor changes

Showing 1 changed file with 281 additions and 281 deletions   Show diff stats
... ... @@ -59,222 +59,222 @@
59 59 hide: false
60 60 };
61 61  
62   - var maininvest = new Date("Dec 16, 2017 06:00:00").getTime();
63   - // Update the count down every 1 second
64   - var x = setInterval(function() {
65   - // Get todays date and time
66   - var now = new Date().getTime();
67   - // Find the distance between now an the count down date
68   - var distance = maininvest - now;
69   - // Time calculations for days, hours, minutes and seconds
70   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
71   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
72   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
73   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
74   - $scope.timer = days + "d " + hours + "h "
75   - + minutes + "m " + seconds + "s "
76   - // Output the result in an element with id="demo"
77   - document.getElementById("maininvest").innerHTML = days + "d " + hours + "h "
78   - + minutes + "m " + seconds + "s ";
79   - // If the count down is over, write some text
80   - if (distance < 0) {
81   - // $scope.extendedAmount =
82   - clearInterval(x);
83   - document.getElementById("maininvest").innerHTML = "EXPIRED";
84   - }
85   - }, 1000);
86   -
87   - var pune = new Date("Nov 11, 2017 12:00:00").getTime();
88   - // Update the count down every 1 second
89   - var x = setInterval(function() {
90   - // Get todays date and time
91   - var now = new Date().getTime();
92   - // Find the distance between now an the count down date
93   - var distance = pune - now;
94   - // Time calculations for days, hours, minutes and seconds
95   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
96   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
97   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
98   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
99   - $scope.timer = days + "d " + hours + "h "
100   - + minutes + "m " + seconds + "s "
101   - // Output the result in an element with id="demo"
102   - document.getElementById("pune").innerHTML = days + "d " + hours + "h "
103   - + minutes + "m " + seconds + "s ";
104   - // If the count down is over, write some text
105   - if (distance < 0) {
106   - clearInterval(x);
107   - document.getElementById("pune").innerHTML = "EXPIRED";
108   - }
109   - }, 1000);
110   -
111   - var mumbai = new Date("Nov 13, 2017 16:00:00").getTime();
112   - // Update the count down every 1 second
113   - var x = setInterval(function() {
114   - // Get todays date and time
115   - var now = new Date().getTime();
116   - // Find the distance between now an the count down date
117   - var distance = mumbai - now;
118   - // Time calculations for days, hours, minutes and seconds
119   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
120   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
121   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
122   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
123   - $scope.timer = days + "d " + hours + "h "
124   - + minutes + "m " + seconds + "s "
125   - // Output the result in an element with id="demo"
126   - document.getElementById("mumbai").innerHTML = days + "d " + hours + "h "
127   - + minutes + "m " + seconds + "s ";
128   - // If the count down is over, write some text
129   - if (distance < 0) {
130   - clearInterval(x);
131   - document.getElementById("mumbai").innerHTML = "EXPIRED";
132   - }
133   - }, 1000);
134   -
135   - var ahmedabad = new Date("Nov 15, 2017 16:00:00").getTime();
136   - // Update the count down every 1 second
137   - var x = setInterval(function() {
138   - // Get todays date and time
139   - var now = new Date().getTime();
140   - // Find the distance between now an the count down date
141   - var distance = ahmedabad - now;
142   - // Time calculations for days, hours, minutes and seconds
143   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
144   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
145   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
146   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
147   - $scope.timer = days + "d " + hours + "h "
148   - + minutes + "m " + seconds + "s "
149   - // Output the result in an element with id="demo"
150   - document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h "
151   - + minutes + "m " + seconds + "s ";
152   - // If the count down is over, write some text
153   - if (distance < 0) {
154   - clearInterval(x);
155   - document.getElementById("ahmedabad").innerHTML = "EXPIRED";
156   - }
157   - }, 1000);
158   -
159   - var jaipur = new Date("Nov 17, 2017 16:00:00").getTime();
160   - // Update the count down every 1 second
161   - var x = setInterval(function() {
162   - // Get todays date and time
163   - var now = new Date().getTime();
164   - // Find the distance between now an the count down date
165   - var distance = jaipur - now;
166   - // Time calculations for days, hours, minutes and seconds
167   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
168   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
169   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
170   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
171   - $scope.timer = days + "d " + hours + "h "
172   - + minutes + "m " + seconds + "s "
173   - // Output the result in an element with id="demo"
174   - document.getElementById("jaipur").innerHTML = days + "d " + hours + "h "
175   - + minutes + "m " + seconds + "s ";
176   - // If the count down is over, write some text
177   - if (distance < 0) {
178   - clearInterval(x);
179   - document.getElementById("jaipur").innerHTML = "EXPIRED";
180   - }
181   - }, 1000);
182   -
183   - var bangalore = new Date("Nov 22, 2017 16:00:00").getTime();
184   - // Update the count down every 1 second
185   - var x = setInterval(function() {
186   - // Get todays date and time
187   - var now = new Date().getTime();
188   - // Find the distance between now an the count down date
189   - var distance = bangalore - now;
190   - // Time calculations for days, hours, minutes and seconds
191   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
192   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
193   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
194   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
195   - $scope.timer = days + "d " + hours + "h "
196   - + minutes + "m " + seconds + "s "
197   - // Output the result in an element with id="demo"
198   - document.getElementById("bangalore").innerHTML = days + "d " + hours + "h "
199   - + minutes + "m " + seconds + "s ";
200   - // If the count down is over, write some text
201   - if (distance < 0) {
202   - clearInterval(x);
203   - document.getElementById("bangalore").innerHTML = "EXPIRED";
204   - }
205   - }, 1000);
206   -
207   - var hyderabad = new Date("Nov 21, 2017 16:00:00").getTime();
208   - // Update the count down every 1 second
209   - var x = setInterval(function() {
210   - // Get todays date and time
211   - var now = new Date().getTime();
212   - // Find the distance between now an the count down date
213   - var distance = hyderabad - now;
214   - // Time calculations for days, hours, minutes and seconds
215   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
216   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
217   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
218   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
219   - $scope.timer = days + "d " + hours + "h "
220   - + minutes + "m " + seconds + "s "
221   - // Output the result in an element with id="demo"
222   - document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h "
223   - + minutes + "m " + seconds + "s ";
224   - // If the count down is over, write some text
225   - if (distance < 0) {
226   - clearInterval(x);
227   - document.getElementById("hyderabad").innerHTML = "EXPIRED";
228   - }
229   - }, 1000);
230   -
231   - var delhi = new Date("Nov 27, 2017 12:00:00").getTime();
232   - // Update the count down every 1 second
233   - var x = setInterval(function() {
234   - // Get todays date and time
235   - var now = new Date().getTime();
236   - // Find the distance between now an the count down date
237   - var distance = delhi - now;
238   - // Time calculations for days, hours, minutes and seconds
239   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
240   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
241   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
242   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
243   - $scope.timer = days + "d " + hours + "h "
244   - + minutes + "m " + seconds + "s "
245   - // Output the result in an element with id="demo"
246   - document.getElementById("delhi").innerHTML = days + "d " + hours + "h "
247   - + minutes + "m " + seconds + "s ";
248   - // If the count down is over, write some text
249   - if (distance < 0) {
250   - clearInterval(x);
251   - document.getElementById("delhi").innerHTML = "EXPIRED";
252   - }
253   - }, 1000);
254   -
255   - var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime();
256   - // Update the count down every 1 second
257   - var x = setInterval(function() {
258   - // Get todays date and time
259   - var now = new Date().getTime();
260   - // Find the distance between now an the count down date
261   - var distance = chandigarh - now;
262   - // Time calculations for days, hours, minutes and seconds
263   - var days = Math.floor(distance / (1000 * 60 * 60 * 24));
264   - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
265   - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
266   - var seconds = Math.floor((distance % (1000 * 60)) / 1000);
267   - $scope.timer = days + "d " + hours + "h "
268   - + minutes + "m " + seconds + "s "
269   - // Output the result in an element with id="demo"
270   - document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h "
271   - + minutes + "m " + seconds + "s ";
272   - // If the count down is over, write some text
273   - if (distance < 0) {
274   - clearInterval(x);
275   - document.getElementById("chandigarh").innerHTML = "EXPIRED";
276   - }
277   - }, 1000);
  62 + // var maininvest = new Date("Dec 16, 2017 06:00:00").getTime();
  63 + // // Update the count down every 1 second
  64 + // var x = setInterval(function() {
  65 + // // Get todays date and time
  66 + // var now = new Date().getTime();
  67 + // // Find the distance between now an the count down date
  68 + // var distance = maininvest - now;
  69 + // // Time calculations for days, hours, minutes and seconds
  70 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  71 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  72 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  73 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  74 + // $scope.timer = days + "d " + hours + "h "
  75 + // + minutes + "m " + seconds + "s "
  76 + // // Output the result in an element with id="demo"
  77 + // document.getElementById("maininvest").innerHTML = days + "d " + hours + "h "
  78 + // + minutes + "m " + seconds + "s ";
  79 + // // If the count down is over, write some text
  80 + // if (distance < 0) {
  81 + // // $scope.extendedAmount =
  82 + // clearInterval(x);
  83 + // document.getElementById("maininvest").innerHTML = "EXPIRED";
  84 + // }
  85 + // }, 1000);
  86 +
  87 + // var pune = new Date("Nov 11, 2017 12:00:00").getTime();
  88 + // // Update the count down every 1 second
  89 + // var x = setInterval(function() {
  90 + // // Get todays date and time
  91 + // var now = new Date().getTime();
  92 + // // Find the distance between now an the count down date
  93 + // var distance = pune - now;
  94 + // // Time calculations for days, hours, minutes and seconds
  95 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  96 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  97 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  98 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  99 + // $scope.timer = days + "d " + hours + "h "
  100 + // + minutes + "m " + seconds + "s "
  101 + // // Output the result in an element with id="demo"
  102 + // document.getElementById("pune").innerHTML = days + "d " + hours + "h "
  103 + // + minutes + "m " + seconds + "s ";
  104 + // // If the count down is over, write some text
  105 + // if (distance < 0) {
  106 + // clearInterval(x);
  107 + // document.getElementById("pune").innerHTML = "EXPIRED";
  108 + // }
  109 + // }, 1000);
  110 +
  111 + // var mumbai = new Date("Nov 13, 2017 16:00:00").getTime();
  112 + // // Update the count down every 1 second
  113 + // var x = setInterval(function() {
  114 + // // Get todays date and time
  115 + // var now = new Date().getTime();
  116 + // // Find the distance between now an the count down date
  117 + // var distance = mumbai - now;
  118 + // // Time calculations for days, hours, minutes and seconds
  119 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  120 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  121 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  122 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  123 + // $scope.timer = days + "d " + hours + "h "
  124 + // + minutes + "m " + seconds + "s "
  125 + // // Output the result in an element with id="demo"
  126 + // document.getElementById("mumbai").innerHTML = days + "d " + hours + "h "
  127 + // + minutes + "m " + seconds + "s ";
  128 + // // If the count down is over, write some text
  129 + // if (distance < 0) {
  130 + // clearInterval(x);
  131 + // document.getElementById("mumbai").innerHTML = "EXPIRED";
  132 + // }
  133 + // }, 1000);
  134 +
  135 + // var ahmedabad = new Date("Nov 15, 2017 16:00:00").getTime();
  136 + // // Update the count down every 1 second
  137 + // var x = setInterval(function() {
  138 + // // Get todays date and time
  139 + // var now = new Date().getTime();
  140 + // // Find the distance between now an the count down date
  141 + // var distance = ahmedabad - now;
  142 + // // Time calculations for days, hours, minutes and seconds
  143 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  144 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  145 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  146 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  147 + // $scope.timer = days + "d " + hours + "h "
  148 + // + minutes + "m " + seconds + "s "
  149 + // // Output the result in an element with id="demo"
  150 + // document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h "
  151 + // + minutes + "m " + seconds + "s ";
  152 + // // If the count down is over, write some text
  153 + // if (distance < 0) {
  154 + // clearInterval(x);
  155 + // document.getElementById("ahmedabad").innerHTML = "EXPIRED";
  156 + // }
  157 + // }, 1000);
  158 +
  159 + // var jaipur = new Date("Nov 17, 2017 16:00:00").getTime();
  160 + // // Update the count down every 1 second
  161 + // var x = setInterval(function() {
  162 + // // Get todays date and time
  163 + // var now = new Date().getTime();
  164 + // // Find the distance between now an the count down date
  165 + // var distance = jaipur - now;
  166 + // // Time calculations for days, hours, minutes and seconds
  167 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  168 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  169 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  170 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  171 + // $scope.timer = days + "d " + hours + "h "
  172 + // + minutes + "m " + seconds + "s "
  173 + // // Output the result in an element with id="demo"
  174 + // document.getElementById("jaipur").innerHTML = days + "d " + hours + "h "
  175 + // + minutes + "m " + seconds + "s ";
  176 + // // If the count down is over, write some text
  177 + // if (distance < 0) {
  178 + // clearInterval(x);
  179 + // document.getElementById("jaipur").innerHTML = "EXPIRED";
  180 + // }
  181 + // }, 1000);
  182 +
  183 + // var bangalore = new Date("Nov 22, 2017 16:00:00").getTime();
  184 + // // Update the count down every 1 second
  185 + // var x = setInterval(function() {
  186 + // // Get todays date and time
  187 + // var now = new Date().getTime();
  188 + // // Find the distance between now an the count down date
  189 + // var distance = bangalore - now;
  190 + // // Time calculations for days, hours, minutes and seconds
  191 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  192 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  193 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  194 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  195 + // $scope.timer = days + "d " + hours + "h "
  196 + // + minutes + "m " + seconds + "s "
  197 + // // Output the result in an element with id="demo"
  198 + // document.getElementById("bangalore").innerHTML = days + "d " + hours + "h "
  199 + // + minutes + "m " + seconds + "s ";
  200 + // // If the count down is over, write some text
  201 + // if (distance < 0) {
  202 + // clearInterval(x);
  203 + // document.getElementById("bangalore").innerHTML = "EXPIRED";
  204 + // }
  205 + // }, 1000);
  206 +
  207 + // var hyderabad = new Date("Nov 21, 2017 16:00:00").getTime();
  208 + // // Update the count down every 1 second
  209 + // var x = setInterval(function() {
  210 + // // Get todays date and time
  211 + // var now = new Date().getTime();
  212 + // // Find the distance between now an the count down date
  213 + // var distance = hyderabad - now;
  214 + // // Time calculations for days, hours, minutes and seconds
  215 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  216 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  217 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  218 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  219 + // $scope.timer = days + "d " + hours + "h "
  220 + // + minutes + "m " + seconds + "s "
  221 + // // Output the result in an element with id="demo"
  222 + // document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h "
  223 + // + minutes + "m " + seconds + "s ";
  224 + // // If the count down is over, write some text
  225 + // if (distance < 0) {
  226 + // clearInterval(x);
  227 + // document.getElementById("hyderabad").innerHTML = "EXPIRED";
  228 + // }
  229 + // }, 1000);
  230 +
  231 + // var delhi = new Date("Nov 27, 2017 12:00:00").getTime();
  232 + // // Update the count down every 1 second
  233 + // var x = setInterval(function() {
  234 + // // Get todays date and time
  235 + // var now = new Date().getTime();
  236 + // // Find the distance between now an the count down date
  237 + // var distance = delhi - now;
  238 + // // Time calculations for days, hours, minutes and seconds
  239 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  240 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  241 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  242 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  243 + // $scope.timer = days + "d " + hours + "h "
  244 + // + minutes + "m " + seconds + "s "
  245 + // // Output the result in an element with id="demo"
  246 + // document.getElementById("delhi").innerHTML = days + "d " + hours + "h "
  247 + // + minutes + "m " + seconds + "s ";
  248 + // // If the count down is over, write some text
  249 + // if (distance < 0) {
  250 + // clearInterval(x);
  251 + // document.getElementById("delhi").innerHTML = "EXPIRED";
  252 + // }
  253 + // }, 1000);
  254 +
  255 + // var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime();
  256 + // // Update the count down every 1 second
  257 + // var x = setInterval(function() {
  258 + // // Get todays date and time
  259 + // var now = new Date().getTime();
  260 + // // Find the distance between now an the count down date
  261 + // var distance = chandigarh - now;
  262 + // // Time calculations for days, hours, minutes and seconds
  263 + // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  264 + // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  265 + // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  266 + // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  267 + // $scope.timer = days + "d " + hours + "h "
  268 + // + minutes + "m " + seconds + "s "
  269 + // // Output the result in an element with id="demo"
  270 + // document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h "
  271 + // + minutes + "m " + seconds + "s ";
  272 + // // If the count down is over, write some text
  273 + // if (distance < 0) {
  274 + // clearInterval(x);
  275 + // document.getElementById("chandigarh").innerHTML = "EXPIRED";
  276 + // }
  277 + // }, 1000);
278 278  
279 279 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
280 280 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
... ... @@ -283,14 +283,14 @@
283 283 $scope.formPage = false;
284 284 $scope.current = 0;
285 285 $scope.payingAmnt = 0;
286   - if ($scope.data.stage == 'select') {
  286 + // if ($scope.data.stage == 'select') {
287 287  
288   - }
  288 + // }
289 289  
290 290 //$scope.author = 'Swarn Singh';
291 291 $scope.data = {};
292   - $scope.data.stage = 'Pitch your Business plan';
293   - $scope.data.networkDinner = "true";
  292 + // $scope.data.stage = 'Pitch your Business plan';
  293 + // $scope.data.networkDinner = "true";
294 294 $scope.discountAmount = 0;
295 295 // $scope.data.quantity = "1";
296 296 $scope.check = false;
... ... @@ -328,9 +328,9 @@
328 328 Analytics.trackEvent('register', 'click', 'Registration');
329 329 $location.path("/registration")
330 330 }
331   - $scope.data.citymeetup = '';
  331 + // $scope.data.citymeetup = '';
332 332 $scope.register = function(value){
333   - $scope.data.citymeetup = value;
  333 + // $scope.data.citymeetup = value;
334 334 // if (value == 'mainevent') {
335 335 // $scope.eventType = true;
336 336 // $scope.mainType = false;
... ... @@ -378,69 +378,69 @@
378 378 // }
379 379 // };
380 380  
381   - $scope.removeNoError = function() {
382   - $('#noExist').css('display', 'none');
383   - };
384   -
385   - $scope.numbercheck = function(number) {
386   - $http({
387   - method: 'GET',
388   - url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}',
389   - data: $scope.data,
390   - headers: {}
391   - }).then(function mySuccess(searchResult) {
392   - console.log("searchResult===>", searchResult)
393   - if (searchResult.data.length == 0) {
394   - $scope.numberCheck = false;
  381 + // $scope.removeNoError = function() {
  382 + // $('#noExist').css('display', 'none');
  383 + // };
395 384  
396   - } else {
397   - $scope.numberCheck = true;
398   - $('#noExist').css('display', 'block');
399   - }
400   - }, function myError(error) {});
401   - };
  385 + // $scope.numbercheck = function(number) {
  386 + // $http({
  387 + // method: 'GET',
  388 + // url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}',
  389 + // data: $scope.data,
  390 + // headers: {}
  391 + // }).then(function mySuccess(searchResult) {
  392 + // console.log("searchResult===>", searchResult)
  393 + // if (searchResult.data.length == 0) {
  394 + // $scope.numberCheck = false;
  395 +
  396 + // } else {
  397 + // $scope.numberCheck = true;
  398 + // $('#noExist').css('display', 'block');
  399 + // }
  400 + // }, function myError(error) {});
  401 + // };
402 402  
403   - $rootScope.tokenCall = function(val) {
404   - console.log('val-------->', val);
405   - if (val == undefined) {
406   - $('#invalidToken').css('display', 'block');
407   - } else {
408   - val = val.toUpperCase();
409   - $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}')
410   - .then(function(searchResult) {
411   - console.log("searchResult",searchResult)
412   - if (searchResult.data.length == 0) {
413   - $scope.tokencheck = false;
414   - $scope.discountAmount = 0;
415   - } else {
416   - $scope.discountpercentage = searchResult.data[0].discount;
417   - $scope.tokencheck = true;
418   - }
419   - },function(err){
420   - console.log(err)
421   - });
  403 + // $rootScope.tokenCall = function(val) {
  404 + // console.log('val-------->', val);
  405 + // if (val == undefined) {
  406 + // $('#invalidToken').css('display', 'block');
  407 + // } else {
  408 + // val = val.toUpperCase();
  409 + // $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}')
  410 + // .then(function(searchResult) {
  411 + // console.log("searchResult",searchResult)
  412 + // if (searchResult.data.length == 0) {
  413 + // $scope.tokencheck = false;
  414 + // $scope.discountAmount = 0;
  415 + // } else {
  416 + // $scope.discountpercentage = searchResult.data[0].discount;
  417 + // $scope.tokencheck = true;
  418 + // }
  419 + // },function(err){
  420 + // console.log(err)
  421 + // });
422 422  
423   - }
424   - };
425   -
426   - $scope.IfDinnerCheck = function(value){
427   - $scope.data.networkDinner = value;
428   - console.log("value",value)
429   - }
  423 + // }
  424 + // };
430 425  
431   - /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
432   - $(document).ready(
433   - function() {
434   - $('input:submit').attr('disabled', true);
435   - $('input:file').change(
436   - function() {
437   - if ($("#picture").val()) {
438   - $('input:submit').removeAttr('disabled');
439   - } else {
440   - $('input:submit').attr('disabled', true);
441   - }
442   - });
443   - });
  426 + // $scope.IfDinnerCheck = function(value){
  427 + // $scope.data.networkDinner = value;
  428 + // console.log("value",value)
  429 + // }
  430 +
  431 + // /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
  432 + // $(document).ready(
  433 + // function() {
  434 + // $('input:submit').attr('disabled', true);
  435 + // $('input:file').change(
  436 + // function() {
  437 + // if ($("#picture").val()) {
  438 + // $('input:submit').removeAttr('disabled');
  439 + // } else {
  440 + // $('input:submit').attr('disabled', true);
  441 + // }
  442 + // });
  443 + // });
444 444  
445 445 /*****THIS IS FOR STEP ONE FORM ******/
446 446 // $scope.next = function() {
... ...