Commit eb567dbaa2b7776bc8c22a43c2d031b600114187

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

minr change

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
... ... @@ -336,7 +336,7 @@
336 336 $('#invalidToken').css('display', 'block');
337 337 } else {
338 338 val = val.toUpperCase();
339   - $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": "%25' + val + '%25"}}')
  339 + $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": "' + val + '"}}')
340 340 .then(function(searchResult) {
341 341 console.log("searchResult",searchResult)
342 342 if (searchResult.data.length == 0) {
... ... @@ -384,6 +384,7 @@
384 384 console.log("====$scope.discountpercentage====",$scope.discountpercentage);
385 385 if($scope.discountpercentage == "100") {
386 386 $scope.discountpercentage = "99.8";
  387 + console.log("$scope.discountpercentage====",$scope.discountpercentage)
387 388 }
388 389 console.log("====$scope.discountpercentage====",$scope.discountpercentage);
389 390 $scope.percDiscount = $scope.discountpercentage/100;
... ...