Eliminar el límite máximo de fecha hasta el CURRENT_DATE.
Some checks are pending
Deploy Pruebas / deploy (push) Waiting to run
Some checks are pending
Deploy Pruebas / deploy (push) Waiting to run
This commit is contained in:
@@ -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), ""]
|
||||||
|
|||||||
Reference in New Issue
Block a user