diff --git a/app/resources/views/ventas/reservations/modal/add.blade.php b/app/resources/views/ventas/reservations/modal/add.blade.php index c36d383..4c7fcf2 100644 --- a/app/resources/views/ventas/reservations/modal/add.blade.php +++ b/app/resources/views/ventas/reservations/modal/add.blade.php @@ -719,7 +719,7 @@ return false }) const cdo = structuredClone(calendar_date_options) - cdo['startDate'] = new Date() + cdo['initialDate'] = new Date() cdo['maxDate'] = new Date() this.components.$date.calendar(cdo) const rutInput = this.components.rut.querySelector('input') @@ -741,7 +741,7 @@ }) }) const cdo2 = structuredClone(cdo) - cdo2['startDate'].setFullYear(cdo2['startDate'].getFullYear() - 18) + cdo2['initialDate'].setFullYear(cdo2['initialDate'].getFullYear() - 18) cdo2['maxDate'].setFullYear(cdo2['maxDate'].getFullYear() - 18) this.components.$birthdate.calendar(cdo2) this.components.$region.dropdown({