Commit 7738bbe016219e6544b4370dfb1737c464edb591
1 parent
5259a7d0ed
Exists in
master
and in
1 other branch
minor changes
Showing
2 changed files
with
5 additions
and
5 deletions
Show diff stats
pages/ambassador.html
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | <div class="icon-circle-c"> |
16 | 16 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
17 | 17 | </div> |
18 | - <input type="text" class="text-input" required ng-model="data.name" placeholder="Startup Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)"> | |
18 | + <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)"> | |
19 | 19 | </div> |
20 | 20 | <div class="clearfix"></div> |
21 | 21 | <div class="col-xs-12 input-wrapper" > |
... | ... | @@ -54,7 +54,7 @@ |
54 | 54 | <!-- CLOSE FORM --> |
55 | 55 | <footer> |
56 | 56 | <img id="footer" class="img-responsive banner"> |
57 | - <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> | |
57 | + <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> | |
58 | 58 | </center> |
59 | 59 | </footer> |
60 | 60 | <!-- </div> CLOSE CHECK VIEW --> |
... | ... | @@ -69,7 +69,7 @@ |
69 | 69 | <div class="modal-dialog" style="left: auto;"> |
70 | 70 | <div class="modal-content"> |
71 | 71 | <div class="modal-body" style="text-align:center;margin-top:5%"> |
72 | - <p style="font-size:24px">Your Refral Token is <b>{{data.referalToken}}</b>.</p> | |
72 | + <p style="font-size:22px">Your Refral Code for 10% discount is</p><p style="font-size:24px"><b>{{data.referalToken}}</b></p> | |
73 | 73 | </div> |
74 | 74 | <div style="text-align:center;margin-bottom:5%"> |
75 | 75 | <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button> | ... | ... |
script.js
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 | }); |
26 | 26 | |
27 | 27 | scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") |
28 | - // scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") | |
28 | + //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") | |
29 | 29 | |
30 | 30 | // create the controller and inject Angular's $scope |
31 | 31 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL) { |
... | ... | @@ -661,7 +661,7 @@ |
661 | 661 | $scope.numbercheck = function(number) { |
662 | 662 | $http({ |
663 | 663 | method: 'GET', |
664 | - url: BASE_URL + '/ambassadors?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', | |
664 | + url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', | |
665 | 665 | data: $scope.data, |
666 | 666 | headers: {} |
667 | 667 | }).then(function mySuccess(searchResult) { | ... | ... |