Actualizar frontend/src/pages/Retiros.jsx
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user