$(function () { payment_form = $('form').attr('id'); addLinkToSetDefaults(); }); function setDefaultsForAll() { if (payment_form === "payment_confirmation"){ setDefaultsForUnsignedDetailsSection(); } else { setDefaultsForPaymentDetailsSection(); } } function addLinkToSetDefaults() { $(".section").prev().each(function (i) { legendText = $(this).text(); $(this).text(""); var setDefaultMethod = "setDefaultsFor" + capitalize($(this).next().attr("id")) + "()"; newlink = $(document.createElement("a")); newlink.attr({ id:'link-' + i, name:'link' + i, href:'#' }); newlink.append(document.createTextNode(legendText)); newlink.bind('click', function () { eval(setDefaultMethod); }); $(this).append(newlink); }); newbutton = $(document.createElement("input")); newbutton.attr({ id:'defaultAll', value:'Default All', type:'button', onClick:'setDefaultsForAll()' }); newbutton.bind('click', function() { setDefaultsForAll; }); $("#"+payment_form).append(newbutton); } function capitalize(string) { return string.charAt(0).toUpperCase() + string.slice(1); } function setDefaultsForPaymentDetailsSection() { $("input[name='transaction_type']").val("authorization"); $("input[name='reference_number']").val(new Date().getTime()); $("input[name='amount']").val("100.00"); $("input[name='currency']").val("THB"); } function setDefaultsForUnsignedDetailsSection(){ $("input[name='card_type']").val("001"); $("input[name='card_number']").val("4242424242424242"); $("input[name='card_expiry_date']").val("11-2020"); }

บริการรถเช่า

บริการรถเช่าของเรา ช่วยให้คุณได้รับประโยชน์จากการเดินทางรอบชนบทและเมืองใกล้เคียงอย่างสะดวกสบาย

นอกเหนือจากรถยนต์หลากหลายประเภทที่คุณสามารถเลือกได้ เรายังให้ข้อเสนอการเช่ารถที่ครอบคลุมเพื่อให้เหมาะกับความต้องการและงบประมาณของคุณ ตลอดการเข้าพักของคุณไม่ว่าคุณจะอยู่กี่วัน

เนื่องจากมีกิจกรรมกีฬาที่น่าสนใจมากมายในพื้นที่ต่าง ๆ เช่าและขับรถเพื่อไปหาและเพลิดเพลินกับกีฬาในพื้นที่โดยรอบ ตัวอย่างเช่น การเล่นสกี การเดินป่า และการตกปลา

Price

฿1,700 / Per Day / Per Accommodation

Leave a Reply

Your email address will not be published. Required fields are marked *