{"id":826,"date":"2024-08-24T16:48:23","date_gmt":"2024-08-24T15:48:23","guid":{"rendered":"https:\/\/jouandassou.com\/?page_id=826"},"modified":"2024-09-27T16:32:40","modified_gmt":"2024-09-27T15:32:40","slug":"booking","status":"publish","type":"page","link":"https:\/\/jouandassou.com\/fr\/booking\/","title":{"rendered":"Booking"},"content":{"rendered":"<p>Prix sont pour deux personnes dans la m\u00eame chambre avec petit d\u00e9jeuner compris.<br \/>\nPour une personne seule, un r\u00e9duction sera appliqu\u00e9 sur votre facture finale.<br \/>\n<form method=\"post\" id=\"form-hostelPRORoomsTable1\">\n\n\t<p>Arriv\u00e9e: <input type=\"text\" value=\"21 avril 2026\" class=\"hostelproDatePicker\" id=\"hostelproDatePickerFrom1\" readonly='true'> <\/p>\t\n\t<p>D\u00e9part: <input type=\"text\" value=\"23 avril 2026\" class=\"hostelproDatePicker\" id=\"hostelproDatePickerTo1\" readonly='true'> <\/p>\t\t\n\t<p><input type=\"button\" value=\"Afficher la disponibilit\u00e9\" onclick=\"validateHostelPROForm(this.form);\"><\/p>\n\t<input type=\"hidden\" name=\"hostelpro_to\" value=\"2026-04-23\" id=\"alt_hostelproDatePickerTo1\">\n\t<input type=\"hidden\" name=\"hostelpro_from\" value=\"2026-04-21\" id=\"alt_hostelproDatePickerFrom1\">\n<\/form>\n\n<div id=\"hostelPRORoomsTable1\" >\n\t<table>\n\t\t<tr> <th>Chambre<\/th>\t\t\t\t\t\t\t\t<th>Prix<\/th><th>R\u00e9server<\/th><\/tr>\n\t\t\n\t\t\t\t\t<tr>\n\t\t\t<td>Chambre verte (Green room)<\/td>\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t<td>&euro; 80.00 <br>(Par nuit petit d\u00e9jeuner compris)<\/td>\n\t\t\t<td align=\"center\">\t\t\t\t<form method=\"post\">\n\t\t\t\t<input type=\"hidden\" name=\"from_date\" value=\"2026-04-21\">\n\t\t\t\t<input type=\"hidden\" name=\"to_date\" value=\"2026-04-23\">\n\t\t\t\t<input type=\"hidden\" name=\"room_id\" value=\"2\">\n\t\t\t\t<input type=\"hidden\" name=\"currently_setting\" value=\"from\">\t\t\n\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"hostelpro_ajax\">\n\t\t\t\t<input type=\"hidden\" name=\"type\" value=\"load_booking_form\">\n\t\t\t\t<input type=\"hidden\" name=\"in_booking_mode\" value=\"1\">\n\t\t\t\t<input type=\"button\" value=\"R\u00e9server\" onclick=\"hostelPROLoadBooking(this.form, 'hostelPRORoomsTable1');\">\n\t\t\t\t<\/form>\n\t\t\t<\/td><\/tr>\n\t\t\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t<td>Chambre jaune (Yellow room)<\/td>\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t<td>&euro; 80.00 <br>(Par nuit petit d\u00e9jeuner compris)<\/td>\n\t\t\t<td align=\"center\">\t\t\t\t<form method=\"post\">\n\t\t\t\t<input type=\"hidden\" name=\"from_date\" value=\"2026-04-21\">\n\t\t\t\t<input type=\"hidden\" name=\"to_date\" value=\"2026-04-23\">\n\t\t\t\t<input type=\"hidden\" name=\"room_id\" value=\"3\">\n\t\t\t\t<input type=\"hidden\" name=\"currently_setting\" value=\"from\">\t\t\n\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"hostelpro_ajax\">\n\t\t\t\t<input type=\"hidden\" name=\"type\" value=\"load_booking_form\">\n\t\t\t\t<input type=\"hidden\" name=\"in_booking_mode\" value=\"1\">\n\t\t\t\t<input type=\"button\" value=\"R\u00e9server\" onclick=\"hostelPROLoadBooking(this.form, 'hostelPRORoomsTable1');\">\n\t\t\t\t<\/form>\n\t\t\t<\/td><\/tr>\n\t\t\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t<td>Chambre rouge (Red room)<\/td>\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t<td>&euro; 90.00 <br>(Par nuit petit d\u00e9jeuner compris)<\/td>\n\t\t\t<td align=\"center\">\t\t\t\t<form method=\"post\">\n\t\t\t\t<input type=\"hidden\" name=\"from_date\" value=\"2026-04-21\">\n\t\t\t\t<input type=\"hidden\" name=\"to_date\" value=\"2026-04-23\">\n\t\t\t\t<input type=\"hidden\" name=\"room_id\" value=\"1\">\n\t\t\t\t<input type=\"hidden\" name=\"currently_setting\" value=\"from\">\t\t\n\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"hostelpro_ajax\">\n\t\t\t\t<input type=\"hidden\" name=\"type\" value=\"load_booking_form\">\n\t\t\t\t<input type=\"hidden\" name=\"in_booking_mode\" value=\"1\">\n\t\t\t\t<input type=\"button\" value=\"R\u00e9server\" onclick=\"hostelPROLoadBooking(this.form, 'hostelPRORoomsTable1');\">\n\t\t\t\t<\/form>\n\t\t\t<\/td><\/tr>\n\t\t\t\t\t\t\t\t\t<\/table><\/div>\t\n\n<script type=\"text\/javascript\">\nfunction validateHostelPROForm(frm) {\n\tstartParts = frm.hostelpro_from.value.split('-');\n\tvar startDate = new Date(startParts[0], (startParts[1]-1), startParts[2]);\n\tendParts = frm.hostelpro_to.value.split('-');\n\tvar endDate = new Date(endParts[0], (endParts[1]-1), endParts[2]);\n\tdaydiff = (endDate - startDate) \/ (1000*60*60*24);\t\n\tif(daydiff > 20) {\n\t\t alert(\"Veuillez s\u00e9lectionner jusqu'\u00e0 20 jours d'intervalle.\");\n\t\t return false;\n\t}\t\n\tif(hostelPROCheckMinStay(daydiff, frm.hostelpro_from.value, frm.hostelpro_to.value)) {\n\t\tjQuery('#hostelPRORoomsTable1').html(\"Patience...\");\n\t\tjQuery('#hostelPRORoomsTable1').show();\n\t\tdata = {'action': 'hostelpro_ajax', 'type': 'list_rooms', 'hostelpro_from' : frm.hostelpro_from.value, \n\t\t\t'hostelpro_to' : frm.hostelpro_to.value, 'show_titles': '1',\n\t\t\t'show_descriptions' : '1', 'show_types': '0',\n\t\t\t'show_bathrooms': '0', 'shortcode_id' : '1',\n\t\t\t'group_rooms': '0', 'vertical_after' : '0',  'hide_dates' : 1};\n\t\tjQuery.post(hostelpro_i18n.ajax_url, data, function(msg){\n\t\t\t\tjQuery('#hostelPRORoomsTable1').html(msg);\n\t\t\t});\n\t} \/\/ end if\n}\njQuery(document).ready(function() {\n    jQuery('.hostelproDatePicker').datepicker({\n        dateFormat : \"d MM yy\",\n        altFormat: 'yy-mm-dd',\n        minDate: '1',\n        maxDate: '+1y',\n    });    \n    jQuery(\".hostelproDatePicker\").each(function (idx, el) { \n\t    jQuery(this).datepicker(\"option\", \"altField\", \"#alt_\" + jQuery(this).attr(\"id\"));\n\t});\t\n\tjQuery('#hostelproDatePickerFrom1').datepicker('option', 'onSelect', function(dateText, inst) {\n\t\t\tvar toDate = jQuery('#hostelproDatePickerFrom1').datepicker('getDate', '+1d');\n\t\t\ttoDate.setDate(toDate.getDate()+1); \n\t\t\tjQuery('#hostelproDatePickerTo1').datepicker(\"setDate\", toDate);\n\t\t});\n});\t\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prix sont pour deux personnes dans la m\u00eame chambre avec petit d\u00e9jeuner compris. Pour une personne seule, un r\u00e9duction sera appliqu\u00e9 sur votre facture finale.<\/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-826","page","type-page","status-publish","hentry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"fr","enabled_languages":["gb","fr"],"languages":{"gb":{"title":true,"content":true,"excerpt":false},"fr":{"title":false,"content":true,"excerpt":false}}},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jouandassou.com\/fr\/wp-json\/wp\/v2\/pages\/826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jouandassou.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jouandassou.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jouandassou.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jouandassou.com\/fr\/wp-json\/wp\/v2\/comments?post=826"}],"version-history":[{"count":86,"href":"https:\/\/jouandassou.com\/fr\/wp-json\/wp\/v2\/pages\/826\/revisions"}],"predecessor-version":[{"id":1047,"href":"https:\/\/jouandassou.com\/fr\/wp-json\/wp\/v2\/pages\/826\/revisions\/1047"}],"wp:attachment":[{"href":"https:\/\/jouandassou.com\/fr\/wp-json\/wp\/v2\/media?parent=826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}