Cambiar rango rápido por defecto a 'hoy' en informe de ingresos
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 49s

Se modifica el preset por defecto de 'cosecha-25-26' a 'hoy' para que
los usuarios vean los datos del día actual al acceder a la página.
This commit is contained in:
2025-10-31 11:42:11 -06:00
parent e8b95f8e07
commit d4c289c6bd

View File

@@ -712,7 +712,7 @@ type PresetValue =
| 'cosecha-20-21' | 'cosecha-21-22' | 'cosecha-22-23'
| 'cosecha-23-24' | 'cosecha-24-25' | 'cosecha-25-26'
const selectedPreset = ref<PresetValue>('cosecha-25-26')
const selectedPreset = ref<PresetValue>('hoy')
const fechaDesde = ref<string | null>(null)
const fechaHasta = ref<string | null>(null)
@@ -1010,8 +1010,8 @@ async function copiarSerieTemporalJSON() {
// Inicializar preset por defecto sin cargar datos
onMounted(async () => {
// Default preset: cosecha 25-26
selectedPreset.value = 'cosecha-25-26'
// Default preset: hoy
selectedPreset.value = 'hoy'
// Cargar opciones de filtros disponibles
await loadOpcionesFiltros()