From 1bea1f567700938e4e58a4b5996c68eaa6e4da73 Mon Sep 17 00:00:00 2001 From: santiago Date: Tue, 23 Sep 2025 23:32:07 +0200 Subject: [PATCH] Se agregaron nuevas caracteristicas --- src/components/administrador/reporte.tsx | 42 ++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/src/components/administrador/reporte.tsx b/src/components/administrador/reporte.tsx index 55187bd..3b9d881 100644 --- a/src/components/administrador/reporte.tsx +++ b/src/components/administrador/reporte.tsx @@ -57,6 +57,40 @@ export default function Reporte({ admin }: Props) { return (

Descargar reporte

+ + + Seleccione una fecha de inicio: + + setSelectedInicio(date)} + minDate={minDate} + maxDate={maxDate} + placeholderText="Seleccione una fecha de inicio" + dateFormat="dd-MM-yyyy" + className="form-control" + /> + + + + + + + Seleccione una fecha de fin: + + setSelectedFin(date)} + minDate={minDate} + maxDate={maxDate} + placeholderText="Seleccione una fecha de fin" + dateFormat="yyyy-MM-dd" + className="form-control" + /> + + + + {/* @@ -66,7 +100,12 @@ export default function Reporte({ admin }: Props) { className="w-[280px] rounded-md border border-gray-300 p-2 text-sm focus:border-blue-500 focus:ring focus:ring-blue-200" />

fecha seleccionada:

- {/* + + + +

fecha seleccionada:

+ + Seleccione una fecha de inicio: @@ -102,7 +141,6 @@ export default function Reporte({ admin }: Props) { */} -