-
Gustavo Baz Prada
+
+
Gustavo Baz Prada
-
-
- Selecciona un año:
-
- setSelectedYear(e.target.value)}
- >
-
- {(years || []).map((y, i) => (
-
- ))}
-
-
-
-
+
+
+ Selecciona un año:
+
+ setSelectedYear(e.target.value)}
+ >
+
+ {(years || []).map((y, i) => (
+
+ ))}
+
+
+
+
-
-
-
+
+
+
);
}
diff --git a/src/components/administrador/reporte.tsx b/src/components/administrador/reporte.tsx
index a2c2fa4..9c51368 100644
--- a/src/components/administrador/reporte.tsx
+++ b/src/components/administrador/reporte.tsx
@@ -1,9 +1,10 @@
"use client";
import { useState } from "react";
import { axiosInstance } from "@/api/config";
-import { Button, Col, FormGroup, FormLabel, InputGroup } from "react-bootstrap";
+import { Button, Col, FormGroup, FormLabel, InputGroup, Row } from "react-bootstrap";
import DatePicker from "react-datepicker";
import moment from "moment";
+import { FaCalendarAlt, FaRegCalendarAlt } from "react-icons/fa";
//import { saveAs } from "file-saver";
interface Props {
@@ -55,42 +56,54 @@ 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"
- />
-
-
-
+
+
Descargar reporte
-
-
- Seleccione una fecha de fin:
-
-
- setSelectedFin(date)}
- minDate={minDate}
- maxDate={maxDate}
- placeholderText="Seleccione una fecha de fin"
- dateFormat="yyyy-MM-dd"
- className="form-control"
- />
-
+
+
+
+ Seleccione una fecha de inicio:
+
+
+
+
+ setSelectedInicio(date)}
+ minDate={minDate}
+ maxDate={maxDate}
+ placeholderText="Seleccione una fecha de inicio"
+ dateFormat="dd-MM-yyyy"
+ className="form-control"
+ wrapperClassName="flex-grow-1"
+ calendarClassName="mi-calendario"
+ />
+
+
+
+
+ Seleccione una fecha de fin:
+
+
+
+
+ setSelectedFin(date)}
+ minDate={minDate}
+ maxDate={maxDate}
+ placeholderText="Seleccione una fecha de fin"
+ dateFormat="yyyy-MM-dd"
+ className="form-control"
+ wrapperClassName="flex-grow-1"
+ calendarClassName="mi-calendario"
+ />
+
+
+
+
{/*
*/}
-
-