Eliminar el límite máximo de fecha hasta el CURRENT_DATE.
Some checks are pending
Deploy Pruebas / deploy (push) Waiting to run

This commit is contained in:
Your Name
2024-10-11 11:15:19 -06:00
parent bce548b7f1
commit 041ae7a950

View File

@@ -48,8 +48,8 @@ const store = reactive({
$(function () { $(function () {
store.filters.fecha_inicio = store.filters.fecha_fin = store.filters.fecha = null; store.filters.fecha_inicio = store.filters.fecha_fin = store.filters.fecha = null;
$("#fecha, #fecha_inicio, #fecha_fin").datepicker({ $("#fecha, #fecha_inicio, #fecha_fin").datepicker({
minDate: new Date(`${periodo_data.periodo_fecha_inicio}:00:00:00`), // minDate: new Date(`${periodo_data.periodo_fecha_inicio}:00:00:00`),
maxDate: new Date(`${periodo_data.fecha_final}:00:00:00`), maxDate: new Date(),
dateFormat: "yy-mm-dd", dateFormat: "yy-mm-dd",
showAnim: "slide", showAnim: "slide",
beforeShowDay: (date) => [(date.getDay() != 0), ""] beforeShowDay: (date) => [(date.getDay() != 0), ""]