{"id":11,"date":"2017-11-09T15:30:49","date_gmt":"2017-11-09T15:30:49","guid":{"rendered":"https:\/\/flyawayparkingheathrow.com\/reservations\/booking\/"},"modified":"2025-04-24T09:02:14","modified_gmt":"2025-04-24T08:02:14","slug":"booking","status":"publish","type":"page","link":"https:\/\/flyawayparkingheathrow.com\/reservations\/","title":{"rendered":"Booking"},"content":{"rendered":"<p>[vc_row fullwidth=&#8221;yes&#8221; wrap=&#8221;yes&#8221; equal_height=&#8221;yes&#8221; content_placement=&#8221;middle&#8221; css=&#8221;.vc_custom_1511113094291{padding-top: 55px !important;background-color: #004c96 !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][vc_column_text css=&#8221;.vc_custom_1511170153943{margin-top: -25px !important;}&#8221; el_class=&#8221;booklogo&#8221;]<img loading=\"lazy\" class=\"alignnone size-full wp-image-69\" src=\"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-content\/uploads\/2017\/11\/logo-copy.png\" alt=\"\" width=\"288\" height=\"103\" \/>[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_column_text el_class=&#8221;booktext1&#8243;]<\/p>\n<h1 style=\"text-align: right;\"><span style=\"color: #ffffff;\"><strong>MAKE A BOOKING<\/strong><\/span><\/h1>\n<p>[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1511170170309{margin-top: -35px !important;}&#8221; el_class=&#8221;booktext2&#8243;]<\/p>\n<p style=\"text-align: right;\"><span style=\"color: #ffffff;\">Follow the steps below to receive an instant quote and to make a booking.<\/span><\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1511169615411{padding-bottom: 35px !important;}&#8221;][vc_column][vc_message message_box_style=&#8221;solid&#8221; css=&#8221;.vc_custom_1655380079963{margin-top: 50px !important;margin-bottom: 50px !important;}&#8221; el_id=&#8221;bank-holiday-warning&#8221; el_class=&#8221;d-none&#8221;]Your collection and\/or return dates fall on bank holidays. This will incur extra fees.[\/vc_message][vc_column_text]<div class=\"frm_forms  with_frm_style frm_center_submit frm_style_formidable-style\" id=\"frm_form_6_container\" >\n<form enctype=\"multipart\/form-data\" method=\"post\" class=\"frm-show-form  frm_pro_form \" id=\"form_9fija\"  >\n<div class=\"frm_form_fields  frm_page_num_1\">\n<fieldset>\n<legend class=\"frm_hidden\">Booking<\/legend>\r\n\r\n<div class=\"frm_fields_container\">\n<div class=\"frm_rootline_group\"><ul class=\"frm_page_bar frm_rootline_5 frm_rootline frm_rootline_line  frm_show_lines\"><li class=\"frm_rootline_single frm_current_page\"><input type=\"button\" value=\"1\" data-page=\"\" class=\" frm_page_1\" disabled=\"disabled\" data-field=\"0\" aria-label=\"Dates, Valets &amp; Vehicle Size\"  \/><span class=\"frm_rootline_title\">Dates, Valets & Vehicle Size<\/span><\/li><li class=\"frm_rootline_single\"><input type=\"button\" value=\"2\" data-page=\"18\" class=\"frm_page_skip frm_page_2\" data-field=\"179\" aria-label=\"Next\"  \/><span class=\"frm_rootline_title\">Next<\/span><\/li><li class=\"frm_rootline_single\"><input type=\"button\" value=\"3\" data-page=\"26\" class=\"frm_page_skip frm_page_3\" data-field=\"166\" aria-label=\"Discount Codes\"  \/><span class=\"frm_rootline_title\">Discount Codes<\/span><\/li><li class=\"frm_rootline_single\"><input type=\"button\" value=\"4\" data-page=\"36\" class=\"frm_page_skip frm_page_4\" data-field=\"161\" aria-label=\"Your Personal Information\"  \/><span class=\"frm_rootline_title\">Your Personal Information<\/span><\/li><li class=\"frm_rootline_single\"><input type=\"button\" value=\"5\" data-page=\"74\" class=\"frm_page_skip frm_page_5\" data-field=\"169\" aria-label=\"Confirmation\"  \/><span class=\"frm_rootline_title\">Confirmation<\/span><\/li><\/ul><div class=\"frm_clearfix\"><\/div><\/div><input type=\"hidden\" name=\"frm_action\" value=\"create\" \/>\n<input type=\"hidden\" name=\"form_id\" value=\"6\" \/>\n<input type=\"hidden\" name=\"frm_hide_fields_6\" id=\"frm_hide_fields_6\" value=\"\" \/>\n<input type=\"hidden\" name=\"form_key\" value=\"9fija\" \/>\n<input type=\"hidden\" name=\"item_meta[0]\" value=\"\" \/>\n<input type=\"hidden\" id=\"frm_submit_entry_6\" name=\"frm_submit_entry_6\" value=\"fa09caf1c6\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/reservations\/wp-json\/wp\/v2\/pages\/11\" \/><input type=\"hidden\" name=\"item_meta[170]\" id=\"field_l3nfm\" value=\"2734\"  data-frmval=\"2734\" data-invmsg=\"Booking Reference is invalid\"   \/>\n<div id=\"frm_field_106_container\" class=\"frm_form_field  frm_html_container form-field\">\n<div style=\"padding: 10px 0 25px 0;\">\n<h3 style=\"color: #005b9c;\">Select Your Dates<\/h3>\n<p><b>PLEASE NOTE:<\/b> Although we do love to pick up your vehicles for your holidays and business trips, however it is our turn to take a trip away. So <strong>from the 17th January 2026 to 28th January 2026 we will be away<\/strong>, but not to worry as from the 29th January 2026 we will be back and open for business again as per usual. There is an additional \u00a320 fee for bank holidays.<\/p>\n<\/div>\n<\/div>\n<div id=\"frm_field_67_container\" class=\"frm_form_field form-field  frm_required_field frm_top_container frm_first frm_third\">\r\n    <label for=\"field_7kv7r\" class=\"frm_primary_label\">Drop-Off Date\r\n        <span class=\"frm_required\">*<\/span>\r\n    <\/label>\r\n    <input type=\"text\" id=\"field_7kv7r\" name=\"item_meta[67]\" value=\"\"  maxlength=\"10\" data-reqmsg=\"Please select a drop-off date for your booking.\" aria-required=\"true\" data-invmsg=\"Drop-Off Date is invalid\" class=\"frm_date\" readonly=\"readonly\" aria-invalid=\"false\"  \/>\r\n    \r\n    \r\n<\/div>\n<div id=\"frm_field_68_container\" class=\"frm_form_field form-field  frm_required_field frm_top_container frm_third\">\r\n    <label for=\"field_jk9ns\" class=\"frm_primary_label\">Pick-up Date\r\n        <span class=\"frm_required\">*<\/span>\r\n    <\/label>\r\n    <input type=\"text\" id=\"field_jk9ns\" name=\"item_meta[68]\" value=\"\"  maxlength=\"10\" data-reqmsg=\"Please select a pick-up date for your booking.\" aria-required=\"true\" data-invmsg=\"Collection Date is invalid\" class=\"frm_date\" readonly=\"readonly\" aria-invalid=\"false\"  \/>\r\n    \r\n    \r\n<\/div>\n<div id=\"frm_field_73_container\" class=\"frm_form_field form-field  frm_none_container frm_third\">\r\n    <label for=\"field_69fef\" class=\"frm_primary_label\">No. of Days Selected\r\n        <span class=\"frm_required\"><\/span>\r\n    <\/label>\r\n    <input type=\"number\" id=\"field_69fef\" name=\"item_meta[73]\" value=\"\"  readonly=\"readonly\"  style=\"width:150px\" data-invmsg=\"Number of Days is invalid\" class=\"auto_width\" aria-invalid=\"false\"   min=\"0\" max=\"9999999\" step=\"any\"\/> <span class=\"selecteddays\">Days Selected<\/span>\r\n    \r\n    \r\n<\/div>\n<div id=\"frm_field_85_container\" class=\"frm_form_field form-field  frm_required_field frm_top_container frm_first frm_half\">\r\n    <label for=\"field_f4p5b\" class=\"frm_primary_label\">Select Vehicle Size\r\n        <span class=\"frm_required\">*<\/span>\r\n    <\/label>\r\n    \t\t<select name=\"item_meta[85]\" id=\"field_f4p5b\"  data-frmval=\"5\" data-reqmsg=\"Please select your vehicle size.\" aria-required=\"true\" data-invmsg=\"Select Vehicle Size is invalid\" aria-invalid=\"false\"  >\n\t\t\t\t<option  value=\"5\" selected=\"selected\">\n\t\t\tStandard Size Vehicle\t\t<\/option>\n\t\t\t\t<option  value=\"7.15\">\n\t\t\tLarge Size Vehicle\t\t<\/option>\n\t\t\t\t<option  value=\"\">\n\t\t\tPlease Select...\t\t<\/option>\n\t\t\t<\/select>\n\t\r\n    <div id=\"frm_desc_field_f4p5b\" class=\"frm_description\">If you are unsure of size to select please give us a call on 01895443124 or 07767868314.<\/div>\r\n    \r\n<\/div>\n<input type=\"hidden\" name=\"item_meta[86]\" id=\"field_pzpj4\" value=\"\"  data-invmsg=\"cost of car is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[87]\" id=\"field_w35mg\" value=\"\"  data-invmsg=\"Subtotal is invalid\"   \/>\n<div id=\"frm_field_172_container\" class=\"frm_form_field  frm_html_container form-field\">&nbsp;<\/p>\n<p><b>PLEASE NOTE:<\/b> We no longer take larger vehicles (i.e. Mini Buses, Large Vans and Vehicles of similar size to a Mercedes Vito.<\/p>\n<p>&nbsp;<\/p><\/div>\n<input type=\"hidden\" name=\"frm_page_order_6\" id=\"frm_page_order_6\" value=\"18\" \/><input type=\"hidden\" name=\"item_meta[92]\" id=\"field_v79e0\" value=\"0\"  data-frmval=\"0\" data-reqmsg=\"Please select a valet, if none is required please select none.\" aria-required=\"true\" data-invmsg=\"Vehicle Valets is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[149]\" id=\"field_45eri\" value=\"\"  data-invmsg=\"The cost for this booking is: is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[166]\" id=\"field_l1k1w\" value=\"\"  data-invmsg=\"Continue with booking... is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[156]\" id=\"field_bhfg9\" value=\"\"  data-invmsg=\"Enter any discount code here: is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[157]\" id=\"field_84nf5\" value=\"\"  data-invmsg=\"Discount Amount is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[76]\" id=\"field_total\" value=\"\"  data-invmsg=\"TOTAL is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[161]\" id=\"field_iojmt\" value=\"\"  data-invmsg=\"Continue... is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[140]\" id=\"field_skap3\" value=\"\"  data-invmsg=\"Location and Time is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[121]\" id=\"field_b47mw\" value=\"Please select...\"  data-sectionid=\"140\" data-frmval=\"Please select...\" data-reqmsg=\"Please select a drop-off location.\" aria-required=\"true\" data-invmsg=\"Drop-Off Location is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[122]\" id=\"field_l1f1y\" value=\"\"  data-sectionid=\"140\" data-reqmsg=\"Please select a drop-off time.\" aria-required=\"true\" data-invmsg=\"Please select a drop-off time.\"   \/>\n<input type=\"hidden\" name=\"item_meta[123]\" id=\"field_en0p3\" value=\"Please select...\"  data-sectionid=\"140\" data-frmval=\"Please select...\" data-reqmsg=\"Please select a pick-up location.\" aria-required=\"true\" data-invmsg=\"Collection Location is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[126]\" id=\"field_7xz4i\" value=\"\"  data-sectionid=\"140\" data-reqmsg=\"Please select a pick-up time.\" aria-required=\"true\" data-invmsg=\"Collection Time is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[141]\" id=\"field_59gd3\" value=\"\"  data-invmsg=\"End Section is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[142]\" id=\"field_z3pya\" value=\"\"  data-invmsg=\"Personal Information is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[127]\" id=\"field_pl33z\" value=\"\"  data-sectionid=\"142\" data-reqmsg=\"Please enter your first name.\" aria-required=\"true\" data-invmsg=\"First Name is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[128]\" id=\"field_2romx\" value=\"\"  data-sectionid=\"142\" data-reqmsg=\"Please enter your surname.\" aria-required=\"true\" data-invmsg=\"Surname is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[129]\" id=\"field_at17u\" value=\"\"  data-sectionid=\"142\" data-reqmsg=\"Please enter your email address.\" aria-required=\"true\" data-invmsg=\"Email Address is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[131]\" id=\"field_dqpjc\" value=\"\"  data-sectionid=\"142\" data-invmsg=\"Home Telephone Number is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[132]\" id=\"field_aqsda\" value=\"\"  data-sectionid=\"142\" data-reqmsg=\"We require a mobile telephone number as we may need to contact you.\" aria-required=\"true\" data-invmsg=\"Mobile Telephone Number is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[143]\" id=\"field_4d7kd\" value=\"\"  data-invmsg=\"End Section is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[144]\" id=\"field_p5s0y\" value=\"\"  data-invmsg=\"Flight Information is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[133]\" id=\"field_xw4ja\" value=\"\"  data-sectionid=\"144\" data-invmsg=\"Outbound Flight Number is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[134]\" id=\"field_qubpx\" value=\"\"  data-sectionid=\"144\" data-invmsg=\"Inbound Flight Number is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[145]\" id=\"field_cydfn\" value=\"\"  data-invmsg=\"End Section is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[146]\" id=\"field_mfz0b\" value=\"\"  data-invmsg=\"Vehicle Information is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[135]\" id=\"field_x5ttc\" value=\"\"  data-sectionid=\"146\" data-reqmsg=\"This field cannot be blank.\" aria-required=\"true\" data-invmsg=\"Vehicle Registration is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[136]\" id=\"field_ltmo4\" value=\"\"  data-sectionid=\"146\" data-reqmsg=\"This field cannot be blank.\" aria-required=\"true\" data-invmsg=\"Vehicle Make is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[137]\" id=\"field_wcs04\" value=\"\"  data-sectionid=\"146\" data-reqmsg=\"This field cannot be blank.\" aria-required=\"true\" data-invmsg=\"Vehicle Model is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[138]\" id=\"field_3yss7\" value=\"\"  data-sectionid=\"146\" data-reqmsg=\"This field cannot be blank.\" aria-required=\"true\" data-invmsg=\"Vehicle Colour is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[147]\" id=\"field_s4yxd\" value=\"\"  data-invmsg=\"End Section is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[169]\" id=\"field_unz32\" value=\"\"  data-invmsg=\"Continue... is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[116]\" id=\"field_3u46x\" value=\"\"  data-invmsg=\"Size-Hidden is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[117]\" id=\"field_80ksf\" value=\"\"  data-invmsg=\"Valet-Hidden is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[110]\" id=\"field_rukzv\" value=\"\"  data-invmsg=\"Date you wish to drop-off your vehicle: is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[112]\" id=\"field_ucxjv\" value=\"\"  data-invmsg=\"Date you wish to collect your car: is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[113]\" id=\"field_y1zqz\" value=\"\"  data-invmsg=\"Your Vehicle Size is: is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[114]\" id=\"field_q4xij\" value=\"\"  data-invmsg=\"Your chosen valet is: is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[118]\" id=\"field_bx6jl\" value=\"\"  data-invmsg=\"TOTAL PRICE FOR THIS BOOKING is invalid\"   \/>\n<input type=\"hidden\" name=\"item_meta[173]\" id=\"field_tbp60\" value=\"\"  data-invmsg=\"The reCAPTCHA was not entered correctly\"   \/>\n<input type=\"hidden\" name=\"item_meta[150]\" id=\"field_2bvry-0\" value=\"\"  data-reqmsg=\"This field cannot be blank.\" aria-required=\"true\" data-invmsg=\"Terms &amp; Conditions is invalid\"   \/>\n\t<input type=\"hidden\" name=\"item_key\" value=\"\" \/>\n\t\t\t\t<div class=\"frm_verify\" aria-hidden=\"true\">\n\t\t\t\t<label for=\"frm_email_6\">\n\t\t\t\t\tIf you are human, leave this field blank.\t\t\t\t<\/label>\n\t\t\t\t<input type=\"text\" class=\"frm_verify\" id=\"frm_email_6\" name=\"frm_verify\" value=\"\"  \/>\n\t\t\t<\/div>\n\t\t<input name=\"frm_state\" type=\"hidden\" value=\"LcEI6NrQQ40p+5UGAC3gTF836k0OCjXIqTAEzD8O5zM=\" \/><div class=\"frm_submit\">\r\n\r\n<button class=\"frm_button_submit\" type=\"submit\"  >Next<\/button>\r\n\r\n<\/div><\/div>\n<\/fieldset>\n<\/div>\n<script type=\"text\/javascript\">\n\n\njQuery(document).ready(function($){\n$(document).on('change', 'select[name=\"item_meta[85]\"]', function(){\nvar val1 = $(\"select[name='item_meta[85]']\").children(\"option\").filter(\":selected\").text();\n$(\"#field_3u46x\").val(val1);\n$(\"#field_3u46x\").change();\n});\n});\n\njQuery(document).ready(function($){\n$(document).on('change', 'select[name=\"item_meta[92]\"]', function(){\nvar val1 = $(\"select[name='item_meta[92]']\").children(\"option\").filter(\":selected\").text();\n$(\"#field_80ksf\").val(val1);\n$(\"#field_80ksf\").change();\n});\n});\n\njQuery('body').on('change','#field_7kv7r', calculatePricing);\njQuery('body').on('change','#field_jk9ns', calculatePricing);\njQuery('body').on('change','#field_69fef', calculatePricing);\njQuery('body').on('change','#field_f4p5b', calculatePricing);\njQuery('body').on('change','#field_pzpj4', calculatePricing);\njQuery('body').on('change','#field_v79e0', calculatePricing);\n\n\nfunction calculatePricing(){    \n    \/\/Pricing configuration - The only place you need to set the prices. \n    \/\/Do not use pound signs\n    const costPerDay = 5;\n    const additionalCost = 50;\n    const holidayDailySurcharge = 20;\n\n    \/\/ Date format in these variables comes in DD\/MM\/YYYY 28\/12\/2022 or 01\/02\/2022\n    const firstday = document.getElementById('field_7kv7r').value; \n    const lastday = document.getElementById('field_jk9ns').value;\n\n    var numberOfDays = document.getElementById('field_69fef').value; \n    var costofcar = document.getElementById('field_pzpj4').value;\n\n    \/\/Calculate initial cost based on service duration (numberOfDays - 1 because we don't charge an extra fiver on the first day)\n    var serviceDurationCost = (numberOfDays - 1) * costPerDay + additionalCost; \/\/bidmas\n\n    \/\/ prices are not stepped anymore so we're changing things up.\n    var fallbackMultiplier = 5;\n    var priceList = {1:60,2:65,3:70,4:80,5:85,6:90,7:100,8:105,9:110,10:120,11:125,12:130,13:140,14:145,15:150,16:160,17:170,18:180,19:190,20:200,21:210}\n    \n    serviceDurationCost = priceList?.[numberOfDays] ?? priceList[21] + ((numberOfDays - 21) * fallbackMultiplier);\n\n    \/\/field_w35mg = stage 1 (dates) costs\n\t\/\/field_v79e0 = valet selection\n\t\/\/field_45eri = stage 2 (valet) costs\n\n    if(document.getElementById('field_v79e0').checked){\n        \/\/Stage 2 Costs = service duration costs + valet costs\n        serviceDurationCost += document.getElementById('field_v79e0').value;\n    } \n\t\n\taddBankHolidayFees(firstday, lastday, serviceDurationCost, holidayDailySurcharge)\n    .then((newTotal) => displayTotalCost(newTotal))\n    .catch(function (err) {\n\t\talert(\"Something went wrong. Please try again or get in touch. Error code: \" + err);\n\t});\n\n}\n\n\nfunction displayTotalCost (totalCost) {\n     \/\/There are multiple total price fields along the way which all need to get updated\n     document.getElementById('field_w35mg').value = totalCost;\n     document.getElementById('field_45eri').value = totalCost;\n}\n\n\nfunction addBankHolidayFees(inputFirstDay, inputLastDay, initalCost, dailyCost) {\n\/\/Calculate how much extra a customer will need to pay due to bank holiday charges. \n\/\/It uses the gov.uk JSON API to download the next year's worth of bank holidays\n\/\/and compares every holiday date, to every date in the range selected by the customer\n\n\treturn new Promise(function (resolve,reject) {\n\t\tvar qtyOfHolidayDates = 0;\n\n\t\t\/\/Convert dates from DD\/MM\/YYYY to JS Date format\n\t\tconst [firstDay, firstMonth, firstYear] = inputFirstDay.split('\/');\n\t\tconst [lastDay, lastMonth, lastYear] = inputLastDay.split('\/');\n\t\tconst startDate = new Date(+firstYear, firstMonth - 1, +firstDay, \"0\");\n\t\tconst endDate = new Date(+lastYear, lastMonth - 1, +lastDay, \"0\");\n\n        \/\/If they were to also charge for any bank holiday DURING the booking, then you would also need this:\n\t\t\/\/var bookingDatesArray = [];\n\t\t\/\/Create an array of the dates between the start and end dates, including start and end date.\n\t\t\/\/while (startDate <= endDate) {\n\t\t\/\/   bookingDatesArray.push(new Date(startDate));\n\t\t\/\/   startDate.setDate(startDate.getDate() + 1);\n\t\t\/\/}\t\t\t\n\n\t\tconst endpoint = 'https:\/\/www.gov.uk\/bank-holidays.json';\n\t\tfetch(endpoint)\n\t\t\t.then((response) => response.json())\n\t\t\t.then(function (data) {\n                \/\/Parse data\n\t\t\t\tvar bankHolidaysJSON = JSON.parse(JSON.stringify(data));\n\n                \/\/For each bank holiday\n\t\t\t\tObject.entries(bankHolidaysJSON[\"england-and-wales\"].events).forEach(([key, value]) => {\n\t\t\t\t\t\/\/date comes in YYYY\/MM\/DD format already\n\t\t\t\t\tvar currentBankHolidayDateObject = new Date(value.date);\n                    const currentBankHolidayDate = currentBankHolidayDateObject.toDateString();\n                    const collectionDate = startDate.toDateString();\n                    const returnDate = endDate.toDateString();\n\n                    \/\/To charge for bank holidays on collection and return dates only.\n                    \/\/If a clash is found between holiday and, collection or return date...\n                    if ((currentBankHolidayDate == collectionDate) || (currentBankHolidayDate == returnDate)){\n                        qtyOfHolidayDates = qtyOfHolidayDates + 1;\n                        \/\/Thanks to the OR statement, if collection and return are the same (same day booking) only 1 holiday date is charged for.\n                    }\n\n                    \/\/ \/\/ If they were to also charge for any bank holiday DURING the booking, then use this instead:\n                    \/\/ \/\/ For each selected date in the datesa array(within each bank holiday)\n\t\t\t\t\t\/\/ for (let i = 0; i < bookingDatesArray.length; i++) {\n\t\t\t\t\t\/\/ console.log(JSON.stringify(bookingDatesArray[i]) + ' vs ' + JSON.stringify(currentBankHolidayDate));\n\n\t\t\t\t\t\/\/ \tif(JSON.stringify(bookingDatesArray[i]) == JSON.stringify(currentBankHolidayDate)){\n\t\t\t\t\t\/\/ \t\tqtyOfHolidayDates = qtyOfHolidayDates + 1;\n\t\t\t\t\t\/\/ \t}\t\t\n\n\t\t\t\t\t\/\/ } \/\/Close for loop\n\n\t\t\t\t}); \/\/Close for each object entries\n\t\t\t\t\n                \n                var totalFee = qtyOfHolidayDates * dailyCost;\n                var newCost = totalFee + initalCost; \/\/Bidmas\n\n                \/\/ if(qtyOfHolidayDates>0){\n                \/\/     document.getElementById('bank-holiday-warning').style.display = 'block';\n                \/\/     document.getElementById('bank-holiday-warning').getElementsByTagName('p')[0].innerHTML = qtyOfHolidayDates + \" of the selected collection\/return dates fall on bank holidays. A \u00a3\" + totalFee + \" fee has been added to your total.\";\n                \/\/ } else {\n                \/\/     document.getElementById('bank-holiday-warning').style.display = 'none';\n                \/\/ }\n\n                \/\/return and exit\n\t\t\t\tresolve(newCost);\n\n\t\t\t}); \/\/Close .then function\n  \t}); \/\/Close promise\n} \/\/Close function\n\n\n\n\n<\/script>\n<\/form>\n<\/div>\n[\/vc_column_text][vc_row_inner][vc_column_inner][vc_column_text]<\/p>\n<h4 style=\"text-align: center;\"><strong>Heathrow Airport Charges:<\/strong><\/h4>\n<p style=\"text-align: center;\"><strong>Please be aware:<\/strong> Heathrow Airport Includes a terminal drop off charge of \u00a36 each way to the terminal which we do not include in our prices.<\/p>\n<p style=\"text-align: center;\">This is the customer&#8217;s responsibility to see that the fee is paid or the customer may risk receiving a fine. If a customer has a Blue disabled badge the customer would not be charged this terminal fee but the customer would still need to enter their registration and the blue badge number onto the website at: <a href=\"https:\/\/heathrow.com\/dropoff\">heathrow.com\/dropoff <\/a><\/p>\n<p style=\"text-align: center;\">A customer can set up an auto-pay or pay for one or both journeys at once as long as the fee has been paid by midnight the following day from entering the terminal departure lane and as long as the return is within the two months time frame.<\/p>\n<p>[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][vc_row fullwidth=&#8221;yes&#8221; wrap=&#8221;yes&#8221; css=&#8221;.vc_custom_1511348960476{padding-top: 25px !important;padding-bottom: 25px !important;background-color: #083a86 !important;}&#8221;][vc_column][vc_column_text css=&#8221;.vc_custom_1516961396952{padding-top: 20px !important;}&#8221;]<\/p>\n<p style=\"text-align: center;\"><span style=\"color: #ffffff;\"><strong>Please note:<\/strong> There is a cancellation fee of \u00a320 (plus a small PayPal Reversal Fee)<br \/>\nso please ensure your information is correct before proceeding to the payment stage. Refund are only processed where 48 hours notice has been provided.<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #ffffff;\">Any adjustments to your book will incur an admin fee. Please contact us for more information.<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #ffffff;\">Heathrow Airport is not a 24 hour airport, therefore to keep any drivers on past 23:30 due to delayed flights will incur a \u00a320.00 per hour charge.<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #ffffff;\">For delays in leaving the airport (over 1.5 hours) a waiting fee of \u00a320.00 will be charged. This also applies if your return time is extended due to delays or cancellations without prior noticed being provided.<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #ffffff;\">A fee of \u00a310 a night will be charged for extending bookings plus a \u00a35 admin fee.<\/span><\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row fullwidth=&#8221;yes&#8221; wrap=&#8221;yes&#8221; equal_height=&#8221;yes&#8221; content_placement=&#8221;middle&#8221; css=&#8221;.vc_custom_1511113094291{padding-top: 55px !important;background-color: #004c96 !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][vc_column_text css=&#8221;.vc_custom_1511170153943{margin-top: -25px !important;}&#8221; el_class=&#8221;booklogo&#8221;][\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_column_text el_class=&#8221;booktext1&#8243;] MAKE A BOOKING [\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1511170170309{margin-top: -35px !important;}&#8221; el_class=&#8221;booktext2&#8243;] Follow the steps below to receive an instant quote and to make a booking. [\/vc_column_text][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1511169615411{padding-bottom: 35px !important;}&#8221;][vc_column][vc_message message_box_style=&#8221;solid&#8221; css=&#8221;.vc_custom_1655380079963{margin-top: 50px !important;margin-bottom: 50px !important;}&#8221; el_id=&#8221;bank-holiday-warning&#8221; el_class=&#8221;d-none&#8221;]Your collection and\/or return dates [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-json\/wp\/v2\/pages\/11"}],"collection":[{"href":"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":49,"href":"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-json\/wp\/v2\/pages\/11\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-json\/wp\/v2\/pages\/11\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/flyawayparkingheathrow.com\/reservations\/wp-json\/wp\/v2\/media?parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}