diff --git a/pages/verify.html b/pages/verify.html index 6dde384..b3c1d71 100644 --- a/pages/verify.html +++ b/pages/verify.html @@ -7,29 +7,31 @@
- User Pic -
-
- +
+
-
+ + +
-
-
Name:
-
{{data.name}}
+
+
Name:
+
{{data.name}}
-
Amount:
-
{{paymentRecord[0].amount}}
+
Amount:
+
{{paymentRecord[0].amount}}
-
Currency:
-
INR
+
Currency:
+
INR
-
Status:
-
{{paymentRecord[0].status}}
+
Status:
+
{{paymentRecord[0].status}}
diff --git a/script.js b/script.js index 6ea4d1e..6463779 100644 --- a/script.js +++ b/script.js @@ -117,6 +117,7 @@ /*****THIS IS FOR STEP ONE FORM ******/ $scope.next = function() { + var BASE_URL = "http://139.59.68.74:4001/api"; $scope.data.status = null if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { var x = document.getElementById("snackbar") @@ -180,10 +181,10 @@ setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { - + var BASE_URL = "http://139.59.68.74:4001/api"; + if($scope.data.identity == "student"){ - var image = BASE_URL+'/container1s/proof/download/' console.log("image",image) var image = document.getElementById('picture').files[0]; @@ -205,7 +206,8 @@ }); } - + var BASE_URL = "http://139.59.68.74:4001/api"; + console.log("BASE_URL",BASE_URL) $scope.infoForm = true; console.log("sdasdasdsa"); $scope.data.stage = $scope.data.stage;