{"id":174,"date":"2020-05-19T14:14:50","date_gmt":"2020-05-19T14:14:50","guid":{"rendered":"https:\/\/picoway.pt\/bookings\/"},"modified":"2024-06-18T13:41:32","modified_gmt":"2024-06-18T12:41:32","slug":"bookings","status":"publish","type":"page","link":"https:\/\/picoway.pt\/en\/bookings\/","title":{"rendered":"Bookings"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.24.2&#8243; custom_margin=&#8221;||||false|false&#8221; custom_margin_tablet=&#8221;||||false|false&#8221; custom_margin_phone=&#8221;||||false|false&#8221; custom_margin_last_edited=&#8221;on|phone&#8221; custom_padding=&#8221;0px||0px||true|false&#8221; animation_direction=&#8221;left&#8221; border_width_bottom=&#8221;5px&#8221; border_color_bottom=&#8221;#fea100&#8243; global_module=&#8221;107&#8243; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.16&#8243; width=&#8221;100%&#8221; max_width=&#8221;100%&#8221; custom_padding=&#8221;0px||0px|||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_slider show_arrows=&#8221;off&#8221; _builder_version=&#8221;4.25.2&#8243; height_tablet=&#8221;&#8221; height_phone=&#8221;250px&#8221; height_last_edited=&#8221;on|desktop&#8221; auto=&#8221;on&#8221; auto_speed=&#8221;5000&#8243; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_slide _builder_version=&#8221;4.24.2&#8243; background_enable_color=&#8221;off&#8221; background_image=&#8221;https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/img_0841.webp&#8221; background_enable_image=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221; sticky_transition=&#8221;on&#8221;][\/et_pb_slide][et_pb_slide _builder_version=&#8221;4.24.2&#8243; background_enable_color=&#8221;off&#8221; background_image=&#8221;https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/img_1102.webp&#8221; background_enable_image=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221; sticky_transition=&#8221;on&#8221;][\/et_pb_slide][et_pb_slide _builder_version=&#8221;4.24.2&#8243; background_enable_color=&#8221;off&#8221; background_image=&#8221;https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/img_6493.webp&#8221; background_enable_image=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221; sticky_transition=&#8221;on&#8221;][\/et_pb_slide][et_pb_slide _builder_version=&#8221;4.24.2&#8243; background_enable_color=&#8221;off&#8221; background_image=&#8221;https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/img_0752.webp&#8221; background_enable_image=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221; sticky_transition=&#8221;on&#8221;][\/et_pb_slide][et_pb_slide _builder_version=&#8221;4.24.2&#8243; background_enable_color=&#8221;off&#8221; background_image=&#8221;https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/img_0339.webp&#8221; background_enable_image=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221; sticky_transition=&#8221;on&#8221;][\/et_pb_slide][\/et_pb_slider][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.25.2&#8243; background_enable_color=&#8221;off&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; background_enable_image=&#8221;off&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_row _builder_version=&#8221;4.16&#8243; width=&#8221;90%&#8221; global_colors_info=&#8221;{}&#8221; custom_padding=&#8221;17px||17px|||&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.25.2&#8243; _module_preset=&#8221;default&#8221; header_2_font=&#8221;|700||on|||||&#8221; header_2_text_color=&#8221;#000000&#8243; header_2_text_align=&#8221;center&#8221; header_2_line_height=&#8221;1.3em&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>BOOKINGS<\/h2>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.16&#8243; width=&#8221;90%&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<!--<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 w2r_titulo\">\n  <h3><\/h3>\n<\/div>-->\n  \n<div id=\"bodyreserva\" class=\"bodyreserva2 col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"background: rgba(255,255,255,0.6);height: auto;margin-bottom:40px;\">\n  <div class=\"w2r_main_nav col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding:10px;\">\n      <div class=\"selected\"><a href=\"javascript:void(0)\">1.Date & Location<\/a><\/div>\n      <div class=\"w2r_disable\"><a href=\"javascript:void(0)\">2.Vehicle<\/a><\/div>\n      <div class=\"w2r_disable\"><a href=\"javascript:void(0)\">3.Insurances & Extras<\/a><\/div>\n      <div class=\"w2r_disable\"><a href=\"javascript:void(0)\">4.Get Quote \/ Book<\/a><\/div>\n  <\/div>\n  <!--<div class=\"<\/\/?=$cssClass?>col-lg-12 <\/\/?=$cssClass?>col-md-12 <\/\/?=$cssClass?>col-sm-12 <\/\/?=$cssClass?>col-xs-12 w2r_header\">\n    <h4 style=\"margin-top:10px;margin-bottom:10px;\"><\/\/?=$lang[$l]['book_now']?><\/h4>\n  <\/div>-->\n  <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 w2r_main\" style=\"padding-left:0;padding-right:0;margin-top:20px;\">\n    \n      <form  method=\"post\" id=\"w2rForm\" name=\"w2rForm\" action=\"https:\/\/picoway.pt\/en\/bookings?step=2#bodyreserva\" class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;\">\n        <div class=\"error-div\" id=\"error-div\"><\/div>\n          <div class=\"w2r_main_data col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;margin-top:20px;margin-bottom: 20px;\">\n       \n            <!-- REGULAR -->\n                <div class=\"row form-group col-lg-12 col-md-12 col-sm-12 col-xs-12 \" style=\"padding-left:0;padding-right:0;\">\n                    \n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;\">\n                        <div class=\"col-lg-6 col-md-6 col-sm-6 col-xs-12\">\n                            \n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                <label>Pick up Location<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <select name=\"pickup\" id=\"pickup\" class=\"form-control\">\n                                <option value=\"1\">Aeroporto do Pico<\/option><option value=\"2\">Madalena - Office<\/option>                                <\/select>\n                                <span ><i class=\"fa fa-map-marker\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_localizacao.png\">--><\/span>                        \n                            <\/div>\n                        <\/div>\n                        <div class=\"col-lg-3 col-md-3 col-sm-3 col-xs-12\">\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                <label>Pick up date<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <input name=\"pickup_date\"  id=\"pickup_date\" type=\"text\" onfocus=\"blur();\" class=\"form-control\" value=\"2026-04-09\" autocomplete=\"off\"\/>\n                                <span><i class=\"fa fa-calendar\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_calendario.png\">--><\/span>\n                            <\/div>\n                            \n                        <\/div>\n                        <div class=\"col-lg-3 col-md-3 col-sm-3 col-xs-12\">\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">        \n                                <label>Pick up hour<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <select name=\"pickup_hour\"  id=\"pickup_hour\" style=\"z-index: 111111111;\" class=\"form-control\"  value=\"15:00\" autocomplete=\"off\"\/>\n                                <\/select>\n                                <span><i class=\"far fa-clock\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_relogio.png\">--><\/span>\n                            <\/div>\n                            \n                        <\/div>\n                    <\/div>\n                    \n                  \n                  \n                  <!-- Dropoff-->\n                  \n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;\">\n                        <div class=\"col-lg-6 col-md-6 col-sm-6 col-xs-12\">\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                <label>Drop off Location<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <select name=\"dropoff\" id=\"dropoff\" class=\"form-control\">\n                                    <option value=\"1\">Aeroporto do Pico<\/option><option value=\"2\">Madalena - Office<\/option>                                <\/select>\n                                <span ><i class=\"fa fa-map-marker\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_localizacao.png\">--><\/span>\n                            <\/div>\n                            \n                        <\/div>\n                        <div class=\"col-lg-3 col-md-3 col-sm-3 col-xs-12\">\n                        \n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                    <label>Drop off date<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <input name=\"dropoff_date\" id=\"dropoff_date\" type=\"text\" onfocus=\"blur();\" class=\"form-control\" value=\"2026-04-11\" autocomplete=\"off\"\/>\n                                <span><i class=\"fa fa-calendar\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_calendario.png\">--><\/span>\n                            <\/div>\n                            \n                        <\/div>\n                        \n                        <div class=\"col-lg-3 col-md-3 col-sm-3 col-xs-12\">\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                <label>Drop off hour<\/label>\n                            <\/div>   \n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <select name=\"dropoff_hour\" id=\"dropoff_hour\" class=\"form-control\"  value=\"11:00\" autocomplete=\"off\"\/>\n                                <\/select>\n                                <span><i class=\"far fa-clock\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_relogio.png\">--><\/span>\n                            <\/div>  \n                        <\/div>          \n                    <\/div>\n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;\">\n\n                        <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n\n                                <label>Driver Age<\/label>\n\n                            <\/div>\n\n                            <div class=\"icon-modulo2 col-md-3 col-xs-12\">\n\n                                <select name=\"driver_age\" id=\"driver_age\" class=\"form-control\">\n\n                                    <option selected value=\"18\">18<\/option><option value=\"19\">19<\/option><option value=\"20\">20<\/option><option value=\"21\">21<\/option><option value=\"22\">22<\/option><option value=\"23\">23<\/option><option value=\"24\">24<\/option><option value=\"25\">25<\/option><option value=\"26\">26<\/option><option value=\"27\">27<\/option><option value=\"28\">28<\/option><option value=\"29\">29<\/option><option value=\"30\">30<\/option><option value=\"31\">31<\/option><option value=\"32\">32<\/option><option value=\"33\">33<\/option><option value=\"34\">34<\/option><option value=\"35\">35<\/option><option value=\"36\">36<\/option><option value=\"37\">37<\/option><option value=\"38\">38<\/option><option value=\"39\">39<\/option><option value=\"40\">40<\/option><option value=\"41\">41<\/option><option value=\"42\">42<\/option><option value=\"43\">43<\/option><option value=\"44\">44<\/option><option value=\"45\">45<\/option><option value=\"46\">46<\/option><option value=\"47\">47<\/option><option value=\"48\">48<\/option><option value=\"49\">49<\/option><option value=\"50\">50<\/option><option value=\"51\">51<\/option><option value=\"52\">52<\/option><option value=\"53\">53<\/option><option value=\"54\">54<\/option><option value=\"55\">55<\/option><option value=\"56\">56<\/option><option value=\"57\">57<\/option><option value=\"58\">58<\/option><option value=\"59\">59<\/option><option value=\"60\">60<\/option><option value=\"61\">61<\/option><option value=\"62\">62<\/option><option value=\"63\">63<\/option><option value=\"64\">64<\/option><option value=\"65\">65<\/option><option value=\"66\">66<\/option><option value=\"67\">67<\/option><option value=\"68\">68<\/option><option value=\"69\">69<\/option><option value=\"70\">70<\/option><option value=\"71\">71<\/option><option value=\"72\">72<\/option><option value=\"73\">73<\/option><option value=\"74\">74<\/option><option value=\"75\">75<\/option><option value=\"76\">76<\/option><option value=\"77\">77<\/option><option value=\"78\">78<\/option><option value=\"79\">79<\/option><option value=\"80\">80<\/option><option value=\"81\">81<\/option><option value=\"82\">82<\/option><option value=\"83\">83<\/option><option value=\"84\">84<\/option><option value=\"85\">85<\/option><option value=\"86\">86<\/option><option value=\"87\">87<\/option><option value=\"88\">88<\/option><option value=\"89\">89<\/option><option value=\"90\">90<\/option>\n                                <\/select>\n\n                                <span><i class=\"fas fa-user\"><\/i><\/span>\n\n                            <\/div>\n                            \n                        <\/div>\n\n                    <\/div>\n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"margin-top:10px;\">\n                        <div class=\"col-md-12 col-xs-12\">\n                            <input type=\"checkbox\" name=\"agreewithage\" id=\"agreewithage\">\n                            I acknowledge that I must be at least 18 years old and have a 1 year driving licence.                        <\/div>\n                    <\/div>\n                        \n                <\/div>\n                  \n\n                <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 button_next\">\n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"margin-top:20px;\">\n                        <button type=\"button\" onclick=\"nextStep()\" class=\"btn btn-primary steps_button\">See availabilities<\/button>\n                    <\/div>\n                <\/div>\n                <input type=\"hidden\" name=\"step\" value=\"2\"\/>\n            \n            <\/div>\n            \n    <\/form>\n  <\/div>\n<\/div>    \n            <script>\n                    way2rentals.jQuery(function(){\n                        way2rentals.jQuery.datetimepicker.setLocale('en');\n                        way2rentals.jQuery( \"#pickup_date\" ).datetimepicker({ dayOfWeekStart: 1 });\n                        way2rentals.jQuery( \"#dropoff_date\" ).datetimepicker({ dayOfWeekStart: 1 });\n                    });\n            <\/script>\n            \t\n\n<script>\n\nwindow.history.pushState(null, \"\", window.location.href);\n\nwindow.onpopstate = function () {\n\n    window.history.pushState(null, \"\", window.location.href);\n\n};\n\n\n\nway2rentals.jQuery(\"#pickup_date\").on(\"keydown\", function(e) {\n    e.preventDefault();\n});\n\nway2rentals.jQuery(\"#dropoff_date\").on(\"keydown\", function(e) {\n    e.preventDefault();\n});\n\nway2rentals.jQuery('#pickup_hour').on('keydown', function(e) {\n    e.preventDefault();\n});\n\nway2rentals.jQuery('#dropoff_hour').on('keydown', function(e) {\n    e.preventDefault();\n});\n\nway2rentals.jQuery(function(){\n    way2rentals.jQuery( \"#pickup_date\" ).datetimepicker({ dayOfWeekStart: 1 });\n    way2rentals.jQuery( \"#dropoff_date\" ).datetimepicker({ dayOfWeekStart: 1 });\n    way2rentals.jQuery('#transition_loader').fadeOut();\n\n    \/*setTimeout(function(){ \n        showPopUp('Aten\u00e7\u00e3o!','Esta p\u00e1gina est\u00e1 a ser visitada por mais  utilizadores'); \n    }, 4000);*\/\n    \n});\n\n\n\nway2rentals.jQuery(\"#pickup\").change(function() {\n     \n\tvar date = new Date(way2rentals.jQuery(\"#pickup_date\").val());\n\tnonWorkingDatesPickup(date);\n});\n\nway2rentals.jQuery(\"#dropoff\").change(function() {\n    \n    var date = new Date(way2rentals.jQuery(\"#dropoff_date\").val());\n    nonWorkingDatesDropoff(date);\n});\n\nway2rentals.jQuery(\"#pickup_date\").change(function() {\n\t \n    if (way2rentals.jQuery('#dropoff_date').val() < way2rentals.jQuery(\"#pickup_date\").val()) {\n       \n    \tvar date = new Date(way2rentals.jQuery(\"#pickup_date\").val());\n        date.setDate(date.getDate() + 1);\n        \n        while (nonWorkingDatesPickup(date)[0] != true) {\n        \tdate.setDate(date.getDate() + 1);\n        }\n        way2rentals.jQuery('#dropoff_date').val(date.toInputFormat());\n    }\n});\n\nDate.prototype.toInputFormat = function() {\n    var yyyy = this.getFullYear().toString();\n    var mm = (this.getMonth()+1).toString(); \/\/ getMonth() is zero-based\n    var dd  = this.getDate().toString();\n    return yyyy + \"-\" + (mm[1]?mm:\"0\"+mm[0]) + \"-\" + (dd[1]?dd:\"0\"+dd[0]); \/\/ padding\n };\n\nfunction nextStep(){\n    var check_dates_filledup = checkData(['pickup_date','dropoff_date', 'pickup_hour', 'dropoff_hour', 'pickup','dropoff']);\n    var check_dates = checkDates('pickup_date','dropoff_date','pickup_hour','dropoff_hour');\n    \/\/var check_dates_range = checkDateRange('pickup_date','dropoff_date','pickup_hour','dropoff_hour');\n    var check_saturdays = checkSaturdays('pickup_date','dropoff_date','pickup_hour','dropoff_hour');\n    var next=true;\n    \n    if(check_dates_filledup == false){\n        next=false;\n        addError(\"- Please make sure all fields are full.<br>\");\n    }\n    \n    if (check_dates == false) {\n        next=false;\n        addError(\"- Please make sure that the pickup date is not longer than the dropoff date and less than the current date.<br>\");\n    }\n    \n    \/*if (check_dates_range == false) {\n        next=false;\n        addError('<br>');\n    }*\/\n\n    if(next == true){\n    \tway2rentals.jQuery('body').append('<div id=\"transition_loader2\" class=\"loading-w2r\">Loading &#8230;<\/div>');\n    \t\/\/way2rentals.jQuery('#w2rForm').submit();\n    \twp.ajax.post( \"w2r_check_schedules_request\", {\n            pickup: way2rentals.jQuery('#pickup').val(),\n            dropoff: way2rentals.jQuery('#dropoff').val(),\n            pickup_date: way2rentals.jQuery('#pickup_date').val(),\n            pickup_hour: way2rentals.jQuery('#pickup_hour').val(),\n            dropoff_date: way2rentals.jQuery('#dropoff_date').val(),\n            dropoff_hour: way2rentals.jQuery('#dropoff_hour').val(),            \n            agreewithage: way2rentals.jQuery('#agreewithage').is(\":checked\")\n            \n        }).done(function(response) {\n        \tresponse = way2rentals.jQuery.parseJSON(response);\n\n            if(response.success == 1){\n                \n\n                way2rentals.jQuery('#w2rForm').submit();\n\n            } else if(response.success == 2) {\n\n                way2rentals.jQuery('#transition_loader').fadeOut();\n                way2rentals.jQuery('#transition_loader2').remove();\n                ConfirmDialog(response.error);\n\n            }else{\n\n            \tway2rentals.jQuery('#transition_loader').fadeOut();\n                way2rentals.jQuery('#transition_loader2').remove();\n            \taddError(response.error);\n\n            }\n    \t});\n    }\n}\n\nfunction ConfirmDialog(message) {\n\n      way2rentals.jQuery('<div><\/div>').appendTo('body')\n\n        .html('<div><p>' + message + '<\/p><\/div>')\n\n        .dialog({\n\n          modal: true,\n\n          title: '',\n\n          zIndex: 10000,\n\n          autoOpen: true,\n\n          width: 'auto',\n\n          resizable: false,\n\n          buttons: {\n\n            \n\n            Cancel: function() {\n\n\n\n              way2rentals.jQuery(this).dialog(\"close\");\n\n            },\n\n            Confirm: function() {\n\n              way2rentals.jQuery('#w2rForm').submit();\n\n\n\n              way2rentals.jQuery(this).dialog(\"close\");\n\n            }\n\n          },\n\n          close: function(event, ui) {\n\n            way2rentals.jQuery(this).remove();\n\n          }\n\n        });\n\n    };\n\nvar entity_out =way2rentals.jQuery.parseJSON('[{\"id_local\":\"1\",\"designation\":\"Aeroporto do Pico\",\"is_available\":\"1\",\"id_estacao\":\"1\",\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]},\"name\":\"Aeroporto do Pico\",\"address\":\"Largo Cardeal Costa Nunes\",\"schedule\":{\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]}}},{\"id_local\":\"2\",\"designation\":\"Madalena - Office\",\"is_available\":\"1\",\"id_estacao\":\"1\",\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]},\"name\":\"Madalena - Office\",\"address\":\"Largo Cardeal Costa Nunes\",\"schedule\":{\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]}}}]');\nvar entity_in =way2rentals.jQuery.parseJSON('[{\"id_local\":\"1\",\"designation\":\"Aeroporto do Pico\",\"is_available\":\"1\",\"id_estacao\":\"1\",\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]},\"name\":\"Aeroporto do Pico\",\"address\":\"Largo Cardeal Costa Nunes\",\"schedule\":{\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]}}},{\"id_local\":\"2\",\"designation\":\"Madalena - Office\",\"is_available\":\"1\",\"id_estacao\":\"1\",\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]},\"name\":\"Madalena - Office\",\"address\":\"Largo Cardeal Costa Nunes\",\"schedule\":{\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]}}}]');\nvar allowed_times_pickup = [];\nvar allowed_times_dropoff = [];\n\n\n    function nonWorkingDatesPickup(date){\n    \tvar day = date.getDay();\n        var closedDates = ['2019-11-12'];\n        var selected_date = way2rentals.jQuery('#pickup_date').val();\n     \n        var selected_station = way2rentals.jQuery('#pickup').val();\n        var closedDays = [];\n        \n        var from = way2rentals.jQuery(\"#pickup_date\").val().split(\"-\");\n        var aux = new Date(from[0], from[1] - 1, from[2]);\n        var day_aux = aux.getDay();\n        \n        allowed_times_pickup = [];\n        way2rentals.jQuery.each( entity_out, function( key, value ) {\n        \tvar aux_is_this_entity = false;\n        \t\n            if('id_local' == 'stationid'){\n                if (value.stationid == selected_station) {\n                    aux_is_this_entity = true;\n                }\n            }else{\n                if (value.id_local == selected_station) {\n                    aux_is_this_entity = true;\n                }\n            }\n            \n            if (aux_is_this_entity == true) {\n            \t\n                way2rentals.jQuery.each( value.schedule.working_hours, function( key2, value2 ) {\n                    \n                    switch(day_aux) {\n                        case 1:\n                            if(key2 == 'seg'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 2:\n                            if(key2 == 'ter'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 3:\n                            if(key2 == 'qua'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 4:\n                            if(key2 == 'qui'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 5:\n                            if(key2 == 'sex'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 6:\n                            if(key2 == 'sab'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 0:\n                            if(key2 == 'dom'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 7:\n                            if(key2 == 'dom'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                    }\n                });\n                \n                \n                addOptionsToTimeField('pickup_hour', allowed_times_pickup);\n\n                way2rentals.jQuery.each( value.open_days, function( day_abreviation, status ) {\n                  if(status == 0){\n                      switch(day_abreviation) {\n                            case \"sun\":\n                            closedDays.push([0]);\n                            break\n                            case \"mon\":\n                            closedDays.push([1]);\n                            break\n                            case \"tue\":\n                            closedDays.push([2]);\n                            break\n                            case \"wed\":\n                            closedDays.push([3]);\n                            break\n                            case \"thu\":\n                            closedDays.push([4]);\n                            break\n                            case \"fri\":\n                            closedDays.push([5]);\n                            break\n                             case \"sat\":\n                            closedDays.push([6]);\n                            break\n                        }\n                  }\n              });\n                  \n             }\n        })\n        \n        var holidays = way2rentals.jQuery.parseJSON('[]');\n        \n        var datestring = way2rentals.jQuery.datepicker.formatDate('yy-mm-dd', date);\n        if(holidays.indexOf(datestring) != -1){\n            return [false];\n        }\n        \n        \n        for (var i = 0; i < closedDays.length; i++) {\n            if (day == closedDays[i][0]) {\n                return [false];\n            }\n\n        }\n\n        for (i = 0; i < closedDates.length; i++) {\n            if (date.getMonth() == closedDates[i][0] - 1 &&\n            date.getDate() == closedDates[i][1] &&\n            date.getFullYear() == closedDates[i][2]) {\n                return [false];\n            }\n        }\n\n        return [true];\n    }\n\n    function nonWorkingDatesDropoff(date){\n       var day = date.getDay();\n        var closedDates = [];\n        \n        var selected_station = way2rentals.jQuery('#dropoff').val();\n        var closedDays = [];\n        var from = way2rentals.jQuery(\"#dropoff_date\").val().split(\"-\");\n        var aux = new Date(from[0], from[1] - 1, from[2]);\n        var day_aux = aux.getDay();\n        \n        allowed_times_dropoff = [];\n        way2rentals.jQuery.each( entity_in, function( key, value ) {\n        \tvar aux_is_this_entity = false;\n            if('id_local' == 'stationid'){\n                if (value.stationid == selected_station) {\n                    aux_is_this_entity = true;\n                }\n            }else{\n                if (value.id_local == selected_station) {\n                    aux_is_this_entity = true;\n                }\n            }\n            \n            if (aux_is_this_entity == true) {\n            console.log(day_aux);\n                way2rentals.jQuery.each( value.schedule.working_hours, function( key2, value2 ) {\n                    switch(day_aux) {\n                        case 1:\n                            if(key2 == 'seg'){\n                            \n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 2:\n                            if(key2 == 'ter'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 3:\n                            if(key2 == 'qua'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 4:\n                            if(key2 == 'qui'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 5:\n                            if(key2 == 'sex'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 6:\n                            if(key2 == 'sab'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 0:\n                        \n                            if(key2 == 'dom'){\n                            \n                            \n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 7:\n                        \n                            if(key2 == 'dom'){\n                            \n                            \n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                    }\n                });\n                \n                \n                addOptionsToTimeField('dropoff_hour', allowed_times_dropoff);\n                \n                way2rentals.jQuery.each( value.open_days, function( day_abreviation, status ) {\n                  if(status == 0){\n                      switch(day_abreviation) {\n                            case \"sun\":\n                            closedDays.push([0]);\n                            break\n                            case \"mon\":\n                            closedDays.push([1]);\n                            break\n                            case \"tue\":\n                            closedDays.push([2]);\n                            break\n                            case \"wed\":\n                            closedDays.push([3]);\n                            break\n                            case \"thu\":\n                            closedDays.push([4]);\n                            break\n                            case \"fri\":\n                            closedDays.push([5]);\n                            break\n                             case \"sat\":\n                            closedDays.push([6]);\n                            break\n                        }\n                  }\n              });\n                  \n             }\n        })\n        \n        \n        var holidays = way2rentals.jQuery.parseJSON('[]');\n        \n        var datestring = way2rentals.jQuery.datepicker.formatDate('yy-mm-dd', date);\n        if(holidays.indexOf(datestring) != -1){\n            return [false];\n        }\n        \n        for (var i = 0; i < closedDays.length; i++) {\n            if (day == closedDays[i][0]) {\n                return [false];\n            }\n    \n        }\n    \n        for (i = 0; i < closedDates.length; i++) {\n            if (date.getMonth() == closedDates[i][0] - 1 &&\n            date.getDate() == closedDates[i][1] &&\n            date.getFullYear() == closedDates[i][2]) {\n                return [false];\n            }\n        }\n    \n        return [true];\n    }\n\n    way2rentals.jQuery('#pickup_date').datetimepicker({\n        format:\t'Y-m-d',\n        beforeShowDay: nonWorkingDatesPickup,\n        timepicker:false,\n        minDate:'+1970\/01\/01',\n        onShow:function( ct ){\n        this.setOptions({\n            maxDate: false,\n        })\n        }\n    });\n    \n    way2rentals.jQuery('#dropoff_date').datetimepicker({\n        format:'Y-m-d',\n        timepicker:false,\n        beforeShowDay: nonWorkingDatesDropoff,\n        minDate:'+1970\/01\/01',\n        onShow:function( ct ){\n        this.setOptions({\n        \tminDate:jQuery('#pickup_date').val()?jQuery('#pickup_date').val():false,\n        })\n        }\n    });\n\n    \/*way2rentals.jQuery('#pickup_hour').datetimepicker({\n        format: 'H:i',\n        datepicker: false,\n        timepicker:true,\n        closeOnTimeSelect: false,\n        closeOnWithoutClick: true,\n        onShow:function( ct ){\n            this.setOptions({\n                maxDate: false,\n                allowTimes: allowed_times_pickup,\n           })\n        }\n    });\n\n    way2rentals.jQuery('#dropoff_hour').datetimepicker({\n        format: 'H:i',\n        datepicker: false,\n        timepicker:true,\n        closeOnTimeSelect: false,\n        closeOnWithoutClick: true,\n        onShow:function( ct ){\n            this.setOptions({\n                maxDate: false,\n                allowTimes: allowed_times_dropoff,\n           })\n        }\n    });*\/\n\n    function addOptionsToTimeField(field, options){\n        way2rentals.jQuery('#'+field).empty();\n        var selected = '';\n        switch(field) {\n            case 'pickup_hour':\n                if('0' == '1'){\n                    selected = '0';\n                }else{\n                    selected = '15:00';\n                }\n            break\n            case 'dropoff_hour':\n                if('0' == '1'){\n                    \n                    selected = '0';\n                }else{\n                    selected = '11:00';\n                }\n            break\n        }\n\n        for (var i = 0; i < options.length; i++) {\n\n            var time = options[i];\n            var aux = options[i].split(':');\n        \n            if(aux[0].length == 1){\n                time = '0'+aux[0]+':'+aux[1];\n            }\n\n            if(time == selected){\n                way2rentals.jQuery('#'+field).append('<option selected value=\"'+time+'\">'+time+'<\/option>');\n            } else {\n                way2rentals.jQuery('#'+field).append('<option value=\"'+time+'\">'+time+'<\/option>');\n            }\n        }\n\n    }\n<\/script>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.24.2&#8243; background_color=&#8221;#fea100&#8243; custom_padding=&#8221;20px||20px|||&#8221; global_module=&#8221;157&#8243; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row column_structure=&#8221;1_2,1_4,1_4&#8243; _builder_version=&#8221;4.16&#8243; width=&#8221;90%&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; header_2_font=&#8221;|700||on|||||&#8221; header_2_text_color=&#8221;#ffffff&#8221; animation_style=&#8221;fade&#8221; text_orientation_tablet=&#8221;&#8221; text_orientation_phone=&#8221;center&#8221; text_orientation_last_edited=&#8221;on|phone&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>HAVE QUESTIONS? TALK WITH US&#8230;<\/h2>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_4&#8243; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_blurb use_icon=&#8221;on&#8221; font_icon=&#8221;&#xe090;||divi||400&#8243; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;30px&#8221; _builder_version=&#8221;4.24.2&#8243; header_level=&#8221;h2&#8243; header_font=&#8221;|700|||||||&#8221; body_font=&#8221;|700||on|||||&#8221; body_text_align=&#8221;left&#8221; body_text_color=&#8221;#000000&#8243; body_font_size=&#8221;23px&#8221; body_line_height=&#8221;1.5em&#8221; body_link_font=&#8221;|700|||||||&#8221; body_link_text_color=&#8221;#000000&#8243; text_orientation=&#8221;right&#8221; custom_margin=&#8221;|-14px||-7px|false|false&#8221; custom_margin_tablet=&#8221;&#8221; custom_margin_phone=&#8221;|0px||40px|false|false&#8221; custom_margin_last_edited=&#8221;on|phone&#8221; animation_style=&#8221;fade&#8221; text_orientation_tablet=&#8221;&#8221; text_orientation_phone=&#8221;&#8221; text_orientation_last_edited=&#8221;on|phone&#8221; module_alignment_tablet=&#8221;&#8221; module_alignment_phone=&#8221;center&#8221; module_alignment_last_edited=&#8221;on|phone&#8221; icon_font_size=&#8221;30px&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><a href=\"tel:00351292623370\">+351 292 623 370<\/a><\/p>\n<p>[\/et_pb_blurb][\/et_pb_column][et_pb_column type=&#8221;1_4&#8243; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_button button_url=&#8221;@ET-DC@eyJkeW5hbWljIjp0cnVlLCJjb250ZW50IjoicG9zdF9saW5rX3VybF9wYWdlIiwic2V0dGluZ3MiOnsicG9zdF9pZCI6IjkzIn19@&#8221; button_text=&#8221;CONTACT US&#8221; button_alignment=&#8221;center&#8221; _builder_version=&#8221;4.25.1&#8243; _dynamic_attributes=&#8221;button_url&#8221; custom_button=&#8221;on&#8221; button_text_size=&#8221;19px&#8221; button_letter_spacing=&#8221;0px&#8221; button_font=&#8221;|700|||||||&#8221; button_use_icon=&#8221;off&#8221; background_layout=&#8221;dark&#8221; custom_margin=&#8221;-6px|||||&#8221; custom_padding=&#8221;||||false|false&#8221; animation_style=&#8221;fade&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_button][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BOOKINGS<!--<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 w2r_titulo\">\n  <h3><\/h3>\n<\/div>-->\n  \n<div id=\"bodyreserva\" class=\"bodyreserva2 col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"background: rgba(255,255,255,0.6);height: auto;margin-bottom:40px;\">\n  <div class=\"w2r_main_nav col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding:10px;\">\n      <div class=\"selected\"><a href=\"javascript:void(0)\">1.Date & Location<\/a><\/div>\n      <div class=\"w2r_disable\"><a href=\"javascript:void(0)\">2.Vehicle<\/a><\/div>\n      <div class=\"w2r_disable\"><a href=\"javascript:void(0)\">3.Insurances & Extras<\/a><\/div>\n      <div class=\"w2r_disable\"><a href=\"javascript:void(0)\">4.Get Quote \/ Book<\/a><\/div>\n  <\/div>\n  <!--<div class=\"<\/\/?=$cssClass?>col-lg-12 <\/\/?=$cssClass?>col-md-12 <\/\/?=$cssClass?>col-sm-12 <\/\/?=$cssClass?>col-xs-12 w2r_header\">\n    <h4 style=\"margin-top:10px;margin-bottom:10px;\"><\/\/?=$lang[$l]['book_now']?><\/h4>\n  <\/div>-->\n  <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 w2r_main\" style=\"padding-left:0;padding-right:0;margin-top:20px;\">\n    \n      <form  method=\"post\" id=\"w2rForm\" name=\"w2rForm\" action=\"https:\/\/picoway.pt\/en\/bookings?step=2#bodyreserva\" class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;\">\n        <div class=\"error-div\" id=\"error-div\"><\/div>\n          <div class=\"w2r_main_data col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;margin-top:20px;margin-bottom: 20px;\">\n       \n            <!-- REGULAR -->\n                <div class=\"row form-group col-lg-12 col-md-12 col-sm-12 col-xs-12 \" style=\"padding-left:0;padding-right:0;\">\n                    \n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;\">\n                        <div class=\"col-lg-6 col-md-6 col-sm-6 col-xs-12\">\n                            \n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                <label>Pick up Location<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <select name=\"pickup\" id=\"pickup\" class=\"form-control\">\n                                <option value=\"1\">Aeroporto do Pico<\/option><option value=\"2\">Madalena - Office<\/option>                                <\/select>\n                                <span ><i class=\"fa fa-map-marker\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_localizacao.png\">--><\/span>                        \n                            <\/div>\n                        <\/div>\n                        <div class=\"col-lg-3 col-md-3 col-sm-3 col-xs-12\">\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                <label>Pick up date<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <input name=\"pickup_date\"  id=\"pickup_date\" type=\"text\" onfocus=\"blur();\" class=\"form-control\" value=\"2026-04-09\" autocomplete=\"off\"\/>\n                                <span><i class=\"fa fa-calendar\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_calendario.png\">--><\/span>\n                            <\/div>\n                            \n                        <\/div>\n                        <div class=\"col-lg-3 col-md-3 col-sm-3 col-xs-12\">\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">        \n                                <label>Pick up hour<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <select name=\"pickup_hour\"  id=\"pickup_hour\" style=\"z-index: 111111111;\" class=\"form-control\"  value=\"15:00\" autocomplete=\"off\"\/>\n                                <\/select>\n                                <span><i class=\"far fa-clock\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_relogio.png\">--><\/span>\n                            <\/div>\n                            \n                        <\/div>\n                    <\/div>\n                    \n                  \n                  \n                  <!-- Dropoff-->\n                  \n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;\">\n                        <div class=\"col-lg-6 col-md-6 col-sm-6 col-xs-12\">\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                <label>Drop off Location<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <select name=\"dropoff\" id=\"dropoff\" class=\"form-control\">\n                                    <option value=\"1\">Aeroporto do Pico<\/option><option value=\"2\">Madalena - Office<\/option>                                <\/select>\n                                <span ><i class=\"fa fa-map-marker\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_localizacao.png\">--><\/span>\n                            <\/div>\n                            \n                        <\/div>\n                        <div class=\"col-lg-3 col-md-3 col-sm-3 col-xs-12\">\n                        \n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                    <label>Drop off date<\/label>\n                            <\/div>\n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <input name=\"dropoff_date\" id=\"dropoff_date\" type=\"text\" onfocus=\"blur();\" class=\"form-control\" value=\"2026-04-11\" autocomplete=\"off\"\/>\n                                <span><i class=\"fa fa-calendar\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_calendario.png\">--><\/span>\n                            <\/div>\n                            \n                        <\/div>\n                        \n                        <div class=\"col-lg-3 col-md-3 col-sm-3 col-xs-12\">\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 icon-modulo2\">\n                                <label>Drop off hour<\/label>\n                            <\/div>   \n                            <div class=\"icon-modulo2 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n                                <select name=\"dropoff_hour\" id=\"dropoff_hour\" class=\"form-control\"  value=\"11:00\" autocomplete=\"off\"\/>\n                                <\/select>\n                                <span><i class=\"far fa-clock\" aria-hidden=\"true\"><\/i><!--<img decoding=\"async\" src=\"\/icon_relogio.png\">--><\/span>\n                            <\/div>  \n                        <\/div>          \n                    <\/div>\n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"padding-left:0;padding-right:0;\">\n\n                        <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n\n                            <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n\n                                <label>Driver Age<\/label>\n\n                            <\/div>\n\n                            <div class=\"icon-modulo2 col-md-3 col-xs-12\">\n\n                                <select name=\"driver_age\" id=\"driver_age\" class=\"form-control\">\n\n                                    <option selected value=\"18\">18<\/option><option value=\"19\">19<\/option><option value=\"20\">20<\/option><option value=\"21\">21<\/option><option value=\"22\">22<\/option><option value=\"23\">23<\/option><option value=\"24\">24<\/option><option value=\"25\">25<\/option><option value=\"26\">26<\/option><option value=\"27\">27<\/option><option value=\"28\">28<\/option><option value=\"29\">29<\/option><option value=\"30\">30<\/option><option value=\"31\">31<\/option><option value=\"32\">32<\/option><option value=\"33\">33<\/option><option value=\"34\">34<\/option><option value=\"35\">35<\/option><option value=\"36\">36<\/option><option value=\"37\">37<\/option><option value=\"38\">38<\/option><option value=\"39\">39<\/option><option value=\"40\">40<\/option><option value=\"41\">41<\/option><option value=\"42\">42<\/option><option value=\"43\">43<\/option><option value=\"44\">44<\/option><option value=\"45\">45<\/option><option value=\"46\">46<\/option><option value=\"47\">47<\/option><option value=\"48\">48<\/option><option value=\"49\">49<\/option><option value=\"50\">50<\/option><option value=\"51\">51<\/option><option value=\"52\">52<\/option><option value=\"53\">53<\/option><option value=\"54\">54<\/option><option value=\"55\">55<\/option><option value=\"56\">56<\/option><option value=\"57\">57<\/option><option value=\"58\">58<\/option><option value=\"59\">59<\/option><option value=\"60\">60<\/option><option value=\"61\">61<\/option><option value=\"62\">62<\/option><option value=\"63\">63<\/option><option value=\"64\">64<\/option><option value=\"65\">65<\/option><option value=\"66\">66<\/option><option value=\"67\">67<\/option><option value=\"68\">68<\/option><option value=\"69\">69<\/option><option value=\"70\">70<\/option><option value=\"71\">71<\/option><option value=\"72\">72<\/option><option value=\"73\">73<\/option><option value=\"74\">74<\/option><option value=\"75\">75<\/option><option value=\"76\">76<\/option><option value=\"77\">77<\/option><option value=\"78\">78<\/option><option value=\"79\">79<\/option><option value=\"80\">80<\/option><option value=\"81\">81<\/option><option value=\"82\">82<\/option><option value=\"83\">83<\/option><option value=\"84\">84<\/option><option value=\"85\">85<\/option><option value=\"86\">86<\/option><option value=\"87\">87<\/option><option value=\"88\">88<\/option><option value=\"89\">89<\/option><option value=\"90\">90<\/option>\n                                <\/select>\n\n                                <span><i class=\"fas fa-user\"><\/i><\/span>\n\n                            <\/div>\n                            \n                        <\/div>\n\n                    <\/div>\n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"margin-top:10px;\">\n                        <div class=\"col-md-12 col-xs-12\">\n                            <input type=\"checkbox\" name=\"agreewithage\" id=\"agreewithage\">\n                            I acknowledge that I must be at least 18 years old and have a 1 year driving licence.                        <\/div>\n                    <\/div>\n                        \n                <\/div>\n                  \n\n                <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 button_next\">\n                    <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\" style=\"margin-top:20px;\">\n                        <button type=\"button\" onclick=\"nextStep()\" class=\"btn btn-primary steps_button\">See availabilities<\/button>\n                    <\/div>\n                <\/div>\n                <input type=\"hidden\" name=\"step\" value=\"2\"\/>\n            \n            <\/div>\n            \n    <\/form>\n  <\/div>\n<\/div>    \n            <script>\n                    way2rentals.jQuery(function(){\n                        way2rentals.jQuery.datetimepicker.setLocale('en');\n                        way2rentals.jQuery( \"#pickup_date\" ).datetimepicker({ dayOfWeekStart: 1 });\n                        way2rentals.jQuery( \"#dropoff_date\" ).datetimepicker({ dayOfWeekStart: 1 });\n                    });\n            <\/script>\n            \t\n\n<script>\n\nwindow.history.pushState(null, \"\", window.location.href);\n\nwindow.onpopstate = function () {\n\n    window.history.pushState(null, \"\", window.location.href);\n\n};\n\n\n\nway2rentals.jQuery(\"#pickup_date\").on(\"keydown\", function(e) {\n    e.preventDefault();\n});\n\nway2rentals.jQuery(\"#dropoff_date\").on(\"keydown\", function(e) {\n    e.preventDefault();\n});\n\nway2rentals.jQuery('#pickup_hour').on('keydown', function(e) {\n    e.preventDefault();\n});\n\nway2rentals.jQuery('#dropoff_hour').on('keydown', function(e) {\n    e.preventDefault();\n});\n\nway2rentals.jQuery(function(){\n    way2rentals.jQuery( \"#pickup_date\" ).datetimepicker({ dayOfWeekStart: 1 });\n    way2rentals.jQuery( \"#dropoff_date\" ).datetimepicker({ dayOfWeekStart: 1 });\n    way2rentals.jQuery('#transition_loader').fadeOut();\n\n    \/*setTimeout(function(){ \n        showPopUp('Aten\u00e7\u00e3o!','Esta p\u00e1gina est\u00e1 a ser visitada por mais  utilizadores'); \n    }, 4000);*\/\n    \n});\n\n\n\nway2rentals.jQuery(\"#pickup\").change(function() {\n     \n\tvar date = new Date(way2rentals.jQuery(\"#pickup_date\").val());\n\tnonWorkingDatesPickup(date);\n});\n\nway2rentals.jQuery(\"#dropoff\").change(function() {\n    \n    var date = new Date(way2rentals.jQuery(\"#dropoff_date\").val());\n    nonWorkingDatesDropoff(date);\n});\n\nway2rentals.jQuery(\"#pickup_date\").change(function() {\n\t \n    if (way2rentals.jQuery('#dropoff_date').val() < way2rentals.jQuery(\"#pickup_date\").val()) {\n       \n    \tvar date = new Date(way2rentals.jQuery(\"#pickup_date\").val());\n        date.setDate(date.getDate() + 1);\n        \n        while (nonWorkingDatesPickup(date)[0] != true) {\n        \tdate.setDate(date.getDate() + 1);\n        }\n        way2rentals.jQuery('#dropoff_date').val(date.toInputFormat());\n    }\n});\n\nDate.prototype.toInputFormat = function() {\n    var yyyy = this.getFullYear().toString();\n    var mm = (this.getMonth()+1).toString(); \/\/ getMonth() is zero-based\n    var dd  = this.getDate().toString();\n    return yyyy + \"-\" + (mm[1]?mm:\"0\"+mm[0]) + \"-\" + (dd[1]?dd:\"0\"+dd[0]); \/\/ padding\n };\n\nfunction nextStep(){\n    var check_dates_filledup = checkData(['pickup_date','dropoff_date', 'pickup_hour', 'dropoff_hour', 'pickup','dropoff']);\n    var check_dates = checkDates('pickup_date','dropoff_date','pickup_hour','dropoff_hour');\n    \/\/var check_dates_range = checkDateRange('pickup_date','dropoff_date','pickup_hour','dropoff_hour');\n    var check_saturdays = checkSaturdays('pickup_date','dropoff_date','pickup_hour','dropoff_hour');\n    var next=true;\n    \n    if(check_dates_filledup == false){\n        next=false;\n        addError(\"- Please make sure all fields are full.<br>\");\n    }\n    \n    if (check_dates == false) {\n        next=false;\n        addError(\"- Please make sure that the pickup date is not longer than the dropoff date and less than the current date.<br>\");\n    }\n    \n    \/*if (check_dates_range == false) {\n        next=false;\n        addError('<br>');\n    }*\/\n\n    if(next == true){\n    \tway2rentals.jQuery('body').append('<div id=\"transition_loader2\" class=\"loading-w2r\">Loading &#8230;<\/div>');\n    \t\/\/way2rentals.jQuery('#w2rForm').submit();\n    \twp.ajax.post( \"w2r_check_schedules_request\", {\n            pickup: way2rentals.jQuery('#pickup').val(),\n            dropoff: way2rentals.jQuery('#dropoff').val(),\n            pickup_date: way2rentals.jQuery('#pickup_date').val(),\n            pickup_hour: way2rentals.jQuery('#pickup_hour').val(),\n            dropoff_date: way2rentals.jQuery('#dropoff_date').val(),\n            dropoff_hour: way2rentals.jQuery('#dropoff_hour').val(),            \n            agreewithage: way2rentals.jQuery('#agreewithage').is(\":checked\")\n            \n        }).done(function(response) {\n        \tresponse = way2rentals.jQuery.parseJSON(response);\n\n            if(response.success == 1){\n                \n\n                way2rentals.jQuery('#w2rForm').submit();\n\n            } else if(response.success == 2) {\n\n                way2rentals.jQuery('#transition_loader').fadeOut();\n                way2rentals.jQuery('#transition_loader2').remove();\n                ConfirmDialog(response.error);\n\n            }else{\n\n            \tway2rentals.jQuery('#transition_loader').fadeOut();\n                way2rentals.jQuery('#transition_loader2').remove();\n            \taddError(response.error);\n\n            }\n    \t});\n    }\n}\n\nfunction ConfirmDialog(message) {\n\n      way2rentals.jQuery('<div><\/div>').appendTo('body')\n\n        .html('<div><p>' + message + '<\/p><\/div>')\n\n        .dialog({\n\n          modal: true,\n\n          title: '',\n\n          zIndex: 10000,\n\n          autoOpen: true,\n\n          width: 'auto',\n\n          resizable: false,\n\n          buttons: {\n\n            \n\n            Cancel: function() {\n\n\n\n              way2rentals.jQuery(this).dialog(\"close\");\n\n            },\n\n            Confirm: function() {\n\n              way2rentals.jQuery('#w2rForm').submit();\n\n\n\n              way2rentals.jQuery(this).dialog(\"close\");\n\n            }\n\n          },\n\n          close: function(event, ui) {\n\n            way2rentals.jQuery(this).remove();\n\n          }\n\n        });\n\n    };\n\nvar entity_out =way2rentals.jQuery.parseJSON('[{\"id_local\":\"1\",\"designation\":\"Aeroporto do Pico\",\"is_available\":\"1\",\"id_estacao\":\"1\",\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]},\"name\":\"Aeroporto do Pico\",\"address\":\"Largo Cardeal Costa Nunes\",\"schedule\":{\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]}}},{\"id_local\":\"2\",\"designation\":\"Madalena - Office\",\"is_available\":\"1\",\"id_estacao\":\"1\",\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]},\"name\":\"Madalena - Office\",\"address\":\"Largo Cardeal Costa Nunes\",\"schedule\":{\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]}}}]');\nvar entity_in =way2rentals.jQuery.parseJSON('[{\"id_local\":\"1\",\"designation\":\"Aeroporto do Pico\",\"is_available\":\"1\",\"id_estacao\":\"1\",\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]},\"name\":\"Aeroporto do Pico\",\"address\":\"Largo Cardeal Costa Nunes\",\"schedule\":{\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]}}},{\"id_local\":\"2\",\"designation\":\"Madalena - Office\",\"is_available\":\"1\",\"id_estacao\":\"1\",\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]},\"name\":\"Madalena - Office\",\"address\":\"Largo Cardeal Costa Nunes\",\"schedule\":{\"working_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"21:00\"}],\"ter\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qua\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"qui\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sex\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"sab\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}],\"dom\":[{\"begin\":\"07:30\",\"end\":\"19:01\"}]},\"out_of_hours\":{\"seg\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"ter\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qua\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"qui\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sex\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}],\"sab\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"0\"}],\"dom\":[{\"begin\":\"07:00\",\"end\":\"07:29\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"1\"},{\"begin\":\"19:01\",\"end\":\"19:59\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"14\"},{\"begin\":\"20:00\",\"end\":\"21:00\",\"type\":\"both\",\"object_type\":\"40\",\"id_object\":\"12\"}]}}}]');\nvar allowed_times_pickup = [];\nvar allowed_times_dropoff = [];\n\n\n    function nonWorkingDatesPickup(date){\n    \tvar day = date.getDay();\n        var closedDates = ['2019-11-12'];\n        var selected_date = way2rentals.jQuery('#pickup_date').val();\n     \n        var selected_station = way2rentals.jQuery('#pickup').val();\n        var closedDays = [];\n        \n        var from = way2rentals.jQuery(\"#pickup_date\").val().split(\"-\");\n        var aux = new Date(from[0], from[1] - 1, from[2]);\n        var day_aux = aux.getDay();\n        \n        allowed_times_pickup = [];\n        way2rentals.jQuery.each( entity_out, function( key, value ) {\n        \tvar aux_is_this_entity = false;\n        \t\n            if('id_local' == 'stationid'){\n                if (value.stationid == selected_station) {\n                    aux_is_this_entity = true;\n                }\n            }else{\n                if (value.id_local == selected_station) {\n                    aux_is_this_entity = true;\n                }\n            }\n            \n            if (aux_is_this_entity == true) {\n            \t\n                way2rentals.jQuery.each( value.schedule.working_hours, function( key2, value2 ) {\n                    \n                    switch(day_aux) {\n                        case 1:\n                            if(key2 == 'seg'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 2:\n                            if(key2 == 'ter'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 3:\n                            if(key2 == 'qua'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 4:\n                            if(key2 == 'qui'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 5:\n                            if(key2 == 'sex'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 6:\n                            if(key2 == 'sab'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 0:\n                            if(key2 == 'dom'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 7:\n                            if(key2 == 'dom'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_pickup.push(i+\":00\");\n                                            allowed_times_pickup.push(i+\":15\");\n                                            allowed_times_pickup.push(i+\":30\");\n                                            allowed_times_pickup.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                    }\n                });\n                \n                \n                addOptionsToTimeField('pickup_hour', allowed_times_pickup);\n\n                way2rentals.jQuery.each( value.open_days, function( day_abreviation, status ) {\n                  if(status == 0){\n                      switch(day_abreviation) {\n                            case \"sun\":\n                            closedDays.push([0]);\n                            break\n                            case \"mon\":\n                            closedDays.push([1]);\n                            break\n                            case \"tue\":\n                            closedDays.push([2]);\n                            break\n                            case \"wed\":\n                            closedDays.push([3]);\n                            break\n                            case \"thu\":\n                            closedDays.push([4]);\n                            break\n                            case \"fri\":\n                            closedDays.push([5]);\n                            break\n                             case \"sat\":\n                            closedDays.push([6]);\n                            break\n                        }\n                  }\n              });\n                  \n             }\n        })\n        \n        var holidays = way2rentals.jQuery.parseJSON('[]');\n        \n        var datestring = way2rentals.jQuery.datepicker.formatDate('yy-mm-dd', date);\n        if(holidays.indexOf(datestring) != -1){\n            return [false];\n        }\n        \n        \n        for (var i = 0; i < closedDays.length; i++) {\n            if (day == closedDays[i][0]) {\n                return [false];\n            }\n\n        }\n\n        for (i = 0; i < closedDates.length; i++) {\n            if (date.getMonth() == closedDates[i][0] - 1 &&\n            date.getDate() == closedDates[i][1] &&\n            date.getFullYear() == closedDates[i][2]) {\n                return [false];\n            }\n        }\n\n        return [true];\n    }\n\n    function nonWorkingDatesDropoff(date){\n       var day = date.getDay();\n        var closedDates = [];\n        \n        var selected_station = way2rentals.jQuery('#dropoff').val();\n        var closedDays = [];\n        var from = way2rentals.jQuery(\"#dropoff_date\").val().split(\"-\");\n        var aux = new Date(from[0], from[1] - 1, from[2]);\n        var day_aux = aux.getDay();\n        \n        allowed_times_dropoff = [];\n        way2rentals.jQuery.each( entity_in, function( key, value ) {\n        \tvar aux_is_this_entity = false;\n            if('id_local' == 'stationid'){\n                if (value.stationid == selected_station) {\n                    aux_is_this_entity = true;\n                }\n            }else{\n                if (value.id_local == selected_station) {\n                    aux_is_this_entity = true;\n                }\n            }\n            \n            if (aux_is_this_entity == true) {\n            console.log(day_aux);\n                way2rentals.jQuery.each( value.schedule.working_hours, function( key2, value2 ) {\n                    switch(day_aux) {\n                        case 1:\n                            if(key2 == 'seg'){\n                            \n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 2:\n                            if(key2 == 'ter'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 3:\n                            if(key2 == 'qua'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 4:\n                            if(key2 == 'qui'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 5:\n                            if(key2 == 'sex'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 6:\n                            if(key2 == 'sab'){\n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 0:\n                        \n                            if(key2 == 'dom'){\n                            \n                            \n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                        case 7:\n                        \n                            if(key2 == 'dom'){\n                            \n                            \n                                way2rentals.jQuery.each( value2, function( key3, value3 ) {\n                                    var aux_begin = value3.begin.split(':');\n                                    var aux_end = value3.end.split(':');\n                                    for (i = aux_begin[0]; i <= aux_end[0]; i++) {\n                                            allowed_times_dropoff.push(i+\":00\");\n                                            allowed_times_dropoff.push(i+\":15\");\n                                            allowed_times_dropoff.push(i+\":30\");\n                                            allowed_times_dropoff.push(i+\":45\");\n                                    }\n                                    \n                                });\n                            }\n                        break\n                    }\n                });\n                \n                \n                addOptionsToTimeField('dropoff_hour', allowed_times_dropoff);\n                \n                way2rentals.jQuery.each( value.open_days, function( day_abreviation, status ) {\n                  if(status == 0){\n                      switch(day_abreviation) {\n                            case \"sun\":\n                            closedDays.push([0]);\n                            break\n                            case \"mon\":\n                            closedDays.push([1]);\n                            break\n                            case \"tue\":\n                            closedDays.push([2]);\n                            break\n                            case \"wed\":\n                            closedDays.push([3]);\n                            break\n                            case \"thu\":\n                            closedDays.push([4]);\n                            break\n                            case \"fri\":\n                            closedDays.push([5]);\n                            break\n                             case \"sat\":\n                            closedDays.push([6]);\n                            break\n                        }\n                  }\n              });\n                  \n             }\n        })\n        \n        \n        var holidays = way2rentals.jQuery.parseJSON('[]');\n        \n        var datestring = way2rentals.jQuery.datepicker.formatDate('yy-mm-dd', date);\n        if(holidays.indexOf(datestring) != -1){\n            return [false];\n        }\n        \n        for (var i = 0; i < closedDays.length; i++) {\n            if (day == closedDays[i][0]) {\n                return [false];\n            }\n    \n        }\n    \n        for (i = 0; i < closedDates.length; i++) {\n            if (date.getMonth() == closedDates[i][0] - 1 &&\n            date.getDate() == closedDates[i][1] &&\n            date.getFullYear() == closedDates[i][2]) {\n                return [false];\n            }\n        }\n    \n        return [true];\n    }\n\n    way2rentals.jQuery('#pickup_date').datetimepicker({\n        format:\t'Y-m-d',\n        beforeShowDay: nonWorkingDatesPickup,\n        timepicker:false,\n        minDate:'+1970\/01\/01',\n        onShow:function( ct ){\n        this.setOptions({\n            maxDate: false,\n        })\n        }\n    });\n    \n    way2rentals.jQuery('#dropoff_date').datetimepicker({\n        format:'Y-m-d',\n        timepicker:false,\n        beforeShowDay: nonWorkingDatesDropoff,\n        minDate:'+1970\/01\/01',\n        onShow:function( ct ){\n        this.setOptions({\n        \tminDate:jQuery('#pickup_date').val()?jQuery('#pickup_date').val():false,\n        })\n        }\n    });\n\n    \/*way2rentals.jQuery('#pickup_hour').datetimepicker({\n        format: 'H:i',\n        datepicker: false,\n        timepicker:true,\n        closeOnTimeSelect: false,\n        closeOnWithoutClick: true,\n        onShow:function( ct ){\n            this.setOptions({\n                maxDate: false,\n                allowTimes: allowed_times_pickup,\n           })\n        }\n    });\n\n    way2rentals.jQuery('#dropoff_hour').datetimepicker({\n        format: 'H:i',\n        datepicker: false,\n        timepicker:true,\n        closeOnTimeSelect: false,\n        closeOnWithoutClick: true,\n        onShow:function( ct ){\n            this.setOptions({\n                maxDate: false,\n                allowTimes: allowed_times_dropoff,\n           })\n        }\n    });*\/\n\n    function addOptionsToTimeField(field, options){\n        way2rentals.jQuery('#'+field).empty();\n        var selected = '';\n        switch(field) {\n            case 'pickup_hour':\n                if('0' == '1'){\n                    selected = '0';\n                }else{\n                    selected = '15:00';\n                }\n            break\n            case 'dropoff_hour':\n                if('0' == '1'){\n                    \n                    selected = '0';\n                }else{\n                    selected = '11:00';\n                }\n            break\n        }\n\n        for (var i = 0; i < options.length; i++) {\n\n            var time = options[i];\n            var aux = options[i].split(':');\n        \n            if(aux[0].length == 1){\n                time = '0'+aux[0]+':'+aux[1];\n            }\n\n            if(time == selected){\n                way2rentals.jQuery('#'+field).append('<option selected value=\"'+time+'\">'+time+'<\/option>');\n            } else {\n                way2rentals.jQuery('#'+field).append('<option value=\"'+time+'\">'+time+'<\/option>');\n            }\n        }\n\n    }\n<\/script>HAVE QUESTIONS? TALK WITH US&#8230;+351 292 623 370<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-174","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bookings - Picoway Rent a Car<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picoway.pt\/en\/bookings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bookings - Picoway Rent a Car\" \/>\n<meta property=\"og:description\" content=\"BOOKINGSHAVE QUESTIONS? TALK WITH US...+351 292 623 370\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picoway.pt\/en\/bookings\/\" \/>\n<meta property=\"og:site_name\" content=\"Picoway Rent a Car\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inforentacartropical\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-18T12:41:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/picoway.pt\/en\/bookings\/\",\"url\":\"https:\/\/picoway.pt\/en\/bookings\/\",\"name\":\"Bookings - Picoway Rent a Car\",\"isPartOf\":{\"@id\":\"https:\/\/picoway.pt\/en\/#website\"},\"datePublished\":\"2020-05-19T14:14:50+00:00\",\"dateModified\":\"2024-06-18T12:41:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/picoway.pt\/en\/bookings\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/picoway.pt\/en\/bookings\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/picoway.pt\/en\/bookings\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/picoway.pt\/en\/home\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bookings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/picoway.pt\/en\/#website\",\"url\":\"https:\/\/picoway.pt\/en\/\",\"name\":\"Picoway Rent a Car\",\"description\":\"Aluguer de Autom\u00f3veis - A\u00e7ores\",\"publisher\":{\"@id\":\"https:\/\/picoway.pt\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/picoway.pt\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/picoway.pt\/en\/#organization\",\"name\":\"Picoway Rent a Car\",\"url\":\"https:\/\/picoway.pt\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/picoway.pt\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/logo.png\",\"contentUrl\":\"https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/logo.png\",\"width\":203,\"height\":64,\"caption\":\"Picoway Rent a Car\"},\"image\":{\"@id\":\"https:\/\/picoway.pt\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inforentacartropical\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bookings - Picoway Rent a Car","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/picoway.pt\/en\/bookings\/","og_locale":"en_US","og_type":"article","og_title":"Bookings - Picoway Rent a Car","og_description":"BOOKINGSHAVE QUESTIONS? TALK WITH US...+351 292 623 370","og_url":"https:\/\/picoway.pt\/en\/bookings\/","og_site_name":"Picoway Rent a Car","article_publisher":"https:\/\/www.facebook.com\/inforentacartropical\/","article_modified_time":"2024-06-18T12:41:32+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/picoway.pt\/en\/bookings\/","url":"https:\/\/picoway.pt\/en\/bookings\/","name":"Bookings - Picoway Rent a Car","isPartOf":{"@id":"https:\/\/picoway.pt\/en\/#website"},"datePublished":"2020-05-19T14:14:50+00:00","dateModified":"2024-06-18T12:41:32+00:00","breadcrumb":{"@id":"https:\/\/picoway.pt\/en\/bookings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picoway.pt\/en\/bookings\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/picoway.pt\/en\/bookings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/picoway.pt\/en\/home\/"},{"@type":"ListItem","position":2,"name":"Bookings"}]},{"@type":"WebSite","@id":"https:\/\/picoway.pt\/en\/#website","url":"https:\/\/picoway.pt\/en\/","name":"Picoway Rent a Car","description":"Aluguer de Autom\u00f3veis - A\u00e7ores","publisher":{"@id":"https:\/\/picoway.pt\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picoway.pt\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/picoway.pt\/en\/#organization","name":"Picoway Rent a Car","url":"https:\/\/picoway.pt\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/picoway.pt\/en\/#\/schema\/logo\/image\/","url":"https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/logo.png","contentUrl":"https:\/\/picoway.pt\/wp-content\/uploads\/2024\/03\/logo.png","width":203,"height":64,"caption":"Picoway Rent a Car"},"image":{"@id":"https:\/\/picoway.pt\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inforentacartropical\/"]}]}},"_links":{"self":[{"href":"https:\/\/picoway.pt\/en\/wp-json\/wp\/v2\/pages\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picoway.pt\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/picoway.pt\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/picoway.pt\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/picoway.pt\/en\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":19,"href":"https:\/\/picoway.pt\/en\/wp-json\/wp\/v2\/pages\/174\/revisions"}],"predecessor-version":[{"id":703,"href":"https:\/\/picoway.pt\/en\/wp-json\/wp\/v2\/pages\/174\/revisions\/703"}],"wp:attachment":[{"href":"https:\/\/picoway.pt\/en\/wp-json\/wp\/v2\/media?parent=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}