Categorías
Alquiler de Lanchas
Alquiler de Yates
Alquiler de catamarán
Alquiler de Veleros
Alquiler de Barco Sin Licencia
Alquiler de Neumática
Alquiler Motos de Agua
Alquiler de Goleta
Excursiones
Ciudades
Ibiza
San Antonio
Formentera
Santa Eulalia
San Miguel
Agregar barco
Blog
Contacto
Español
Iniciar sesión
Iniciar sesión
¿Necesito una cuenta? ¡Registrar aquí!
¿Se te olvidó tu contraseña?
Iniciar con Facebook
Iniciar con Google
Registro
Solo quiero reservar
Quiero alquilar mi barco
estoy de acuerdo con
Términos y condiciones
Registro
Atrás para iniciar sesión
Iniciar con Facebook
Iniciar con Google
Restablecer la contraseña
Restablecer la contraseña
Volver al inicio de sesión
0
Iniciar sesión
Registrate
Publica tu barco
Total:
0
€
Ver Carrito
Pagar
Categorías
Alquiler de Lanchas
Alquiler de Yates
Alquiler de catamarán
Alquiler de Veleros
Alquiler de Barco Sin Licencia
Alquiler de Neumática
Alquiler Motos de Agua
Alquiler de Goleta
Excursiones
Ciudades
Ibiza
San Antonio
Formentera
Santa Eulalia
San Miguel
Agregar barco
Blog
Contacto
Español
Casa
Panel de cliente
Panel de cliente
22 de junio de 2022 por Ignacio.Moya
[ameliacustomerpanel]
×
Acceder a tu cuenta
Iniciar sesión
¿No tienes una cuenta?
|
Se te olvidó tu contraseña
Iniciar con Facebook
Iniciar con Google
Crear Cuenta
Solo quiero reservar
Quiero alquilar mi propiedad
estoy de acuerdo con
Términos y condiciones
Crear Cuenta
Iniciar con Facebook
Iniciar con Google
¿Ya eres usuario? ¡Registrarse!
Iniciar con Facebook
Iniciar con Google
Se te olvidó tu contraseña
Restablecer la contraseña
Volver al inicio de sesión
" const endIndex=word.indexOf(string)+string.length;const htmlText=word.substring(endIndex);document.querySelectorAll('.show_cost_form').forEach((element)=>element.remove()) document.querySelectorAll('.cost_row_instant ').forEach((element)=>element.remove()) document.querySelector('.full_form').insertAdjacentHTML('beforebegin',htmlText)}).catch(error=>{console.error(error)})} let dateActiveCount=0;const enterDateToInput=(date)=>{const start_date=document.querySelector('#start_date') const end_date=document.querySelector('#end_date') const activeDates=document.querySelectorAll('.activeTD') let dates=[] activeDates.forEach((element)=>{const monthTitle=element.parentElement.parentElement.parentElement.parentElement.querySelector(".month-title");const title=monthTitle.textContent.split(" ");const day=element.childNodes[0].nodeValue;const year=title[2];const month=title[1];const lang=document.querySelector(".wpml-ls-native").getAttribute("lang");const monthNumber=getMonthNumber(month,lang) const formattedDate=`${day}-${monthNumber}-${year}`;dates.push(formattedDate)}) if(!dates)return if(dates.length===1){start_date.value=dates[0] end_date.value=dates[0] appendChildHtml();return} const dateObjects=dates.map((date)=>{const parts=date.split('-');return new Date(parts[2],parts[1]-1,parts[0])});dateObjects.sort((a,b)=>a-b);const sortedDates=dateObjects.map((date)=>{const day=date.getDate();const month=date.getMonth()+1;let year=date.getFullYear();return('0'+day).slice(-2)+'-'+('0'+month).slice(-2)+'-'+year});start_date.value=sortedDates[0] end_date.value=sortedDates[1] appendChildHtml()} const changePriceForBookingToday=()=>{let currentPrice=document.querySelector('.listing_main_image_price');let todayPrice=document.querySelector('.calendar-today .wprentals_front_calendar_price');if(currentPrice&&todayPrice){currentPrice=currentPrice.firstChild;currentPrice.textContent=todayPrice.textContent}} const eventToCalender=()=>{const calenders=document.querySelectorAll(".booking-calendar-wrapper");if(calenders){calenders.forEach((element)=>{const calender=element.querySelector(".wp-calendar");const calenderDays=calender.querySelectorAll("tbody tr td");calenderDays.forEach((td)=>{td.addEventListener("click",(e)=>{console.log('click') if(e.target.classList.contains("pad")||e.target.classList.contains("has_past")){return} if(e.target.classList.contains("activeTD")){e.target.classList.remove("activeTD");e.target.style.background="#EDF6F6";e.target.style.color="#333";e.target.childNodes[1].style.color="#333333" dateActiveCount--;return} if(dateActiveCount===2)return;const monthTitle=e.target.parentElement.parentElement.parentElement.parentElement.querySelector(".month-title");const title=monthTitle.textContent.split(" ");const day=e.target.childNodes[0].nodeValue;if(isNaN(day))return dateActiveCount++;const year=title[2];const month=title[1];const lang=document.querySelector(".wpml-ls-native").getAttribute("lang");const monthNumber=getMonthNumber(month,lang) const formattedDate=('0'+day).slice(-2)+'-'+('0'+month).slice(-2)+'-'+year;e.target.classList.add("activeTD");e.target.style.background="#030847" e.target.style.color="#ffffff" e.target.childNodes[1].style.color="#ffffff" enterDateToInput(formattedDate)})})})}} const checkPageLoaded=()=>{if(document.readyState==="interactive"){clearInterval(interval);changePriceForBookingToday();clearNumberCity();eventToCalender();checkInputPatron();checkDefaultInstanBooking();if(document.querySelector(".advanced_search_submit_button ")){document.querySelector(".advanced_search_submit_button ").style.display="block"}}} let interval=setInterval(checkPageLoaded,400)