modified creadores

This commit is contained in:
2026-02-13 16:10:05 -06:00
parent 5af0385352
commit 812c8fbbe1
9 changed files with 1119 additions and 57 deletions
+10 -1
View File
@@ -24,6 +24,14 @@ function PorRecibos({ desde, hasta }: Props) {
const [recibos, setRecibos] = useState<Recibo[]>([]);
const [loading, setLoading] = useState(false);
const columns = [
{ header: "Folio", key: "folio", width: 15 },
{ header: "Monto", key: "monto", width: 15 },
{ header: "Fecha Recibo", key: "fechaRecibo", width: 18 },
{ header: "Fecha Registro", key: "fechaRegistro", width: 22 },
{ header: "Usuario", key: "usuario", width: 20 },
];
useEffect(() => {
if (!desde || !hasta) return;
@@ -61,7 +69,8 @@ function PorRecibos({ desde, hasta }: Props) {
return (
<div style={{ position: "relative" }}>
{recibos.length > 0 && <DownloadReporteXLSX />}
{recibos.length > 0 && <DownloadReporteXLSX data={recibos} columns={columns} />}
<div
style={{
overflow: "auto",
-1
View File
@@ -44,7 +44,6 @@ function PorServicio({ desde, hasta }: Props) {
return (
<div style={{ position: "relative" }}>
{servicios.length > 0 && <DownloadReporteXLSX />}
<div
style={{