plantilla
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user