plantilla

This commit is contained in:
evenegas
2025-10-02 10:31:42 -06:00
parent 663be0c7c6
commit 2a7a10ad9b
+4 -2
View File
@@ -134,7 +134,7 @@ export class CuestionarioService {
for (const qRow of cuestionarios) {
const plantilla = qRow.getCell(9).value ? Number(row.getCell(9).value) : null;
const plantilla = qRow.getCell(9).value ? Number(qRow.getCell(9).value) : null;
if (plantilla && PLANTILLA_MAP[plantilla]) {
const fecha_inicio = new Date(qRow.getCell(4).value as string);
@@ -143,7 +143,9 @@ export class CuestionarioService {
const plantillaId = PLANTILLA_MAP[plantilla];
const base = PLANTILLAS.find(p => p.id === plantillaId);
if (!base) throw new Error(`Plantilla ${plantillaId} no encontrada`);
console.log("ID de la plantilla: ", plantillaId);
console.log("Base de la plantilla: ", base);
const createDto: CreateEventoWithCuestionarioDto = {
evento: eventoDto,
cuestionario: {