plantilla

This commit is contained in:
evenegas
2025-10-02 10:48:26 -06:00
parent 2a7a10ad9b
commit 55a96d16f6
+6 -1
View File
@@ -133,9 +133,14 @@ export class CuestionarioService {
?.filter(qRow => qRow.getCell(2).value === row.getCell(1).value) || [];
for (const qRow of cuestionarios) {
const plantilla = qRow.getCell(9).value ? Number(qRow.getCell(9).value) : null;
console.log("Valor de la plantilla: ", plantilla);
if (plantilla !== null && plantilla !== undefined) {
console.log("Tipo de la plantilla: ", PLANTILLA_MAP[plantilla]);
}
if (plantilla && PLANTILLA_MAP[plantilla]) {
const fecha_inicio = new Date(qRow.getCell(4).value as string);
const fecha_fin = new Date(qRow.getCell(5).value as string);