From d3523e1138c7ee5ffce908cc59b89dfaa4d5152c Mon Sep 17 00:00:00 2001 From: palak Date: Thu, 9 Nov 2017 13:13:48 +0530 Subject: [PATCH] update --- pages/registration.html | 6 +++--- script.js | 22 ++++++++++++++++++---- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/pages/registration.html b/pages/registration.html index 810b041..1c6eb80 100644 --- a/pages/registration.html +++ b/pages/registration.html @@ -52,7 +52,7 @@
- +
Location @@ -225,7 +225,7 @@
- +
diff --git a/script.js b/script.js index 87f3ae3..227edfe 100644 --- a/script.js +++ b/script.js @@ -50,7 +50,7 @@ }]).run(['Analytics', function(Analytics) { }]); scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/v1") - // scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") + //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") // create the controller and inject Angular's $scope scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { @@ -59,7 +59,7 @@ hide: false }; - var chennai = new Date("Nov 9, 2017 12:00:00").getTime(); + var chennai = new Date("Nov 9, 2017 14:00:00").getTime(); // Update the count down every 1 second var x = setInterval(function() { // Get todays date and time @@ -84,7 +84,7 @@ } }, 1000); - var pune = new Date("Nov 9, 2017 12:00:00").getTime(); + var pune = new Date("Nov 11, 2017 12:00:00").getTime(); // Update the count down every 1 second var x = setInterval(function() { // Get todays date and time @@ -533,6 +533,20 @@ $scope.ticketAmnt = 2000; } } + else if($scope.data.citymeetup == "pune"){ + if ($scope.data.stage == "Idea") { + console.log("$scope.data", $scope.data) + $scope.ticketAmnt = 750; + } + + if ($scope.data.stage == "Product") { + $scope.ticketAmnt = 1500; + } + + if ($scope.data.stage == "Growth") { + $scope.ticketAmnt = 1500; + } + } else{ if ($scope.data.stage == "Idea") { console.log("$scope.data", $scope.data) @@ -612,7 +626,7 @@ console.log("$scope.taxTotal----", $scope.payingAmnt) var options = { "key": "rzp_live_mhSE1uOBlXvFyJ", - // "key": "rzp_test_YwHsVFiDIQ2WUQ", + //"key": "rzp_test_YwHsVFiDIQ2WUQ", "amount": $scope.payingAmnt , "name": "Startup Jalsa", -- 2.0.0