Merge branch 'master' of github.com:hainatravel/information-system into master

hotfix/paypal-note
candice 3 years ago
commit 380fab0faa

@ -61,7 +61,7 @@
</div> </div>
</div> </div>
<p>Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.</p> <p>Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.</p>
<div class="payonline_price">Total price: <strong id="totalPriceText">$179</strong></div> <div class="payonline_price">Total price: <strong id="totalPriceText">$159</strong></div>
<p style="margin-top: 50px;"><strong>Please provide correct personal information for your ticket <p style="margin-top: 50px;"><strong>Please provide correct personal information for your ticket
booking. Double booking. Double
check.</strong></p> check.</strong></p>
@ -692,6 +692,7 @@
var adultNumberValue = parseInt(adultNumberNode.value); var adultNumberValue = parseInt(adultNumberNode.value);
var ticketPrice = 159; var ticketPrice = 159;
totalPriceHidden.value = ticketPrice * adultNumberValue; totalPriceHidden.value = ticketPrice * adultNumberValue;
totalPriceText.innerText = '$'+ticketPrice;
for (var i = 0; i < ticketTypeList.length; i++) { for (var i = 0; i < ticketTypeList.length; i++) {
var ticketTypeNode = ticketTypeList[i]; var ticketTypeNode = ticketTypeList[i];
ticketTypeNode.addEventListener('click', function(event) { ticketTypeNode.addEventListener('click', function(event) {

@ -61,7 +61,7 @@
</div> </div>
</div> </div>
<p>Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.</p> <p>Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.</p>
<div class="payonline_price">Total price: <strong id="totalPriceText">$179</strong></div> <div class="payonline_price">Total price: <strong id="totalPriceText">$159</strong></div>
<p style="margin-top: 50px;"><strong>Please provide correct personal information for your ticket <p style="margin-top: 50px;"><strong>Please provide correct personal information for your ticket
booking. Double booking. Double
check.</strong></p> check.</strong></p>
@ -687,8 +687,9 @@
var totalPriceText = document.getElementById("totalPriceText"); var totalPriceText = document.getElementById("totalPriceText");
var totalPriceHidden = document.getElementById("totalPriceHidden"); var totalPriceHidden = document.getElementById("totalPriceHidden");
var adultNumberValue = parseInt(adultNumberNode.value); var adultNumberValue = parseInt(adultNumberNode.value);
var ticketPrice = 179; var ticketPrice = 159;
totalPriceHidden.value = ticketPrice * adultNumberValue; totalPriceHidden.value = ticketPrice * adultNumberValue;
totalPriceText.innerText = '$'+ticketPrice;
for (var i = 0; i < ticketTypeList.length; i++) { for (var i = 0; i < ticketTypeList.length; i++) {
var ticketTypeNode = ticketTypeList[i]; var ticketTypeNode = ticketTypeList[i];
ticketTypeNode.addEventListener('click', function(event) { ticketTypeNode.addEventListener('click', function(event) {

Loading…
Cancel
Save