From 11ebbd6986f4266193c1e4d18f261ff3f4b496db Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 5 Oct 2026 13:06:28 -0500 Subject: [PATCH] Actualizar frontend/src/pages/Retiros.jsx --- frontend/src/pages/Retiros.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Retiros.jsx b/frontend/src/pages/Retiros.jsx index 4c11db0..8be73ed 100644 --- a/frontend/src/pages/Retiros.jsx +++ b/frontend/src/pages/Retiros.jsx @@ -261,7 +261,7 @@ export default function Retiros() { ws["!cols"] = COLS_EXP.map((c) => ({ wch: Math.max(10, Math.round(c.w/7)) })); const wb = XLSX.utils.book_new(); XLSX.utils.book_append_sheet(wb, ws, "Retiros"); - const suf = `${MESES[mes-1]}_${ano}` + (sede!=="TODOS"?`_${sede}`:"") + (sectorista!=="TODOS"?`_${sectorista}`:""); + const suf = `${MESES[mes-1]}_${ano}` + (sedesSel.length?`_${sedesSel.join("-")}`:"") + (sectoristasSel.length?`_${sectoristasSel.join("-")}`:""); XLSX.writeFile(wb, `retiros_${suf}.xlsx`); } finally { setExportando(false);