plantilla

This commit is contained in:
evenegas
2025-10-02 11:08:51 -06:00
parent 3cccee58f6
commit 2ea0119b87
+3 -1
View File
@@ -142,10 +142,12 @@ export class CuestionarioService {
console.log("Tipo de la plantilla: ", PLANTILLA_MAP[plantilla]);
}
if (plantilla && PLANTILLA_MAP[plantilla]) {
console.log("fecha fin desde ecxel: ",qRow.getCell(4).value as string);
const fecha_inicio = new Date(qRow.getCell(4).value as string);
console.log("Fecha de inicio: ", fecha_inicio);
const fecha_fin = new Date(qRow.getCell(5).value as string);
console.log("Fecha de inicio: ", fecha_fin);
console.log("Fecha de fin: ", fecha_fin);
const id_tipo_evento= Number(qRow.getCell(8).value);
const plantillaId = PLANTILLA_MAP[plantilla];
const base = PLANTILLAS.find(p => p.id === plantillaId);