From 39c976e6d5659fa3250a063588605578d25c78d5 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Mon, 19 Aug 2024 10:38:22 -0600 Subject: [PATCH] Unidad --- export/supervisor_excel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/export/supervisor_excel.php b/export/supervisor_excel.php index 2e90384..d490512 100644 --- a/export/supervisor_excel.php +++ b/export/supervisor_excel.php @@ -44,7 +44,7 @@ $data_excel = array( "GRUPO" => 'horario_grupo', "HORARIO" => 'horario_hora_completa', "SALÓN" => 'salon', - "UNIDAD" => 'salon_array' + "UNIDAD" => 'salon_array', "REGISTRO PROFESOR" => 'asistencia', "HORA DE REGISTRO" => 'registro_fecha', "NOMBRE SUPERVISOR" => 'usuario_nombre', @@ -138,7 +138,7 @@ function getFormattedValue($key, $registro) 'nombre' => $registro[$key] ?? "Sin registro", 'horario_hora_completa' => "{$registro['horario_hora']} - {$registro['horario_fin']}", 'usuario_nombre', - 'salon_array' => implode(", ", json_decode($registro[$key], true)); + 'salon_array' => implode(", ", json_decode($registro[$key], true)), 'justificacion', 'comentario' => $registro[$key] ?? "Sin registro", default => $registro[$key]