{"id":95,"date":"2025-06-28T05:55:20","date_gmt":"2025-06-28T05:55:20","guid":{"rendered":"https:\/\/hotel.jesalmer.sabpro.in\/?page_id=95"},"modified":"2025-06-28T06:25:25","modified_gmt":"2025-06-28T06:25:25","slug":"book-now","status":"publish","type":"page","link":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/book-now\/","title":{"rendered":"Book Now"},"content":{"rendered":"\n<div class=\"wp-block-group alignfull is-layout-flow wp-container-core-group-is-layout-f9cb6abc wp-block-group-is-layout-flow\" style=\"margin-top:0;margin-bottom:0\">\n<div class=\"wp-block-columns alignfull is-not-stacked-on-mobile is-layout-flex wp-container-core-columns-is-layout-e154fb6a wp-block-columns-is-layout-flex\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<div class=\"wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-7e003bba wp-block-group-is-layout-flex\">\n<h2 class=\"wp-block-heading has-xx-large-font-size\"><br>Book the hotel and book the room and download the PDF and send the PDF on WhatsApp and confirm the improvement and you can take more numbers of the room and ask for the rates. You can download the PDF here and keep it on your phone and send it to a friend. You can download the room here and send it to a friend. You can book a room from this hotel from anywhere. Whether you can book a room in the next hotel or not is up to you.<\/h2>\n\n\n\n<div style=\"height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer wp-container-content-36c51660\"><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:12vw\"><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-group is-content-justification-right is-nowrap is-layout-flex wp-container-core-group-is-layout-17124a9a wp-block-group-is-layout-flex\">\n<p class=\"has-text-align-left\" style=\"line-height:0.6;text-transform:uppercase;writing-mode:vertical-rl\">Free Workshop<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignfull is-style-section-2 is-layout-flex wp-container-core-columns-is-layout-d9884270 wp-block-columns-is-layout-flex is-style-section-2--1\" style=\"padding-top:0;padding-bottom:0\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<div class=\"wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-098fff0a wp-block-group-is-layout-flex\" style=\"min-height:33vh;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)\">\n<!-- Booking Form -->\n<form id=\"bookingForm\" style=\"max-width:600px;margin:auto;background:#eef2f7;padding:20px;border-radius:8px;\">\n  <h2 style=\"text-align:center;text-transform: uppercase;\">Hotel Room Booking<\/h2>\n  <table style=\"width:100%;border-collapse:collapse;\">\n    <tr><td><label>Full Name:<\/label><\/td><td><input type=\"text\" id=\"name\" required style=\"width:100%;padding:6px;\"><\/td><\/tr>\n    <tr><td><label>Mobile Number:<\/label><\/td><td><input type=\"tel\" id=\"phone\" required style=\"width:100%;padding:6px;\"><\/td><\/tr>\n    <tr><td><label>Email:<\/label><\/td><td><input type=\"email\" id=\"email\" required style=\"width:100%;padding:6px;\"><\/td><\/tr>\n    <tr><td><label>Country:<\/label><\/td><td><input type=\"text\" id=\"country\" required style=\"width:100%;padding:6px;\"><\/td><\/tr>\n    <tr><td><label>Check\u2011In:<\/label><\/td><td><input type=\"date\" id=\"checkin\" required style=\"width:100%;padding:6px;\"><\/td><\/tr>\n    <tr><td><label>Check\u2011Out:<\/label><\/td><td><input type=\"date\" id=\"checkout\" required style=\"width:100%;padding:6px;\"><\/td><\/tr>\n    <tr><td><label>Room Type:<\/label><\/td><td>\n      <select id=\"roomType\" required style=\"width:100%;padding:6px;\">\n        <option value=\"\">&#8212; Select &#8212;<\/option>\n        <option>Single Room<\/option><option>Double Room<\/option><option>Suite<\/option>\n      <\/select><\/td><\/tr>\n    <tr><td><label>Total Guests:<\/label><\/td><td><input type=\"number\" id=\"guests\" min=\"1\" required style=\"width:100%;padding:6px;\"><\/td><\/tr>\n    <tr><td><label>Special Requests:<\/label><\/td><td><textarea id=\"requests\" rows=\"2\" style=\"width:100%;padding:6px;\"><\/textarea><\/td><\/tr>\n  <\/table>\n  <button type=\"button\" onclick=\"submitBooking()\" style=\"width:100%;margin-top:12px;padding:10px;background:#003580;color:#fff;border:none;border-radius:5px;\">Submit Booking<\/button>\n<\/form>\n\n<!-- jsPDF + AutoTable -->\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jspdf\/2.5.1\/jspdf.umd.min.js\"><\/script>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jspdf-autotable\/3.5.28\/jspdf.plugin.autotable.min.js\"><\/script>\n\n<script>\nasync function submitBooking() {\n  const data = {\n    Name: document.getElementById(\"name\").value,\n    Mobile: document.getElementById(\"phone\").value,\n    Email: document.getElementById(\"email\").value,\n    Country: document.getElementById(\"country\").value,\n    \"Check\u2011In\": document.getElementById(\"checkin\").value,\n    \"Check\u2011Out\": document.getElementById(\"checkout\").value,\n    \"Room Type\": document.getElementById(\"roomType\").value,\n    \"Total Guests\": document.getElementById(\"guests\").value,\n    \"Special Requests\": document.getElementById(\"requests\").value || 'N\/A'\n  };\n\n  const { jsPDF } = window.jspdf;\n  const doc = new jsPDF();\n  doc.setFontSize(22);\n  doc.text(\"HOTEL ROOM BOOKING SLIP\", 20, 20);\n  doc.setFontSize(12);\n  \n  const body = Object.entries(data).map(([k,v]) => [k, v]);\n  doc.autoTable({\n    startY: 30,\n    head: [['Field', 'Details']],\n    body,\n    theme: 'grid',\n    headStyles: { fillColor: [0, 53, 128] },\n    styles: { fontSize: 11 }\n  });\n\n  doc.save(\"Booking_Slip.pdf\");\n\n  \/\/ WhatsApp \u092d\u0947\u091c\u0928\u0947 \u0915\u093e \u0932\u093f\u0902\u0915\n  const msgLines = [\"HOTEL BOOKING DETAILS\"];\n  for(const [k,v] of Object.entries(data)) msgLines.push(`${k}: ${v}`);\n  const waNumber = \"91XXXXXXXXXX\"; \/\/ \u2190 \u0905\u092a\u0928\u093e \u0928\u0902\u092c\u0930 \u0921\u093e\u0932\u0947\u0902\n  const waURL = `https:\/\/wa.me\/${waNumber}?text=${encodeURIComponent(msgLines.join(\"\\n\"))}`;\n  window.open(waURL, '_blank');\n}\n<\/script>\n\n\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-xx-large-font-size\"><strong><a href=\"https:\/\/www.booking.com\/hotel\/in\/antra-inn.hi.html\" data-type=\"link\" data-id=\"https:\/\/www.booking.com\/hotel\/in\/antra-inn.hi.html\">book<\/a><\/strong><\/h2>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<div class=\"wp-block-cover is-light\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"392\" class=\"wp-block-cover__image-background wp-image-108 size-full\" alt=\"\" src=\"https:\/\/hotel.jesalmer.sabpro.in\/wp-content\/uploads\/2025\/06\/1001058477.jpg\" data-object-fit=\"cover\" srcset=\"https:\/\/hotel.jesalmer.sabpro.in\/wp-content\/uploads\/2025\/06\/1001058477.jpg 706w, https:\/\/hotel.jesalmer.sabpro.in\/wp-content\/uploads\/2025\/06\/1001058477-300x167.jpg 300w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#dd934f\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div style=\"height:var(--wp--preset--spacing--20)\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Book the hotel and book the room and download the PDF and send the PDF on WhatsApp and confirm the improvement and you can take more numbers of the room and ask for the rates. You can download the PDF here and keep it on your phone and send it to a friend. You can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-95","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/wp-json\/wp\/v2\/pages\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":13,"href":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/wp-json\/wp\/v2\/pages\/95\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/wp-json\/wp\/v2\/pages\/95\/revisions\/111"}],"wp:attachment":[{"href":"https:\/\/hotel.jesalmer.sabpro.in\/index.php\/wp-json\/wp\/v2\/media?parent=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}