Commit bcefa53b80c377909cdd61167b2b196af08249ea
1 parent
d3209b74d3
Exists in
master
and in
1 other branch
gst add
Showing
2 changed files
with
10 additions
and
8 deletions
Show diff stats
pages/Home.html
... | ... | @@ -50,9 +50,9 @@ |
50 | 50 | <li>November 13: <a href="http://startupjalsa.com/mumbai/" target="_blank">Mumbai</a></li> |
51 | 51 | <li>November 15: <a href="http://startupjalsa.com/ahmedabad/" target="_blank">Ahmedabad</a></li> |
52 | 52 | <li>November 17: <a href="http://startupjalsa.com/jaipur/" target="_blank">Jaipur</a></li> |
53 | - <li>November 19: <a href="http://startupjalsa.com/delhi/" target="_blank">Delhi</a></li> | |
54 | - <li>November 21: <a href="http://startupjalsa.com/bengaluru/" target="_blank">Bengaluru</a></li> | |
55 | - <li>November 23: <a href="http://startupjalsa.com/hyderabad/" target="_blank">Hyderabad</a></li> | |
53 | + <li>November 21: <a href="http://startupjalsa.com/hyderabad/" target="_blank">Hyderabad</a></li> | |
54 | + <li>November 23: <a href="http://startupjalsa.com/bengaluru/" target="_blank">Bangalore</a></li> | |
55 | + <li>November 28: <a href="http://startupjalsa.com/delhi/" target="_blank">Delhi</a></li> | |
56 | 56 | <li>December 1: <a href="http://startupjalsa.com/chandigarh/" target="_blank">Chandigarh</a></li> |
57 | 57 | </ul> |
58 | 58 | <p style="font-size:15px;padding-left:8%"><b>Invest edition of Startup Jalsa is in Chandigarh: 2nd & 3rd December</b></p><br> | ... | ... |
script.js
... | ... | @@ -505,9 +505,10 @@ |
505 | 505 | } |
506 | 506 | |
507 | 507 | var taxAmount = $scope.ticketAmnt |
508 | - // $scope.taxTotal = (taxAmount * 18)/100 | |
508 | + $scope.taxTotal = (taxAmount * 18)/100 | |
509 | 509 | $scope.payingAmnt = taxAmount |
510 | 510 | console.log("taxincludedamount----", $scope.payingAmnt) |
511 | + console.log("$scope.taxTotal----", $scope.taxTotal) | |
511 | 512 | // } |
512 | 513 | |
513 | 514 | /*****THIS IS FOR STEP THREE FORM ******/ |
... | ... | @@ -536,7 +537,8 @@ |
536 | 537 | // data.applicantId = result.data.id; |
537 | 538 | // $scope.userId = result.data.id; |
538 | 539 | // console.log("=====data=====", data) |
539 | - data.amount = $scope.payingAmnt; | |
540 | + data.amount = $scope.payingAmnt + $scope.taxTotal; | |
541 | + console.log("$scope.taxTotal",data.amount) | |
540 | 542 | if ($scope.detail != null) { |
541 | 543 | $http({ |
542 | 544 | method: 'POST', |
... | ... | @@ -550,11 +552,11 @@ |
550 | 552 | }, function myError(error) {}); |
551 | 553 | } |
552 | 554 | var i = 0; |
553 | - $scope.payingAmnt = $scope.payingAmnt * 100; | |
555 | + $scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; | |
554 | 556 | var options = { |
555 | 557 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
556 | - "amount": $scope.payingAmnt, | |
557 | - | |
558 | + "amount": $scope.payingAmnt , | |
559 | + | |
558 | 560 | "name": "Startup Jalsa", |
559 | 561 | "description": "amount", |
560 | 562 | "currency": "INR", | ... | ... |