diff --git a/css/custom.css b/css/custom.css
index 709186d..af58686 100644
--- a/css/custom.css
+++ b/css/custom.css
@@ -1190,3 +1190,67 @@ input.hidden {
border-top: 1px solid rgba(0, 0, 0, .05) !important;
}
+.container {
+ display: block;
+ position: relative;
+ padding-left: 29px;
+ margin-bottom: 12px;
+ cursor: pointer;
+ font-size: 15px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ width:100%;
+}
+
+/* Hide the browser's default checkbox */
+.container input {
+ position: absolute;
+ opacity: 0;
+}
+
+/* Create a custom checkbox */
+.checkmark {
+ position: absolute;
+ top: 0;
+ left: 0;
+ height: 25px;
+ width: 25px;
+ background-color: #eee;
+}
+
+/* On mouse-over, add a grey background color */
+.container:hover input ~ .checkmark {
+ background-color: #ccc;
+}
+
+/* When the checkbox is checked, add a blue background */
+.container input:checked ~ .checkmark {
+ background-color: #42b549;
+}
+
+/* Create the checkmark/indicator (hidden when not checked) */
+.checkmark:after {
+ content: "";
+ position: absolute;
+ display: none;
+}
+
+/* Show the checkmark when checked */
+.container input:checked ~ .checkmark:after {
+ display: block;
+}
+
+/* Style the checkmark/indicator */
+.container .checkmark:after {
+ left: 9px;
+ top: 5px;
+ width: 5px;
+ height: 10px;
+ border: solid white;
+ border-width: 0 3px 3px 0;
+ -webkit-transform: rotate(45deg);
+ -ms-transform: rotate(45deg);
+ transform: rotate(45deg);
+}
diff --git a/pages/registration.html b/pages/registration.html
index 3c61c02..f98e391 100644
--- a/pages/registration.html
+++ b/pages/registration.html
@@ -761,13 +761,17 @@
* One ticket is valid for one person.
-
+
+
-
- -->
+
+
diff --git a/script.js b/script.js
index b734ff7..817cb58 100644
--- a/script.js
+++ b/script.js
@@ -290,6 +290,7 @@
//$scope.author = 'Swarn Singh';
$scope.data = {};
$scope.data.stage = 'Pitch your Idea';
+ $scope.data.networkDinner = false;
$scope.discountAmount = 0;
$scope.check = false;
$scope.numberCheck = false;
@@ -421,13 +422,10 @@
}
};
- // $scope.IfDinnerCheck = function(){
- // if(eventType == 'none'){
- // $scope.registration.events.pop(eventName)
- // }else{
- // $scope.registration.events.push(eventType)
- // }
- // }
+ $scope.IfDinnerCheck = function(value){
+ $scope.data.networkDinner = value;
+ console.log("value",value)
+ }
/*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
$(document).ready(
@@ -503,36 +501,54 @@
$scope.detail = result;
data.applicantId = result.data.id;
//$scope.userId = result.data.id;
-
- if($scope.data.citymeetup == "chandigarh"){
- if ($scope.data.stage == "Pitch your Idea") {
- console.log("$scope.data", $scope.data)
- $scope.ticketAmnt = 1000;
+ if($scope.data.networkDinner == true){
+ if($scope.data.citymeetup == "chandigarh"){
+ if ($scope.data.stage == "Pitch your Idea") {
+ console.log("$scope.data", $scope.data)
+ $scope.ticketAmnt = 3000;
+ }
+
+ if ($scope.data.stage == "Pitch your Startup") {
+ $scope.ticketAmnt = 3500;
+ }
+
+ // if ($scope.data.stage == "Growth") {
+ // $scope.ticketAmnt = 1400;
+ // }
}
-
- if ($scope.data.stage == "Pitch your Startup") {
- $scope.ticketAmnt = 1500;
+ }
+
+ else{
+ if($scope.data.citymeetup == "chandigarh"){
+ if ($scope.data.stage == "Pitch your Idea") {
+ console.log("$scope.data", $scope.data)
+ $scope.ticketAmnt = 1000;
+ }
+
+ if ($scope.data.stage == "Pitch your Startup") {
+ $scope.ticketAmnt = 1500;
+ }
+
+ // if ($scope.data.stage == "Growth") {
+ // $scope.ticketAmnt = 1400;
+ // }
}
-
- // if ($scope.data.stage == "Growth") {
- // $scope.ticketAmnt = 1400;
- // }
- }
+ }
- else{
- if ($scope.data.stage == "Pitch your Idea") {
- console.log("$scope.data", $scope.data)
- $scope.ticketAmnt = 500;
- }
-
- if ($scope.data.stage == "Pitch your Startup") {
- $scope.ticketAmnt = 1000;
- }
-
- // if ($scope.data.stage == "Growth") {
- // $scope.ticketAmnt = 1000;
- // }
- }
+ // else{
+ // if ($scope.data.stage == "Pitch your Idea") {
+ // console.log("$scope.data", $scope.data)
+ // $scope.ticketAmnt = 500;
+ // }
+
+ // if ($scope.data.stage == "Pitch your Startup") {
+ // $scope.ticketAmnt = 1000;
+ // }
+
+ // // if ($scope.data.stage == "Growth") {
+ // // $scope.ticketAmnt = 1000;
+ // // }
+ // }
// if ($scope.data.stage == "Visitor") {
// $scope.ticketAmnt = 500;
// }